Chapter 6 Instruction Details
XBC E-Type Main Unit 6-246 Ve r. 1
2) DSTR (String)
(1) Converts specified Binary 32-bit data S2 with decimal places added to specified position S1, into string
to save in the next number of specified device D.
(2) S1 stands for decimal places.
(3) If S1 range is other than 0~28, Error Flag will be set.
3) Program Example
P00000
STR P1000 P1100 P1200
(Specified total places-1)
th
ASCII code
(Specified total places-3)
th
ASCII code
(Specified total places-5)
th
ASCII code
(Specified total places-7)
th
ASCII code
(Specified total places-2)
th
ASCII code
(Specified total places-4)
th
ASCII code
(Specified total places-6)
th
ASCII code
(Specified total places-9)
th
ASCII code
(Specified total places-10)
th
ASCII code
(Specified total places-8)
th
ASCII code
Saved automatically at the end of string
-
(4)
Saved automatically at the end of string