Nop: no operation, End: endendh: end hi – KEYENCE Visual KV Series User Manual
Page 118

2.4 Instruction Details
3-94
2
Chapter 2 Instructions
NOP: No Operation
Performs no operation.
END: End
ENDH: End Hi
Indicates end of each routine of program.
Indicates end of entire program.
Normal program
RES
0
ORL
3
FUN
END
DM
ENDH
TM
END
ENDH
END
ENDH
ENDH
END
Subroutine program
Interrupt program
Normal program
END
DM
ENDH
TM
ENT
R-SRCH
ENT
R-SRCH
:
:
:
NOP
END / ENDH
When ALL CLEAR [FNC60] or HANDHELD PROGRAMMER CLEAR (P3E CLEAR)
[FNC61] is executed to delete the program, NOP appears on all lines of the deleted
program.
NOP is not written by the KV IncrediWare (DOS)/LADDER BUILDER for KV pro-
gramming support software.
Description
•
END and ENDH instructions must be used at the end of a program.
•
A subroutine or interrupt program can be written between END and ENDH.
•
When not using either subroutine or interrupt programs, write ENDH immediately
after END.
Note: When a program does not have END or ENDH, "ENTER END", "ENTER
ENDH" or "LOGIC ERROR" occurs when the program is converted or transferred.
Operands
Key operation
KVNKA Chap 02_4aP.p65
08.3.11, 11:58 AM
94