Using Message Transmission - Pepperl+Fuchs AS-i CC-Link Gateway Manual

Table of Contents

Advertisement

AS-i CC-Link Gateway
Accessing command interface
1.)
For example, when the first command used is reading the list of detected
slaves (command 0x46), write the following to the RWw area:
Address
RWwm0
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:
Address
RWrm0
RWrm1
RWrm2
RWrm3
RWrm4
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.
Bit 15 ... 12
Bit 11 ... 8
0x80
(command interface: toggle bit and circuit)
Bit 15..12
0x80
(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 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-38.
Bit 3..0
0x46
0x0E
0x00
0x00
0x00
Tab. 12-39.
57

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AS-i CC-Link Gateway and is the answer not in the manual?

Table of Contents