Appendix B: Instruction List
202
FX3S Series Programmable Controllers
User's Manual - Hardware Edition
Appendix B-3 Applied Instructions ... in Ascending Order of FNC Number
Appendix B-3 Applied Instructions ... in Ascending Order of FNC Number
FNC No. Mnemonic Function
Program Flow
00 CJ Conditional Jump
01 CALL Call Subroutine
02 SRET Subroutine Return
03 IRET Interrupt Return
04 EI Enable Interrupt
05 DI Disable Interrupt
06 FEND Main Routine Program End
07 WDT Watchdog Timer Refresh
08 FOR Start a FOR/NEXT Loop
09 NEXT End a FOR/NEXT Loop
Move and Compare
10 CMP Compare
11 ZCP Zone Compare
12 MOV Move
13 SMOV Shift Move
14 CML Complement
15 BMOV Block Move
16 FMOV Fill Move
17 -
18 BCD Conversion to Binary Coded Decimal
19 BIN Conversion to Binary
Arithmetic and Logical Operation
20 ADD Addition
21 SUB Subtraction
22 MUL Multiplication
23 DIV Division
24 INC Increment
25 DEC Decrement
26 WAND Logical Word AND
27 WOR Logical Word OR
28 WXOR Logical Exclusive OR
29 -
Rotation and Shift Operation
30 ROR Rotation Right
31 ROL Rotation Left
32 -
33 -
34 SFTR Bit Shift Right
35 SFTL Bit Shift Left
36 WSFR Word Shift Right
37 WSFL Word Shift Left
38 SFWR Shift Write [FIFO/FILO Control]
39 SFRD Shift Read [FIFO Control]
FNC No. Mnemonic Function
Data Operation
40 ZRST Zone Reset
41 DECO Decode
42 ENCO Encode
43 SUM Sum of Active Bits
44 BON Check Specified Bit Status
45 MEAN Mean
46 -
47 -
48 -
49 FLT Conversion to Floating Point
High Speed Processing
50 REF Refresh
51 -
52 MTR Input Matrix
53 HSCS High Speed Counter Set
54 HSCR High Speed Counter Reset
55 HSZ High Speed Counter Zone Compare
56 SPD Speed Detection
57 PLSY Pulse Y Output
58 PWM Pulse Width Modulation
59 PLSR Acceleration/Deceleration Setup
Handy Instruction
60 IST Initial State
61 SER Search a Data Stack
62 ABSD Absolute Drum Sequencer
63 INCD Incremental Drum Sequencer
64 -
65 -
66 ALT Alternate State
67 RAMP Ramp Variable Value
68 -
69 -
External FX I/O Device
70 -
71 -
72 DSW Digital Switch (Thumbwheel Input)
73 -
74 SEGL Seven Segment With Latch
75 -
76 -
77 -
78 -
79 -