Mitsubishi Electric MELSEC FX3U Programming Manual page 8

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instructions Edition
8.1 FNC 00 - CJ / Conditional Jump................................................................................................. 228
8.1.1 CJ instruction and operations of contact and coil ........................................................................ 232
8.2 FNC 01 - CALL / Call Subroutine ............................................................................................... 235
8.2.1 Cautions on subroutines and interrupt routines........................................................................... 237
8.3 FNC 02 - SRET / Subroutine Return .......................................................................................... 239
8.4 FNC 03 - IRET / Interrupt Return ............................................................................................... 240
8.5 FNC 04 - EI / Enable Interrupt.................................................................................................... 242
8.6 FNC 05 - DI / Disable Interrupt................................................................................................... 243
8.7 FNC 06 - Main Routine Program End ........................................................................................ 244
8.8 FNC 07 - WDT / Watchdog Timer Refresh................................................................................. 246
8.9 FNC 08 - FOR / Start a FOR/NEXT Loop .................................................................................. 249
8.10 FNC 09 - NEXT / End a FOR/NEXT Loop................................................................................ 250
9.1 FNC 10 - CMP / Compare .......................................................................................................... 254
9.2 FNC 11 - ZCP / Zone Compare.................................................................................................. 256
9.3 FNC 12 - MOV / Move................................................................................................................ 259
9.4 FNC 13 - SMOV / Shift Move ..................................................................................................... 262
9.5 FNC 14 - CML / Complement..................................................................................................... 264
9.6 FNC 15 - BMOV / Block Move.................................................................................................... 266
9.6.1 Function of transfer between file registers and data registers..................................................... 268
9.7 FNC 16 - FMOV / Fill Move ........................................................................................................ 271
9.8 FNC 17 - XCH / Exchange ......................................................................................................... 274
9.9 FNC 18 - BCD / Conversion to Binary Coded Decimal .............................................................. 276
9.10 FNC 19 - BIN / Conversion to Binary ....................................................................................... 279
10. Arithmetic and Logical Operation (+, −, ×, ÷) - FNC 20 to FNC 29
10.1 FNC 20 - ADD / Addition .......................................................................................................... 283
10.2 FNC 21 - SUB / Subtraction ..................................................................................................... 286
10.3 FNC 22 - MUL / Multiplication .................................................................................................. 289
10.4 FNC 23 - DIV / Division ............................................................................................................ 292
10.5 FNC 24 - INC / Increment......................................................................................................... 295
10.6 FNC 25 - DEC / Decrement...................................................................................................... 297
10.7 FNC 26 - WAND / Logical Word AND ...................................................................................... 298
10.8 FNC 27 - WOR / Logical Word OR........................................................................................... 300
10.9 FNC 28 - WXOR / Logical Exclusive OR.................................................................................. 302
10.10 FNC 29 - NEG / Negation....................................................................................................... 304
11.1 FNC 30 - ROR / Rotation Right ................................................................................................ 307
11.2 FNC 31 - ROL / Rotation Left ................................................................................................... 309
11.3 FNC 32 - RCR / Rotation Right with Carry ............................................................................... 311
11.4 FNC 33 - RCL / Rotation Left with Carry .................................................................................. 313
11.5 FNC 34 - SFTR / Bit Shift Right................................................................................................ 315
11.6 FNC 35 - SFTL / Bit Shift Left................................................................................................... 317
11.7 FNC 36 - WSFR / Word Shift Right .......................................................................................... 321
11.8 FNC 37 - WSFL / Word Shift Left ............................................................................................. 323
6
Series ................................................................ 320
1
2
Table of Contents
227
253
282
306

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents