19 CC-LINK INSTRUCTIONS
19.4 Writing Data to the Buffer Memory of the Specified Intelligent Device Station
1655
19
■Applicable devices
*1 Index modification is not available.
*2 FX and FY cannot be used.
*3 FD cannot be used.
*4 T, ST, C, and FD cannot be used.
■Control data
*1 Specify a value within the capacity of the target station buffer memory area.
■Interlock signal
*1 For the interlock signal, refer to the following.
Manual of the intelligent device station from which to read data
*2 The error code stored in the error code storage device is the same as the completion status of control data ((s1)+0).
Operand Bit Word Double word Indirect
specification
Constant Others
(U)
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(U)
*1
(s1)
*3
(s2)
*3
(s3)
*3
(d)
*2
*4
Operand: (s1)
Device Item Description Setting range Set by
+0 Completion status The completion status is stored upon completion of the instruction.
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
System
+1 Station number Specify the station number of the target station. 1 to 64 User
+2 Access/attribute code Specifies 0004H. 0004H User
+3 Buffer memory address Specifies the start address of the buffer memory area to which to write data. Refer to the
manual of the
target station.
User
+4 Number of write points Specifies, in units of words, the number of points to be written. 1 to 480
*1
User
Operand: (s3)
Device Item Description Setting
range
Set by
+0 RY: Specifies the number of the write request signal (RY) to be used for
interlock.
*1
00H to 7FH User
+1 RY: Specifies the number of the write completion signal (RY) to be used for
interlock.
*1
00H to 7FH User
RWr: Specifies the number of the device in which to store the error code
(RWr). If the error code storage device does not exist, specify FFH.
00H to 0FH,
FFH
*2
User
+2 Completion mode Specifies how the completion signal behaves.
• 0: Using Device 1
During completion, the RX signal specified by (s2)+1 turns on.
• 1: Using Device 2
For normal completion, the RX signal specified by (s2)+1 turns on. For error
completion, both RX and RX+1 turn on simultaneously.
0, 1 User
0RY
b15 b8 b7 b0
…
…
RWr
*1
RX
b15 b8 b7 b0
…
…