Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
7
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instructions Edition
Table of Contents
12.8 FNC 47 – ANR / Annunciator Reset................................................................................................... 331
12.9 FNC 48 – SQR / Square Root............................................................................................................ 332
12.10 FNC 49 – FLT / Conversion to Floating Point .................................................................................. 333
13. High Speed Processing – FNC 50 to FNC 59 335
13.1 FNC 50 – REF / Refresh.................................................................................................................... 336
13.1.1 What should be understood before using the REF instruction............................................................339
13.2 FNC 51 – REFF / Refresh and Filter Adjust....................................................................................... 340
13.2.1 What should be understood before using REFF instruction................................................................342
13.3 FNC 52 – MTR / Input Matrix .............................................................................................................343
13.3.1 Operation and cautions for MTR instruction........................................................................................346
13.4 FNC 53 – HSCS / High Speed Counter Set....................................................................................... 347
13.4.1 Common cautions on using instructions for high speed counter.........................................................350
13.5 FNC 54 – HSCR / High Speed Counter Reset................................................................................... 353
13.6 FNC 55 – HSZ / High Speed Counter Zone Compare....................................................................... 356
13.6.1 Program in which comparison result is set to ON when power is turned ON
[ZCP (FNC 11) instruction]..................................................................................................................360
13.6.2 Table high speed comparison mode (M8130).....................................................................................362
13.6.3 Frequency control mode (HSZ and PLSY instructions) (M8132)........................................................365
13.7 FNC 56 – SPD / Speed Detection...................................................................................................... 368
13.8 FNC 57 – PLSY / Pulse Y Output ......................................................................................................372
13.9 FNC 58 – PWM / Pulse Width Modulation ......................................................................................... 377
13.10 FNC 59 – PLSR / Acceleration/Deceleration Setup.........................................................................380
14. Handy Instruction – FNC 60 to FNC 69 385
14.1 FNC 60 – IST / Initial State ................................................................................................................ 386
14.1.1 IST instruction equivalent circuit .........................................................................................................388
14.1.2 Example of IST instruction introduction (example of workpiece transfer mechanism)........................389
14.2 FNC 61 – SER / Search a Data Stack ............................................................................................... 396
14.3 FNC 62 – ABSD / Absolute Drum Sequencer.................................................................................... 399
14.4 FNC 63 – INCD / Incremental Drum Sequencer................................................................................402
14.5 FNC 64 – TTMR / Teaching Timer..................................................................................................... 404
14.6 FNC 65 – STMR / Special Timer........................................................................................................ 406
14.7 FNC 66 – ALT / Alternate State ......................................................................................................... 408
14.8 FNC 67 – RAMP / Ramp Variable Value ........................................................................................... 410
14.9 FNC 68 – ROTC / Rotary Table Control ............................................................................................ 412
14.10 FNC 69 – SORT / SORT Tabulated Data ........................................................................................ 415
15. External FX I/O Device – FNC 70 to FNC 79 418
15.1 FNC 70 – TKY / Ten Key Input .......................................................................................................... 419
15.2 FNC 71 – HKY / Hexadecimal Input................................................................................................... 423
15.3 FNC 72 – DSW / Digital Switch (Thumbwheel Input)......................................................................... 427
15.4 FNC 73 – SEGD / Seven Segment Decoder .....................................................................................430
15.5 FNC 74 – SEGL / Seven Segment With Latch................................................................................... 432
15.5.1 How to select a seven-segment display unit.......................................................................................435
15.5.2 How to select parameter "n" based on seven-segment display specifications ...................................435
15.6 FNC 75 – ARWS / Arrow Switch........................................................................................................ 437
15.7 FNC 76 – ASC / ASCII Code Data Input............................................................................................ 441
15.8 FNC 77 – PR / Print (ASCII Code)..................................................................................................... 443
15.9 FNC 78 – FROM / Read From A Special Function Block .................................................................. 446
15.9.1 Common items between FROM instruction and TO instruction (details) ............................................449
15.10 FNC 79 – TO / Write To A Special Function Block ..........................................................................451
16. External FX Device – FNC 80 to FNC 89 453
16.1 FNC 80 – RS / Serial Communication................................................................................................ 454
16.2 FNC 81 – PRUN / Parallel Run (Octal Mode) .................................................................................... 456
16.3 FNC 82 – ASCI / Hexadecimal to ASCII Conversion.........................................................................458