11
Instructions Lookup Sheet
Instructions Lookup Sheet 2
Note: Instructions in gray background in the table only support
H3U-PM motion control models.
1 Program Logic Instructions
Type
Model Supported
Page
H2U-XP H3U
Contact Instructions
LD Loading of NO contacts √ √ 50
LDI Loading of NC contacts √ √ 50
AND Serial connection of NO
contacts
√ √ 50
ANI Serial connection of NC
contacts
√ √ 50
OR Parallel connection of NO
contacts
√ √ 50
ORI Parallel connection of NC
contacts
√ √ 50
LDP Use of rising edge pulse √ √ 50
LDF Use of falling edge pulse √ √ 50
ANDP Serial connection for AND rising
edge pulse detection
√ √ 50
ANDF Serial connection for AND
falling edge pulse (F) detection
√ √ 50
ORP Parallel connection for OR
rising edge pulse detection
√ √ 50
ORF Parallel connection for OR
falling edge pulse (F) detection
√ √ 50
INV Operation result inversion √ √ 50
BLD Bit contact of bit data √ √ 52
BLDI Inverse bit contact of bit data √ √ 53
BAND AND bit contact of bit data √ √ 54
BANI ANI bit contact of bit data √ √ 55
BOR OR bit contact of bit data √ √ 56
BORI ORI bit contact of bit data √ √ 57
Combined instructions
ANB Serial connection of circuit
blocks
√ √ 58
ORB Parallel connection of circuit
blocks
√ √ 58
MPS Stack-based storage √ √ 57
MRD Stack read (current pointer
unchanged)
√ √ 57
MPP Stack read √ √ 57
MEP Current edge control,
generation of pulsed operation
results
× √ 58
MEF
Output instructions
OUT Coil drive √ √ 61
SET SET action storage coil
instruction
√ √ 61
RST Contact or cache clearance √ √ 61
PLS Rising edge pulse detection coil
instruction
√ √ 61
PLF Falling edge pulse (F) detection
coil instruction
√ √ 61
ALT Alternate output √ √ 62
BOUT Bit data output √ √ 63
BSET Bit data setting √ √ 64
BRST Bit data reset √ √ 65
Main control instructions
MC Coil instruction for serial
contacts used by the main
control
√ √ 66
MCR Release instruction for serial
contacts used by main control
reset
√ √ 66
End instructions
FEND End of the main program √ √ 67
END End of all programs √ √ 68
Other processing instructions
NOP No action √ √ 68
WDT Watchdog timer reset √ √ 69
2 Program Flow Instructions
Type
Model Supported
Page
H2U-XP H3U
Subprogram
CALL Call subprogram √ √ 70
SRET Subprogram return √ √ 71
SSRET Conditional subprogram return × √ 72
IRET Interrupt return √ √ 72
Interrupt
EI Enable interrupt √ √ 73
DI Disable interrupt √ √ 73
Jump
CJ Conditional jump √ √ 76
LBL Marker instruction √ √ 77
CJEND
Conditional jump to the program
end
√ √ 78
Loop
FOR Start of a loop √ √ 78
NEXT End of a loop √ √ 79
Step-by-step sequential control
STL
Program jump to the secondary
bus
√ √
80
RET
Program return to the primary
bus
√ √
80
3 Data Comparison
Type
Model Supported
Page
H2U-XP H3U
Contact comparison
LD=
LD contact comparison equal to √ √ 84
LD>
LD contact comparison larger
than
√ √ 84
LD<
LD contact comparison smaller
than
√ √ 84
LD<>
LD contact comparison not
equal to
√ √ 84