19 Applied Instructions (Data Operation 2)
19.3 BTOW / BYTE to WORD
505
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
11
Applied Instructions
(Data Operation)
12
Applied Instructions
(High Speed
Processing)
13
Applied Instructions
(Handy
Instruction)
14
Applied Instructions
(External FX I/O
Device)
15
Applied Instructions
(External Device
(optional device))
16
Applied Instructions
(External Device)
17
Applied Instructions
(Data Transfer 2)
18
Applied Instructions
(Floating Point)
19
Applied Instructions
(Data Operation 2)
20
Applied Instructions
(Positioning
Control)
Program example
This is a program for coupling the data of lower byte (8 bits) of D20 to D25 when the X000 is turned ON, and
storing into D10 to D12.
31H
D20
D21
Higher bytes are
ignored.
D22
6 bytes
D10
D11
D12
12H
55H
78H
49H
67H
00H
31H
44H
78H
12H
55H
36H 49H
48H
67H
D23
D24
49H
31HD25
b15 b8 b7 b0 b15 b8 b7 b0
BTOWP
EN
s
n
ENO
d
X000
D20
K6
[Structured ladder/FBD]
D10
[ST]
BTOWP(X000,D20,K6,D10);