/
End Sequence Program
End Sequence Program
End Sequence Program: PEND
Instruction | Device address | No. of Steps | Flag | |||||||||||||||
M | X | Y | K | L | F | T | C | S | Z | D | @D | Int. | Error | Zero | Carry | |||
PEND | S | - | - | - | - | - | - | - | - | - | - | - | - | - | 1 | - | - | - |
Functions
PEND instruction marks the end of a program. Scanning ends here and goes back to 0 step.
While main sequence program and sub sequence program are running, it is impossible to use the PEND instruction. Instead, use the END instruction if needed to end the program while running.
In case of having main routine program, sub routine program, interrupt program, and sub sequence program all together, how to use the END instruction and the PEND instruction is shown in the below image.
, multiple selections available,
Related content
Sequence Program 종료 : PEND
Sequence Program 종료 : PEND
More like this
End Main Routine Program
End Main Routine Program
More like this
End Main Routine Program Conditionally
End Main Routine Program Conditionally
More like this
End Initialization Program and Execute Scan Program INITEND
End Initialization Program and Execute Scan Program INITEND
More like this
조건에 대한 Main Routine Program 종료 : CEND, CENDP
조건에 대한 Main Routine Program 종료 : CEND, CENDP
More like this