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