110
APPX
Appendix 2 G(P).RDMSG instruction
Appendix 2
G(P).RDMSG instruction
Use this instruction when executing slave module parameter access.
Applicable devices
*1 Bit specification of word device can be used for bit data.
A bit in a word device can be specified by "Word device.Bit number". (Specify a bit number in hexadecimal.)
For example, bit 10 of D0 is specified as D0.A.
Note that the bit specification cannot be performed for timer (T), retentive timer (ST), or counter (C).
Setting data
■
Applicable devices
*1 The local device and the file register for each program are not available for setting data.
*2 For contents of send data and receive data, refer to slave module parameter access. (
Page 65 Slave module parameter access)
■
Control data
Setting
data
Internal device
(system, user)
File
register
(R, ZR)
Link direct device
J
\G
Intelligent function
module device
U
\G
Index
register
Z
Constant
Others
Bit (X, Y,
M, L, F,
V, B)
Word (T,
ST, C, D,
W)
Bit
Word
K, H
$
(S1)
(S2)
(D1)
(D2)
Device
Setting description
Setting range
Data type
Un
Start I/O number of the module
(The first 2 digits in a 3-digit I/O number)
0 to FEH
16-bit binary
(S1)
Start number of the device where the control data is stored
Predefined devices
Device name
(S2)
Start number of send data storage device
Predefined devices
(D1)
Start number of receive data storage device
Predefined devices
(D2)
Own device which turns on for one scan by the completion of the instruction.
(d2)+1 also turns on at the completion with an error.
Predefined devices
Bit
Device
Item
Description
Setting range
Setting side
(S1)+0
Completion status
The status at the completion of the instruction is stored.
• 0: Completed successfully
• Numbers other than 0: Completed with an error (error
code)
System
(S1)+1
CC-Link station start number
Specifies station number of the target station.
1 to 60
User
(S1)+2
Number of send byte
Specifies the sending message data size in units of bytes.
1 to 255
User
(S1)+3
Maximum number of receive
byte
Specifies the maximum device size stored a received
message data (in units of bytes).
0 to 255
User
(S1)+4
Number of receive byte
A received message data size is stored in units of bytes.
System
Command
Command
[Instruction
symbol]
[Execution
condition]
G.RDMSG
Un
G.RDMSG
Un
(D1)
(S1)
(S2)
(D2)
(D1)
(S1)
(S2)
(D2)
GP.RDMSG
GP.RDMSG
Summary of Contents for AnyWire NZ2AW1C2AL
Page 1: ...CC Link AnyWireASLINK Bridge Module User s Manual NZ2AW1C2AL ...
Page 2: ......
Page 12: ...10 MEMO ...
Page 121: ...I 119 MEMO ...
Page 125: ......