
How to set up an Anybus CC-Link slave module with a Mitsubishi PLC
SCM-7032-027
Rev. 1.02
Add a basic PLC-program to the configuration to perform the handshaking process. The alternative is to
perform the handshaking manually by setting the bits directly in the Entry Data Monitor, see chapter 4
Testing for more details. Right click on the “POU_Pool" and choose New POU. Choose “PRG” and
“structured text” as seen below.
Figure 9
Creating a new PLC-program.
An example of a PLC-program can be seen below.
Comments
Program
Figure 10
Editing the PLC-program.
The program sends an answer to the Anybus X-gateway which returns a “Remote ready” flag. It is important
the correct register address is used. The address is dependant on the number of occupied stations; see the
program comments for more details.
Note:
In the example in the figure above the station number is 1, for other station number refer to the
formula above. Only the last 6 rows is a part of the program, the rest are just comments. Now the PLC is
configured.
www.anybus.com
HMS Industrial Networks AB
Page 10 (18)