Table of Contents
15
20. Conversion instructions ........................................................................ 621
F71_HEX2A HEX -> ASCII conversion
622
F72_A2HEX ASCII -> HEX conversion
625
F73_BCD2A BCD -> ASCII conversion
628
F74_A2BCD ASCII -> BCD conversion
631
F75_BIN2A 16-bit BIN -> ASCII conversion
635
F76_A2BIN ASCII -> 16-bit BIN conversion
638
F77_DBIN2A 32-bit BIN -> ASCII conversion
641
F78_DA2BIN ASCII -> 32 bit BIN conversion
644
F80_BCD 16-bit BIN -> 4-digit BCD conversion
647
F81_BIN 4-digit BCD -> 16-bit BIN conversion
649
F82_DBCD 32-bit BIN -> 8-digit BCD conversion
651
F83_DBIN 8-digit BCD -> 32-bit BIN conversion
653
F89_EXT 16-bit data sign extension, INT -> DINT
655
F90_DECO Decode hexadecimal -> bit state
657
F91_SEGT 16-bit data 7-segment decode
659
F92_ENCO Encode bit state -> hexadecimal
660
F95_ASC 12 Character -> ASCII transfer
662
F235_GRY 16-bit data -> 16-bit Gray code
665
F236_DGRY 32-bit data -> 32-bit Gray code
666
F237_GBIN 16-bit Gray code -> 16-bit binary data
667
F238_DGBIN 32-bit Gray code -> 32-bit binary data
668
F240_COLM Bit line to bit column conversion
669
F241_LINE Bit column to bit line conversion
671
F250_BTOA Binary -> ASCII conversion
673
F251_ATOB ASCII -> Binary conversion
677
F252_ACHK ASCII data check
682
F325_FLT 16-Bit Integer Data to Floating Point Data Conversion
684
F326_DFLT 32-Bit Integer Data to Floating Point Data Conversion
685
F327_INT Floating point data -> 16-bit integer data (the largest integer
not exceeding the floating point data)
687
F328_DINT Floating point data -> 32-bit integer data (the largest integer
not exceeding the floating point data)
689
F333_FINT Rounding the first decimal point down
691
F334_FRINT Rounding the first decimal point off
693
F335_FSIGN Floating point data sign changes (negative/positive
conversion)
695
F337_RAD Conversion of angle units (Degrees -> Radians)
697
F338_DEG Conversion of angle units (Radians -> Degrees)
699