35
0
2
.05.
2016
CC-Link Gateways
Accessing command interface
Example:
For example, when reading the list of detected slaves (command 0x46) and the
register D1 of the Mitsubishi QCPU is assigned as a parameter to G(P).RDMSG
as start number of the device that stores the data to be sent. The following data
must be stored in D1:
Note that the toggle bit does not have to be changed for each new request.
The send data size in bytes must be set to 2 and given as parameter to G(P).RD-
MSG.
If register D10 of the Mitsubishi QCPU is given as parameter to G(P).RDMSG as
start number of the device to store the received data, the receivable data size in
bytes for G(P).RDMSG is set to at least 10, there is no error during command
execution and there are slaves 1A, 2A and 3A detected the following will be sto-
red starting from register D10:
The device given as parameter to G(P).RDMSG to store the received data size in
bytes will be set to 10 by the system.
Address
Bit 15..12
Bit 11..8
Bit 7..4
Bit 3..0
D1
0x00
(command interface: toggle bit and circuit)
0x46
(command interface: command)
Tab. 7-40.
Address
Bit 15..12
Bit 11..8
Bit 7..4
Bit 3..0
D10
0x00
(command interface: toggle bit and result)
0x46
(command interface: mirrored command)
D11
0x00
(command interface: response byte 2)
0x0E
(command interface: response byte 1)
D12
0x00
(command interface: response byte 4)
0x00
(command interface: response byte 3)
D13
0x00
(command interface: response byte 6)
0x00
(command interface: response byte 5)
D14
0x00
(command interface: response byte 8)
0x00
(command interface: response byte* 7)
Tab. 7-41.
Information!
For a list of all command interface commands and the request/response data structu-
res, please refer to the separate manual "AS-i 3.0 command interface".
Summary of Contents for CC-LINK Series
Page 1: ...CC LINK GATEWAYS FACTORY AUTOMATION COMPACT MANUAL ...
Page 43: ......