Cwt (File Data Write Instruction) - Panasonic FP7 Series Command Reference Manual

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

Advertisement

18.3 CWT (File Data Write Instruction)

18.3 CWT (File Data Write Instruction)
Ladder diagram
List of operands
Operand
Description
Starting address of the device where data to be written is stored (data format: unsigned 16-bit
S
integer)
n
Number of write data items (data format: Unsigned 16-bit integer)
Starting address of the device area that stores the path name (folder name + file name: maximum
D1
256 characters) of the file in which data is written and the number of characters of the path name
(data format: character data)
Starting address of the device area that stores parameters related to information such as saving
D2
format (data format: unsigned 16-bit integer)
Devices that can be specified (indicated by ●)
Operan
d
W
W
X
Y
S
n
D1
D2
(Note 1)
Only 16-bit devices can be modified. (Integer constants and character constants cannot be specified.)
Outline of operation
● [n] items of data stored at the device address starting from [S] are read and written to the SD
memory card file specified by [D1] according to the parameters specified by [D2].
[n]: Specification of number of write data items
Saving format Set value of [D2]
16-bit data
U1, U2, U7, U11
32-bit data
U3, U4, U5, U8
64-bit data
U6, U9
18-6
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
32-Bit
device:
TS
TE
U
W
WI
IX
C
C
M
O
S
E
Setting range of [n]
0 to 65535
0 to 32767
0 to 16383
Real
St
Integer
numbe
rin
r
g
D
K
H
SF
" "
F
WUME-FP7CPUPGR-12
Index
modifie
r
(Note 1)

Advertisement

Table of Contents
loading

Table of Contents