Bufw (Data Write) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

8.19 BUFW (Data Write)

8.19 BUFW (Data Write)

Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
i
List of operands
Operand
Description
S
The device address of the write data, or the constant
D
Starting device address of the data buffer
Available devices (●: Available)
Operan
d
W
W
X
Y
S
D
(Note 1)
Only 16-bit devices and integer constants can be modified.
(Note 2)
Index register (I0 to IE)
(Note 3)
Can be specified only when the operation unit is signed integer (SS, SL).
(Note 4)
Can be specified only when the operation unit is unsigned integer (US, UL).
Outline of operation
● This instruction sets the data specified by [S] to the buffer specified by [D].
(In the [D] buffer area, it is necessary to define buffer first using the DEFBUF instruction.)
● Pre-execution buffer consistency check (An operation error occurs in the following cases)
1. [D] (buffer size) > 4096, or [D] (buffer size) = 0
2. [D]+1 (stored data amount) ≥ [D] (buffer size)
3. [D]+3 (write pointer) ≥ [D] (buffer size)
4. Buffer area exceeds the upper limit of the specified device
8-40
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
K
(N
(N
(N
H
SF
ote
ote
ote
2)
3)
4)
WUME-FP7CPUPGR-12
DF
St
rin
g
Index
modifie
r
D
(Note 1)
" "
F

Advertisement

Table of Contents
loading

Table of Contents