High−level Instructions
3 − 611
Example of converting to decimal number x 4 data (in case of comma−deliminated “,” data)
”12,345,6789,0,”
* The last of character strings is a comma.
DT100 = K 12
DT101 = K 345
DT102 = K 6789
DT103 = K 0
When No. of numeric data is “4”, Starting position for reading is “1”, Digit No. of numeric data is “4”.
(Converts to 16−bit data) * Specify the maximum digit number.
F251 ATOB, D−16, DT 10, DT20, DT100
R0
F251 ATOB, D−16, DT10 , H 414 , DT 100
M
(DF)
Example of converting to decimal 5 digits with a decimal point x 2 data (when no comma exists)
”1234.50006.7”
DT100 = K 12345
DT101 = K 67
When No. of numeric data is “2”, Starting position for reading is “0”, Digit No. of numeric data is “6”, and
converting to 16−bit data. *A decimal point is also counted as a digit.
F251 ATOB, D−16, DT 10, DT20, DT100
R0
F251 ATOB, D−16, DT10 , H 206 , DT 100
M
(DF)
Example of converting to decimal number with a decimal point x 2 data (in case of comma−deliminated
“,” data)
”1234.5,6.7,”
* The last of character strings is a comma.
DT100 = K 12345
DT101 = K 67
When No. of numeric data is “2”, Starting position for reading is “0”, Digit No. of numeric data is “6”, and
converting to 16−bit data. *A decimal point is also counted as a digit.
F251 ATOB, D−16, DT 10, DT20, DT100
R0
F251 ATOB, D−16, DT10 , H 206 , DT 100
M
(DF)
FPΣ/FP−X/FP0R