AS-i CC-Link Gateway
Accessing command interface
14
.4.20
15
57
1.)
For example, when the first command used is reading the list of detected
slaves (command 0x46), write the following to the RWw area:
The rest of the RWw area is unused for this command since there are no further
request bytes necessary.
If there is no error during command execution and there are slaves 1A, 2A and 3A
detected, the response data in the RWr area will be:
The rest of the RWr area is unused for this command since the response data
does not need all of the RWr area.
For a list of all command interface commands and the request/response data
structures, please refer to the separate manual "AS-i 3.0 Command interface".
When using standard mode, the command interface commands can be accessed
by using message transmission.
12.2
Using message transmission
Message transmission is a method to map acyclic requests into the cyclic
CC-Link process data. All data transfers are initiated by the CC-Link master mod-
ule. To find out whether message transmission is supported or not by the master,
please refer to the documentation of the CC-Link master in use.
For example, the Mitsubishi CC-Link master module QJ61BT11N for the Mitsubi-
shi Q-series supports the dedicated instruction G(P).RDMSG to perform message
transmission. A detailed description of this instruction can be found in the user's
manual of the QJ61BT11N.
This instruction needs various parameters such as the CC-Link station number of
the target remote device and a buffer to hold the response data. These are de-
scribed in the QJ61BT11N user's manual.
Address
Bit 15 … 12
Bit 11 … 8
Bit 7 … 4
Bit 3 … 0
RWwm0
0x80
(command interface: toggle bit and circuit)
0x46
(command interface: command)
Tab. 12-38.
Address
Bit 15..12
Bit 11..8
Bit 7..4
Bit 3..0
RWrm0
0x80
(command interface: mirrored toggle bit and
result)
0x46
(command interface: mirrored command)
RWrm1
0x00
(command interface: response byte 2)
0x0E
(command interface: response byte 1)
RWrm2
0x00
(command interface: response byte 4)
0x00
(command interface: response byte 3)
RWrm3
0x00
(command interface: response byte 6)
0x00
(command interface: response byte 5)
RWrm4
0x00
(command interface: response byte 8)
0x00
(command interface: response byte 7)
Tab. 12-39.