Version 2.0 For version 2.0 the process is slightly more complicated. In this case the addresses of the flags
are depending on the number of occupied stations, the number of connected stations, but also the number of
extension cycles.
Note: At first if several stations are added to the network the offset area is moved according to the offset of
these stations. In this case one station is connected to the network.
The following table shows the memory offset for the handshaking process where Q is a variable. If Q for
example has the value of 32 the Remote READY flag will have the memory offset 27 in Dec and 1B in Hex.
Bit
Slave -> Master
RX Q-(9 to 16) Reserved
RX Q-8
Initial data processing request flag
RX Q-7
Initial data setting complete flag
RX Q-6
Error status flag
RX Q-5
Remote READY
RX Q-(1 to 4)
Reserved
Figure 11 The handshaking area for version 2.0.
The table below shows the value of Q in decimal format for different configurations.
Q in Dec
Extension Cycles
Figure 12 Table of values of Q for different number of occupied stations and extension cycles.
The Input and Output area is configured to begin at address 1000, as can be seen in Figure 5 Setting the CC-
Link parameters. In this example the number of occupied stations is 2 and the number of extension cycles is
2. This makes Q take the value of 96. The offset for the remote ready flag will then be 96-5=91. In hex this
will be 105B. The handshaking area will then have the offset of 1050. Please note, if several stations are
attached to the network the offset area is moved according to the offset of these stations.
The handshaking can be done either manually or by a PLC-program. The manual alternative is to perform
the handshaking by setting the bits directly in the Entry Data Monitor, see chapter 4 Testing for more details.
The PLC-program for the handshaking process will look the same as for version 1.0, but the memory offset
in this case will be 105B, see the previous section for version 1.0 for details of the program.
Formula
The formula for Q suggested by HMS is as follows:
CC-Link version 2.0 and Extension cycles=1:
Q=(Number of occupied stations*32)* Extension cycles
CC-Link version 2.0 and Extension cycles>=2:
Q=(Number of occupied stations*32-16)* Extension cycles
www.anybus.com
How to set up an Anybus CC-Link slave module with a Mitsubishi PLC
Bit
RY Q-(9 to 16)
RY Q-8
RY Q-7
RY Q-6
RY Q-5
RY Q-(1 to 4)
Number of occupied stations
1
1
32
2
32
4
64
8
128
HMS Industrial Networks AB
Master -> Slave
Reserved
Initial data processing complete flag
Initial data setting request flag
Error reset request flag
Reserved
Reserved
2
3
64
96
96
160
192
320
384
640
Page 11 (18)
SCM-7032-027
Rev. 1.02
4
128
224
448
896
Need help?
Do you have a question about the Anybus CC-Link Slave and is the answer not in the manual?
Questions and answers