7
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instructions Edition
Table of Contents
11.9 FNC 38 – SFWR / Shift Write [FIFO/FILO Control]................................................................... 325
11.10 FNC 39 – SFRD / Shift Read [FIFO Control] .......................................................................... 328
12. Data Operation – FNC 40 to FNC 49 330
12.1 FNC 40 – ZRST / Zone Reset................................................................................................... 331
12.2 FNC 41 – DECO / Decode ........................................................................................................ 334
12.3 FNC 42 – ENCO / Encode ........................................................................................................ 337
12.4 FNC 43 – SUM / Sum of Active Bits.......................................................................................... 339
12.5 FNC 44 – BON / Check Specified Bit Status............................................................................. 342
12.6 FNC 45 – MEAN / Mean ........................................................................................................... 344
12.7 FNC 46 – ANS / Timed Annunciator Set................................................................................... 346
12.8 FNC 47 – ANR / Annunciator Reset.......................................................................................... 348
12.9 FNC 48 – SQR / Square Root................................................................................................... 349
12.10 FNC 49 – FLT / Conversion to Floating Point ......................................................................... 351
13. High Speed Processing – FNC 50 to FNC 59 353
13.1 FNC 50 – REF / Refresh ........................................................................................................... 354
13.1.1 What should be understood before using the REF instruction .................................................. 357
13.2 FNC 51 – REFF / Refresh and Filter Adjust.............................................................................. 358
13.2.1 What should be understood before using REFF instruction ...................................................... 360
13.3 FNC 52 – MTR / Input Matrix .................................................................................................... 361
13.3.1 Operation and cautions for MTR instruction..............................................................................364
13.4 FNC 53 – HSCS / High Speed Counter Set.............................................................................. 365
13.4.1 Common cautions on using instructions for high speed counter ............................................... 368
13.5 FNC 54 – HSCR / High Speed Counter Reset.......................................................................... 371
13.6 FNC 55 – HSZ / High Speed Counter Zone Compare.............................................................. 374
13.6.1 Program in which comparison result is set to ON when power is turned ON
[ZCP (FNC 11) instruction]........................................................................................................ 378
13.6.2 Table high speed comparison mode (M8130)........................................................................... 380
13.6.3 Frequency control mode (HSZ and PLSY instructions) (M8132) .............................................. 383
13.7 FNC 56 – SPD / Speed Detection............................................................................................. 386
13.8 FNC 57 – PLSY / Pulse Y Output ............................................................................................. 390
13.9 FNC 58 – PWM / Pulse Width Modulation ................................................................................ 395
13.10 FNC 59 – PLSR / Acceleration/Deceleration Setup ................................................................ 399
14. Handy Instruction – FNC 60 to FNC 69 404
14.1 FNC 60 – IST / Initial State ....................................................................................................... 405
14.1.1 IST instruction equivalent circuit................................................................................................ 407
14.1.2 Example of IST instruction introduction (example of workpiece transfer mechanism) .............. 408
14.2 FNC 61 – SER / Search a Data Stack ...................................................................................... 416
14.3 FNC 62 – ABSD / Absolute Drum Sequencer........................................................................... 419
14.4 FNC 63 – INCD / Incremental Drum Sequencer....................................................................... 422
14.5 FNC 64 – TTMR / Teaching Timer............................................................................................ 424
14.6 FNC 65 – STMR / Special Timer............................................................................................... 426
14.7 FNC 66 – ALT / Alternate State ................................................................................................ 428
14.8 FNC 67 – RAMP / Ramp Variable Value .................................................................................. 430
14.9 FNC 68 – ROTC / Rotary Table Control ................................................................................... 432
14.10 FNC 69 – SORT / SORT Tabulated Data ............................................................................... 435