Appendix b instruction list, B-1 basic instructions – KEYENCE KV Series User Manual
Page 187

Appendices
2-163
1
Appendices
Appendix B
Instruction List
This appendix includes a list of instructions and an outline of their processes. For
details, refer to Chapter 2, "Instructions" on page 3-33.
B-1
Basic instructions
Instruction name
Mnemonic
Outline of process
Load
LD
Connects N.O. contact to bus.
Load Bar
LDB
Connects N.C. contact to bus.
Out
OUT
Outputs ON/OFF status of input to relay coil.
Out Bar
OUB
Outputs inverted ON/OFF status of input to relay coil.
And
AND
Connects N.O. contact in series.
And Bar
ANB
Connects N.C. contact in series.
Or
OR
Connects N.O. contact in parallel.
Or Bar
ORB
Connects N.C. contact in parallel.
And Load
ANL
Connects in series the blocks made of one or more
contacts.
Or Load
ORL
Connects in parallel the blocks made of one or more
contacts.
Set
SET
Turns ON specified relay forcibly, and enables it to
remain ON.
Reset
RES
Turns OFF specified relay forcibly.
Timer
TMR
Sets an on-delay timer that counts down in 0.1 s
increments.
High-Speed Timer
TMH
Sets an on-delay timer that counts down in 0.01 s
increments.
High-Speed 1-ms
TMS
Sets an on-delay timer that counts down in 0.001 s
Timer
increments.
Counter
C
Sets an up counter.
Up-Down Counter
UDC
Sets an up-down counter.
Differentiate Up
DIFU
Detects rising edge of input signal and turns ON
specified relay for first scan time only.
Differentiate Down
DIFD
Detects falling edge of input signal and turns ON
specified relay for first scan time only.
Keep
KEEP
Turns ON specified relay when SET input relay turns
ON, and enables this relay to remain ON. Turns OFF
specified relay when RESET input relay turns ON.
Shift
SFT
Sets a shift register.
High Speed
HSP
Shortens time constant of specified input relay to be
ready for high speed.
Master Control
MC
Selects ON/OFF status of relays, timers or counters
set before MCR instruction.
Master Control
MCR
Ends the execution of MC instruction.
Reset
Memory Switch
MEMSW
Sets memory switches.
No Operation
NOP
Performs no operation.
End
END
Indicates end of each routine in the program.
End Hi
ENDH
Indicates end of entire program.
KVSKA Appendix.P65
08.3.11, 11:26 AM
163