Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
922
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
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
658
OR<= FNC245
OR Compare
658
OR>= FNC246
OR Compare
658
CMP FNC 10 Compare 241
ZCP FNC 11 Zone Compare 243
ECMP FNC110 Floating Point Compare 485
EZCP FNC111
Floating Point Zone
Compare
486
HSCS FNC 53 High Speed Counter Set 347
HSCR FNC 54 High Speed Counter Reset 353
HSZ FNC 55
High Speed Counter Zone
Compare
356
HSCT FNC280
High Speed Counter
Compare With Data Table
703
BKCMP= FNC194
Block Data Compare
=
606
BKCMP> FNC195
Block Data Compare
>
606
BKCMP< FNC196
Block Data Compare
<
606
BKCMP<> FNC197
Block Data Compare
606
BKCMP<= FNC198
Block Data Compare
606
BKCMP>= FNC199
Block Data Compare
606
4. Arithmetic operation instructions
Mnemonic FNC No. Function
Ref.
Page
ADD FNC 20 Addition 267
SUB FNC 21 Subtraction 270
MUL FNC 22 Multiplication 273
DIV FNC 23 Division 276
EADD FNC120 Floating Point Addition 503
ESUB FNC121 Floating Point Subtraction 504
EMUL FNC122
Floating Point M
Multiplication
505
EDIV FNC123 Floating Point Division 506
BK+ FNC192 Block Data Addition 600
BK- FNC193 Block Data Subtraction 603
INC FNC 24 Increment 279
DEC FNC 25 Decrement 281
5. Logical operation instructions
Mnemonic FNC No. Function
Ref.
Page
WAND FNC 26 Logical Word AND 282
WOR FNC 27 Logical Word OR 284
WXOR FNC 28 Logical Exclusive OR 286
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 332
ESQR FNC127 Floating Point Square Root 513
EXP FNC124 Floating Point Exponent 507
LOGE FNC125
Floating Point
Natural Logarithm
509
LOG10 FNC126
Floating Point
Common Logarithm
511
SIN FNC130 Floating Point Sine 517
COS FNC131 Floating Point Cosine 518
TAN FNC132 Floating Point Tangent 519
ASIN FNC133 Floating Point Arc Sine 520
ACOS FNC134 Floating Point Arc Cosine 522
ATAN FNC135 Floating Point Arc Tangent 524
RND FNC184
Random Number
Generation
588
7. Rotation instructions
Mnemonic FNC No. Function
Ref.
Page
ROR
FNC 30 Rotation Right 291
ROL
FNC 31
Rotation Left 293
RCR
FNC 32 Rotation Right with Carry 295
RCL
FNC 33
Rotation Left with Carry 297
8. Shift instructions
Mnemonic FNC No. Function
Ref.
Page
SFTR FNC 34 Bit Shift Right 299
SFTL FNC 35 Bit Shift Left 301
SFR FNC213 Bit Shift Right with Carry 648
SFL FNC214 Bit Shift Left with Carry 650
WSFR FNC 36 Word Shift Right 304
WSFL FNC 37 Word Shift Left 306
SFWR FNC 38
Shift Write
[FIFO/FILO Control]
308
SFRD FNC 39 Shift Read [FIFO Control] 311
POP FNC212
Shift Last Data Read
[FILO Control]
645
9. Data operation instructions
Mnemonic FNC No. Function
Ref.
Page
ZRST FNC 40 Zone Reset 314
DECO FNC 41 Decode 317
ENCO FNC 42 Encode 320
MEAN FNC 45 Mean 327
WSUM FNC140 Sum of Word Data 530
SUM FNC 43 Sum of Active Bits 322
BON FNC 44 Check Specified Bit Status 325
NEG FNC 29 Negation 288
ENEG FNC128 Floating Point Negation 514
WTOB FNC141 WORD to BYTE 532
BTOW FNC142 BYTE to WORD 534
UNI FNC143 4-bit Linking of Word Data 536
DIS FNC144
4-bit Grouping of
Word Data
538