# Connection Setup

Navigation: »No topics above this level« # Connection Setup |

## Handshake Procedure

Before the communication between the CC-Link master and the CC-Link slave (IC2 controller) is possible, the handshake process needs to take place. Without it no data from the master will be transmitted to station. The procedure has 3 steps:
1. If the network parameter are correct, the slave station will set the bit "Initial data processing request flag".

2. Upon receiving thi bit, the master answers to the request with the bit "Initial data processing complete flag".

3. Finally, the station (slave) sets the bit "Remote READY". That means the slave is in the normal operation mode.

### Location of the handshake bits

Slave (Controller) à Master
Device | Signal name
…
RX(m+n)8 | Initial data processing request flag
RX(m+n)9 | Initial data setting complete flag
RX(m+n)A | Error status flag
RX(m+n)B | Remote READY
…

Master à Slave (Controller)
Device | Signal name
…
RY(m+n)8 | Initial data processing complete flag
RY(m+n)9 | Initial data setting request flag
RY(m+n)A | Error reset request flag
…

The two tables are showing the part of the memory, mapped in bits, where the handshake flags are located.

m - Address assigned to the master module by the station number setting. This defines the memory area dedicated for this slave. It begins at address m of the master.

n - It depends on the number of occupied stations and the extended cyclic setting, as shown in the table:

| Case 1 | Case 2
Number of occupied stations | 1 | 4
Extended cyclic setting | Octuple | Double
n | 0x7 | 0xD