High−level Instructions
3 − 610
Conversion examples
Examples of converting to decimal 3 digits x 4 data (when no comma ”,” exists)
Converts to 16−bit data.
”123456789012”
DT100 = K 123
DT100 = K 456
DT102 = K 789
DT103 = K 12
When No. of numeric data is “4”, Starting position for reading is “1”, Digit No. of numeric data is “3”.
F251 ATOB, D−16, DT 10, DT20, DT100
R0
F251 ATOB, D−16, DT10 , H 413 , DT 100
M
(DF)
Examples of converting to hexadecimal 4 digits x 3 data
Converts to 16−bit data in normal direction.
”001209AB000E”
DT100 = H 1200
DT101 = H AB09
DT102 = H 0E00
When No. of numeric data is “3”, Starting position for reading is “1”, Digit No. of numeric data is “4”.
F251 ATOB, D−16, DT 10, DT20, DT100
R0
F251 ATOB, H+16, DT10 , H 314 , DT 100
M
(DF)
FPΣ/FP−X/FP0R