Installation manual
Publication 1747-RM001G-EN-P - November 2008
5-4 Data Handling Instructions
TOD
TO BCD
Source N7:3
32760
Dest S:13
00032760
(U)
S:5
0
] [
S:0
1
MOV
MOVE
Source S:13
10080
Dest O:2.0
10080
MVM
MASKED MOVE
Source S:14
3
Mask 000F
Dest O:3.0
3
] [
32760N7:3 Decimal
0003 2760S:13 & S:14 5-digit BCD
15 0 15 0
S:14 S:13
This example will output the absolute value (0 to 32767) contained in N7:3 as 5 BCD digits in
output slots 2 and 3.
S:13 and S:14 are
displayed in BCD
format.
Minor Error Bit
0000 0000 0000 0011
0010 0111 0110 0000