928
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
C Applied Instruction List [by Instruction Type/in Alphabetic Order]
C-1 Applied instructions [by instruction type]
OR<> FNC244
OR Compare
≠
652
OR<= FNC245
OR Compare
≤
652
OR>= FNC246
OR Compare
≥
652
CMP FNC 10 Compare 239
ZCP FNC 11 Zone Compare 241
ECMP FNC110 Floating Point Compare 480
EZCP FNC111
Floating Point Zone
Compare
481
HSCS FNC 53 High-Speed Counter Set 343
HSCR FNC 54 High-Speed Counter Reset 349
HSZ FNC 55
High-Speed Counter Zone
Compare
352
HSCT FNC280
High-Speed Counter
Compare With Data Table
699
BKCMP= FNC194
Block Data Compare
=
601
BKCMP> FNC195
Block Data Compare
>
601
BKCMP< FNC196
Block Data Compare
<
601
BKCMP<> FNC197
Block Data Compare
≠
601
BKCMP<= FNC198
Block Data Compare
≤
601
BKCMP>= FNC199
Block Data Compare
≥
601
4. Arithmetic operation instructions
Mnemonic FNC No. Function
Ref.
Page
ADD FNC 20 Addition 265
SUB FNC 21 Subtraction 267
MUL FNC 22 Multiplication 269
DIV FNC 23 Division 272
EADD FNC120 Floating Point Addition 498
ESUB FNC121 Floating Point Subtraction 499
EMUL FNC122
Floating Point
Multiplication
500
EDIV FNC123 Floating Point Division 501
BK+ FNC192 Block Data Addition 595
BK- FNC193 Block Data Subtraction 598
INC FNC 24 Increment 275
DEC FNC 25 Decrement 277
5. Logical operation instructions
Mnemonic FNC No. Function
Ref.
Page
WAND FNC 26 Logical Word AND 278
WOR FNC 27 Logical Word OR 280
WXOR FNC 28 Logical Exclusive OR 282
3. Comparison instructions
Mnemonic FNC No. Function
Ref.
Page
S
1
S
2
S
1
S
2
S
1
S
2
S
1
S
2
S
1
S
2
S
1
S
2
S
1
S
2
S
1
S
2
S
1
S
2
6. Special function instructions
Mnemonic FNC No. Function
Ref.
Page
SQR FNC 48 Square Root 328
ESQR FNC127 Floating Point Square Root 508
EXP FNC124 Floating Point Exponent 502
LOGE FNC125
Floating Point
Natural Logarithm
504
LOG10 FNC126
Floating Point
Common Logarithm
506
SIN FNC130 Floating Point Sine 512
COS FNC131 Floating Point Cosine 513
TAN FNC132 Floating Point Tangent 514
ASIN FNC133 Floating Point Arc Sine 515
ACOS FNC134 Floating Point Arc Cosine 517
ATAN FNC135 Floating Point Arc Tangent 519
RND FNC184
Random Number
Generation
583
7. Rotation instructions
Mnemonic FNC No. Function
Ref.
Page
ROR FNC 30 Rotation Right 287
ROL
FNC 31
Rotation Left 289
RCR FNC 32 Rotation Right with Carry 291
RCL
FNC 33
Rotation Left with Carry 293
8. Shift instructions
Mnemonic FNC No. Function
Ref.
Page
SFTR FNC 34 Bit Shift Right 295
SFTL FNC 35 Bit Shift Left 297
SFR FNC213 Bit Shift Right with Carry 642
SFL FNC214 Bit Shift Left with Carry 644
WSFR FNC 36 Word Shift Right 300
WSFL FNC 37 Word Shift Left 302
SFWR FNC 38
Shift Write
[FIFO/FILO Control]
304
SFRD FNC 39 Shift Read [FIFO Control] 307
POP FNC212
Shift Last Data Read
[FILO Control]
639
9. Data operation instructions
Mnemonic FNC No. Function
Ref.
Page
ZRST FNC 40 Zone Reset 310
DECO FNC 41 Decode 313
ENCO FNC 42 Encode 316
MEAN FNC 45 Mean 323
WSUM FNC140 Sum of Word Data 525
SUM FNC 43 Sum of Active Bits 318
BON FNC 44 Check Specified Bit Status 321
NEG FNC 29 Negation 284
ENEG FNC128 Floating Point Negation 509
WTOB FNC141 WORD to BYTE 527
BTOW FNC142 BYTE to WORD 529
UNI FNC143 4-bit Linking of Word Data 531
DIS FNC144
4-bit Grouping of
Word Data
533