User manual

8
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
Table of Contents
15.9 FNC 78 – FROM / Read From A Special Function Block .................................................................. 448
15.9.1 Common items between FROM instruction and TO instruction (details) ............................................ 451
15.10 FNC 79 – TO / Write To A Special Function Block .......................................................................... 453
16. External FX Device – FNC 80 to FNC 89 455
16.1 FNC 80 – RS / Serial Communication................................................................................................ 456
16.2 FNC 81 – PRUN / Parallel Run (Octal Mode) .................................................................................... 458
16.3 FNC 82 – ASCI / Hexadecimal to ASCII Conversion ......................................................................... 460
16.4 FNC 83 – HEX / ASCII to Hexadecimal Conversion .......................................................................... 463
16.5 FNC 84 – CCD / Check Code ............................................................................................................ 466
16.6 FNC 85 - VRRD / Volume Read......................................................................................................... 469
16.7 FNC 86 - VRSC / Volume Scale ........................................................................................................ 471
16.8 FNC 87 – RS2 / Serial Communication 2........................................................................................... 473
16.9 FNC 88 – PID / PID Control Loop ...................................................................................................... 476
17. Data Transfer 2 – FNC100 to FNC109 480
17.1 FNC102 – ZPUSH/Batch Store of Index Register.............................................................................. 481
17.2 FNC103 – ZPOP/Batch POP of Index Register ................................................................................. 484
18. Floating Point – FNC110 to FNC139 485
18.1 FNC110 – ECMP / Floating Point Compare....................................................................................... 487
18.2 FNC111 – EZCP / Floating Point Zone Compare .............................................................................. 488
18.3 FNC112 – EMOV / Floating Point Move ............................................................................................ 490
18.4 FNC116 – ESTR / Floating Point to Character String Conversion..................................................... 491
18.5 FNC117 – EVAL / Character String to Floating Point Conversion ..................................................... 497
18.6 FNC118 – EBCD / Floating Point to Scientific Notation Conversion.................................................. 502
18.7 FNC119 – EBIN / Scientific Notation to Floating Point Conversion ................................................... 503
18.8 FNC120 – EADD / Floating Point Addition......................................................................................... 505
18.9 FNC121 – ESUB / Floating Point Subtraction.................................................................................... 506
18.10 FNC122 – EMUL / Floating Point Multiplication ............................................................................... 507
18.11 FNC123 – EDIV / Floating Point Division......................................................................................... 508
18.12 FNC124 – EXP / Floating Point Exponent ....................................................................................... 509
18.13 FNC125 – LOGE / Floating Point Natural Logarithm ....................................................................... 511
18.14 FNC126 – LOG10 / Floating Point Common Logarithm................................................................... 513
18.15 FNC127 – ESQR / Floating Point Square Root ............................................................................... 515
18.16 FNC128 – ENEG / Floating Point Negation ..................................................................................... 516
18.17 FNC129 – INT / Floating Point to Integer Conversion...................................................................... 517
18.18 FNC130 – SIN / Floating Point Sine................................................................................................. 519
18.19 FNC131 – COS / Floating Point Cosine........................................................................................... 520
18.20 FNC132 – TAN / Floating Point Tangent ......................................................................................... 521
18.21 FNC133 – ASIN / Floating Point Arc Sine..................................................................................
...... 522
18.22 FNC134 – ACOS / Floating Point Arc Cosine .................................................................................. 524
18.23 FNC135 – ATAN / Floating Point Arc Tangent................................................................................. 526
18.24 FNC136 – RAD / Floating Point Degrees to Radians Conversion ................................................... 528
18.25 FNC137 – DEG / Floating Point Radians to Degrees Conversion ................................................... 530
19. Data Operation 2 – FNC140 to FNC149 531
19.1 FNC140 – WSUM / Sum of Word Data.............................................................................................. 532
19.2 FNC141 – WTOB / WORD to BYTE .................................................................................................. 534
19.3 FNC142 – BTOW / BYTE to WORD .................................................................................................. 536
19.4 FNC143 – UNI / 4-bit Linking of Word Data ....................................................................................... 538
19.5 FNC144 – DIS / 4-bit Grouping of Word Data.................................................................................... 540
19.6 FNC147 – SWAP / Byte Swap ........................................................................................................... 542
19.7 FNC149 – SORT2 / Sort Tabulated Data 2........................................................................................ 543