FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Program example
In the program shown below, the low-order byte (8 bits) data stored in D20 to D25 is combined, and stored in
D10 to D12.
X000
FNC142
BTOWP
b15
D20
D21
D22
6 bytes
D23
D24
D25
The high-order bytes is ignored.
D20
D10
b8 b7
b0
00H
78H
31H
12H
36H
49H
44H
55H
48H
67H
49H
31H
19 Data Operation 2 – FNC140 to FNC149
19.3 FNC142 – BTOW / BYTE to WORD
K6
END
b15
b8 b7
D10
12H
D11
55H
D12
31H
b0
78H
49H
67H
561
11
12
13
14
15
16
17
18
19
20