7-247
EMOD(P)
1
2
3
4
6
6
7
8
7.11 Character string processing instructions
7.11.20 Floating decimal point to BCD (EMOD(P))
Program Example
(1) The following program breaks down the 32-bit floating decimal point type real number data
stored at D0 and D1 into BCD according to the decimal fraction digits as designated by R10,
and stores the results into the area starting from D100 when X0 is turned ON.
[Ladder Mode] [List Mode]
[Operation]
Instruction
Device
Step
D1
D104
D103
D102
D101
D100
R10
0.987654
3
D0
1
9876540
H
1
4