Intro of Steps:
-
Configuration of the CJ1W-NC482 unit (CJ2 base)
-
Importing the Structure for the CJ1W-NC482 unit.
-
Assigning the Structure to the Address Allocation of the CJ1W-NC482 unit.
-
Creating Network Structures for HMI
-
Link the HMI Structure to the Inverter and Servo Structure.
-
Configuration of the NS / HMI
This article (CJ2 base) explains how to setup the configuration for the CJ1W-NC482 EtherCAT position control unit. In this article Structures are used as basic. In the attachment also a Symbol file is present for using Symbols instead of Structures. All of the samples used in this article are attached. Files for importing Structures or Symbols for the CJ1W-NC482 EtherCAT position control unit are also included.
Program Versions; CX-Programmer Version 9.3, CX-Server Version 5.0, CX-Designer Version 3.3, CX-Drive Version 2.5
Attached are:
NC482ECT.cxp ► CX-Programmer file with the Structure and the Function Blocks
ETN_Network1.rtg ► Routing Table for Network 1
Param_CJ1W-NC482.xml ► Backup CJ1W-NC482-ECT Settings file (Exported)
MX2-ECT.sdd ► CX-drive parameter file for the MX2
G5-ECT.sdd ► CX-drive parameter file for the G5 servo's
NC482ECT.IPP ► CX-Designer file with Structure imported
NC482-G5 Structures.txt ► Notepad text file with the Structure of the G5 servos
NC482-MX2 Structures.txt ► Notepad text file with the Structure of the MX2 Inverter
NC482-G5 Symbols.txt ► Notepad text file with the Symbols of the G5 servo's
NC482-MX2 Symbols.txt ► Notepad text file with the Symbols of the MX2
NC482 Basic Symbols (CIO1500).txt ► Notepad text file with the Symbols of the ECT Unit at position 0
NC482 Basic Symbols (CIO1525).txt ► Notepad text file with the Symbols of the ECT Unit at position 1
Below describes the necessary steps to configure
1. Configuration of the CJ1W-NC482 unit
• Start CX-Programmer. Set Automatic Memory Allocation, also for Structure (STRUCT).
• Create an I/O table, Network address and double-click on the CJ1W-NC482 unit to start the special application for the configuration of the CJ1W-NC482.
• Within this application the configuration is set for the connected Servo’s and Drive’s. Just click to add a Slave to configurate a new device.
• In the Common Parameter section Allocation settings can me made. In our case we use the CIO area as example. All of the six areas for the Servos need to be adjusted. The Area settings for the MX2 are ‘default’ and don't have to be changed in this example.
• To Backup, it is possible to save the Parameters in an external file. This backup file can be used to restore the settings.
2. Importing the Structure for the CJ1W-NC482 unit.
• Open the NC482-G5 Structures.txt file in Notepad. Do NOT set Word Wrap on. Select all of the text (CTRL+A), copy the text (CTRL+C)
and paste them into the Structure section of the CX-Programmer file (CTRL+V).
• For the MX2 Structure, open the NC482-MX2 Structures.txt file in Notepad. Do NOT set Word Wrap on. Select all of the text (CTRL+A), copy the text (CTRL+C)
and paste them into the Structure section of the CX-Programmer file (CTRL+V).
3. Assigning the Structure to the Address Allocation of the CJ1W-NC482 unit.
• Insert a new Symbol in the Symbol section of CX-Programmer.
• Select the Structure and assign the Allocation Area. Repeat this for the remaining Allocation Area’s.
• The Structures for the G5 servos are assigned to the Allocation Area of the unit.
• The same for the MX2 Structure
• The Structures for the MX2 inverter are assigned to the Allocation Area of the unit.
4. Creating Network Structures for HMI
• Make a HMI Structure for the MX2 inverter and G5 servos in the Data Types section.
• Create the Symbols assigned to the HMI Structure and make them Net.Variable / Publication.
5. Link the HMI Structure to the Inverter and Servo Structure.
• Make Function Blocks to connect the HMI Structure to the Inverter and Servo Structure.
6. Configuration of the NS / HMI
• Start CX-Designer, create a new project with the selected NS type. Set the Ethernet configuration IP address, Network Address and Node Address.
• Add a Host to the Ethernet configuration and fill in the IP Address.
• In CX-Programmer, Symbol section, copy the HMI (Net. Variable) Symbols (CTR+C) and paste (CTRL+V) into the Symbol Table of CX-Designer. Select de Host for the Structure and press OK.
• Design a screen.
• For assigning a Structure symbol select the write address input.
• In the Address Settings tab select ‘List(Z)’ and select the desired Structure Name.