Configuring the iC922x as an EtherNet/IP Adapter
Steps to configure the iC922x as an EtherNet/IP adapter
| Version Number | Description |
|---|---|
| 1.0 | Initial Version: Explains how to set up the iC9200 as an EtherNet/IP adapter. |
1. Supported Components
| Component Name | Version |
|---|---|
| iC922xM-EC / iC922xM-FSoE Controller (EtherNet/IP adapter) | ≥ 2024.3 |
| iCube Engineer | ≥ 2024.3 |
| Allen Bradley ControlLogix (EtherNet/IP scanner) | 17.007, RSLogix 17.01 |
2. Supporting Libraries
- Y_DataTypes_Toolbox (≥ 2024_3)
3. Solution details
Setting up the project in iCube Engineer:
- Create a project from the iC9226M-EC template project.
- Enable the controller as an EtherNet/IP adapter. This is done in the Assemblies page.
- Open the adapter's Settings tab under the EtherNet/IP node. Schedule interval is the requested interval at which adapter data is presented to the scanner. Connection poll rate is the rate at which a new connection is serviced. If the user desires to use default assembly instances, they can choose the 'include default assemblies' option. This selection provides the list of instances that are available. In order to use the assembly, make sure that the Enable option is checked.
- The user can also configure the iC9200 as an adapter with non default user defined assembly instances as follows.
- Add a program to the project and create two variables within it. In the Usage column, define one as IN Port and the other as OUT Port. The data type of the variables depends on the size of the device's input assembly instance and output assembly instance and should match the size defined in the adapter's setting window.
- Add one instance to the program to a task under the Tasks and Events manager in the PLCnext node.
- Navigate to the controller's GDS Port List in the PLCnext node and connect the port variables created earlier to the respective ports of the EtherNet/IP device (O2T = Originator to Target ; T2O = Target to Originator ).
- Write and Start the project. Note that the user created port variables created in the user POU, can be used only in the POU.
- To use the information obtained from the ports throughout the whole project, link global variables to the port variables (in a user POU) as seen in the following image and then use said global variables instead of the port variables to interact with the device.
Setting up the project in RSLogix:
- Set up the iC9200 controller as an adapter RSLogix. Make sure that the input and output assembly instances match in direction an size.