67
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
3 Instruction List
3.2 Step Ladder Instructions
1
Introduction
2
Overview
3
Instruction
List
4
Devices
in Detail
5
Specified the
Device &
Constant
6
Before
Programming
7
Basic
Instruction
8
FNC00-FNC09
Program Flow
9
FNC10-FNC19
Move & Compare
10
FNC20-FNC29
Arith. & Logic
Operation
3.2 Step Ladder Instructions
3.3 Applied Instructions ... in Ascending Order of FNC Number
Applied instructions such as Arithmetic operation, Rotation and Shift, Handy instructions etc. are used especially when
numeric data is handled.
Mnemonic
Name Symbol Function Applicable devices Reference
STL Step Ladder Starts step ladder S Chapter 35
RET Return Completes step ladder – Chapter 35
*1: The instruction is provided in the FX
2N
/FX
2NC
Series Ver. 3.00 or later. *6: The instruction is provided in the FX
3G
Series Ver. 1.10 or later.
*2: The function is changed in the FX
3UC
Series Ver. 1.30 or later. *7: The instruction is provided in the FX
3U
/FX
3UC
Series Ver. 2.61 or later.
*3: The instruction is provided in the FX
3UC
Series Ver. 1.30 or later. *8: The instruction is provided in the FX
3U
/FX
3UC
Series Ver. 2.70 or later.
*4: The function is changed in the FX
3UC
Series Ver. 2.20 or later. *9: The instruction is provided in the FX
3G
Series Ver. 1.40 or later.
*5: The instruction is provided in the FX
3UC
Series Ver. 2.20 or later.
FNC No. Mnemonic Symbol Function
FX3G
FX3GC
FX3U
FX3UC
Applicable PLC
Reference
FX1S
FX1N
FX2N
FX1NC
FX2NC
Program Flow
00 CJ Conditional Jump 333333333Section 8.1
01 CALL Call Subroutine 333333333Section 8.2
02 SRET Subroutine Return 333333333Section 8.3
03 IRET Interrupt Return 333333333Section 8.4
04 EI Enable Interrupt 333333333Section 8.5
05 DI Disable Interrupt 333333333Section 8.6
06 FEND Main Routine Program End 333333333Section 8.7
07 WDT Watchdog Timer Refresh 333333333Section 8.8
08 FOR Start a FOR/NEXT Loop 333333333Section 8.9
09 NEXT End a FOR/NEXT Loop 333333333
Section
8.10
Move and Compare
10 CMP Compare 333333333Section 9.1
11 ZCP Zone Compare 333333333Section 9.2
STL Applicable devices
RET
PnCJ
PnCALL
SRET
IRET
EI
DI
FEND
WDT
FOR S
NEXT
CMP S1 S2 D
ZCP S2 S DS1