Hello,
I need help with the AS program. It goes out of the main program loop during operation and can not be returned. I need to reset the power supply. There must be a step that causes the problem. Disappears asterisk at autostart on Techpendant. Program in the attachment.
Kawasaki program AS
-
bogmaz -
February 21, 2018 at 9:51 PM -
Thread is marked as Resolved.
-
-
I think it's in the following lines:
IF (nr_bledu==0) THEN
IFPWPRINT 1,1,1,4,10=$komunikat
ENDWhen IFPWPRINT is executed many times a second the panel may freeze. Try to update the text only if it changes:
IF (nr_bledu==0) THEN IF ($oldtext <> $komunikat) OR updatetext THEN $oldtext = $komunikat updatetext = FALSE IFPWPRINT 1,1,1,4,10=$komunikat END ELSE updatetext = TRUE END
-
Any other specific details you can add like a full file save, error logs etc.
QuoteIt goes out of the main program loop during operation and can not be returned
1. Does it produce any errors, or is the screen freezing/non responsive Teach Pendant as Kawaguy has mentioned (nice tip... )
2. Is it always at the same point of the process - ie what is the called program/step no.
3. Do you have any dedicated signals set to abort the autostart program.