7-210
STR(P),DSTR(P)
Program Example
(1) The following program converts the BIN 16-bit data stored at D10 when X0 is turned ON in
accordance with the digit designation of D0 and D1, and stores the result from D20 to D23.
[Ladder Mode]
[List Mode]
[Operation]
Sets the data.
Sets the total number of digits.
Sets the number of digits in decimal fraction.
Step Instruction Device
D21
D22
D23
20
H
(space)31
H
(1)
32
H
(2)36
H
(6)
b15 b8b7 b0
37
H
(7)
(2)
2E
H
(.)
D20
00
H
32
H
12672D10
7
1
D0
D1
1267.2