In GX Works3 enable CC-Link IEF Basic function in Parameter -->RxxCPU --> Module Parameter Own Node Settings. In order to do this, change 'To use or Not to Use CC Link IEF Basic Setting' to Enable.
Open Network Configuration Settings
Select Detect Now --> Yes --> OK
Picture 4. Detect all devices in the network
Right-click on found module and change module to CC Link IEF Basic
Press Close with reflecting the setting --> Yes
Go to Refresh Settings and assign slave devices to PLC Devices.
Picture 5. Sample Refresh Settings
Exemplary settings are shown in the picture above:
- RX0-RX63 Dec (RX0-RX3F Hex) is assigned to B0-B63 Dec (B0-B3F Hex)
- RY0-RY63 Dec (RY0-RY3F Hex) is assigned to B4096-B4159 Dec (B1000-B103F Hex)
- RWr0-RWr31 Dec (Rwr0-Rwr1F Hex) is assigned to W0-W31 Dec (W0-W1F Hex)
- RWw0-RWw31 Dec (RWw0-RWw1F Hex) is assigned to W4096-W4127 Dec (W1000-W101F Hex)
Apply the changes, go to Online and write them to PLC.
Diagnostics and application
In Diagnostics dropdown menu select CC Link IE Field Basic Diagnostics and check the connection.
Picture 6. Communication 'Diagnostics' window
Copy the programs attached to this guide and paste them to the respective devices. These programs are created to test the communication between the Robot and the PLC.
On the robot side, the program sets outputs of the robot to 1 with M_Out, then it sends words to CC-Link outputs with M_Dout
On the PLC side, the program reads these values and moves them to its own outputs – bits to bit outputs, words to word outputs.
R
esults of these programs cooperating are shown on the pictures below.