Pepperl+Fuchs AS-i CC-Link Gateway Manual page 58

Table of Contents

Advertisement

AS-i CC-Link Gateway
Accessing command interface
The send data and response data structure of the command interface commands
is independent of the CC-Link master in use and is described in the separate
manual "AS-i 3.0 Command interface".
For example, when reading the list of detected slaves (command 0x46) and the
register D1 of the Mitsubishi QCPU is given as 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:
Address
D1
Note that the toggle bit doesn't 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).RDMSG.
When the 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 receiv-
able data size in bytes for G(P).RDMSG is set to at least 10, there is no error dur-
ing command execution and there are slaves 1A, 2A and 3A detected the follow-
ing will be stored starting from register D10:
Address
D10
D11
D12
D13
D14
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.
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".
58
Bit 15..12
0x00
(command interface: toggle bit and circuit)
Bit 15..12
0x00
(command interface: mirrored toggle bit and
result)
0x00
(command interface: response byte 2)
0x00
(command interface: response byte 4)
0x00
(command interface: response byte 6)
0x00
(command interface: response byte 8)
Bit 11..8
Bit 7..4
(command interface: command)
Bit 11..8
Bit 7..4
(command interface: mirrored command)
(command interface: response byte 1)
(command interface: response byte 3)
(command interface: response byte 5)
(command interface: response byte 7)
Bit 3..0
0x46
Tab. 12-40.
Bit 3..0
0x46
0x0E
0x00
0x00
0x00
Tab. 12-41.

Advertisement

Table of Contents
loading

Table of Contents