5.16 LCWT (Specified PB Local Device Write)
5.16 LCWT (Specified PB Local Device Write)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
bit
n unit
i
■
List of operands
Operand
Description
S
Starting address of a source device
n
Number of written devices (Available range: 1 to 65535)
PBm
Destination PB number (Available range: 1 to Max. number of PB)
D
The starting address of a destination local device
■
Available devices (●: Available)
Operan
d
W
W
X
Y
S
●
●
n
●
●
PBm
●
●
D
●
●
(Note 1)
Only 16-bit devices and 32-bit devices can be modified. (Integer constants cannot be specified.)
(Note 2)
Index register (I0 to IE)
■
Outline of operation
● This instruction writes the data for [n] from the area specified by [S] to the area specified by
[PBm]:[D] (local device) and subsequent areas all at once.
● Either a global device or a local device (of the PB in which this instruction is executed) can
also be specified for [S].
5-36
US
●
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
SS
UL
●
●
32-Bit
device:
TS
TE
U
W
WI
C
C
M
O
S
E
●
●
●
●
SL
SF
●
Real
Integer
numbe
r
IX
(N
K
H
SF
U
ote
2)
●
●
●
●
●
WUME-FP7CPUPGR-12
DF
St
rin
g
Index
modifie
r
D
(Note 1)
" "
F
●
●
●