Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Products
  • Automation Systems
  • Machine Automation Controllers

Ethernet/IP Setup Guide Using Sysmac

Written by Arlo D'Cruz

Updated at February 13th, 2023

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Products
    Automation Systems Control Components Motion & Drives Quality control & Inspection Robotics Safety Sensing Services Software Switching Components
  • Amplify e-Store
    e-Store public
  • Public CSC
+ More

Introduction

The purpose of this document is to demonstrate the process of setting up an Ethernet/IP network using Sysmac. 

Delete

Info

The Devices used in this example have been pre-allocated two IP address. This example does not go through the configuration of the IP addresses.

To set the IP of the NX-EIC unit, see the following here

Configuration

The following configuration was used:

Procedure

Step 1 - Configuring the IP Address of the PC

Change the IP address of the Ethernet port on the PC to the same subnet as the devices used.
As seen above, the NX1P2 has an IP Address of 192.168.250.1 and the NX-EIC202 has an IP address of 192.168.250.2. Both of them have a subnet of 192.168.250.xx. Change the IP address of the PC so that it has the format of 192.168.250.xx where xx can be any number that is not 1 or 2. 100 was used below.

Next, check if the PLCs are showing up on the Network by going to the Command prompt.

Type in the command "ping 192.168.250.1" to see if the PC can detect the NX1P2 through the Ethernet Port. The following shows the result where the PLC is present on the Network. Do this also for the NX-EIC202 on "192.168.250.2".

Delete

Step 2 - Determine tag sizes

Delete

Info

This step details how to get the tag sizes for an NX-EIC202 coupler, for other devices check the manual from the manufacturer.

Delete

Info

By default, the NX-EIC202 coupler has 2 bytes in the input area which include status information

Method 1 - Sysmac

  1. Insert a coupler to your project.

  2. Add the NX IO to match the physical configuration of the IO.
  3. Rick click the coupler in the Multiview Explorer to view the I/O Allocation.
  4. Make a note of the tag sizes. In this case we have 4 input bytes and 2 output bytes.

Method 2 - NX-IO Configurator

  1. Create a new project.
  2. Add the NX IO to match your coupler.
  3. Rick click the coupler in the Multiview Explorer to view the I/O Allocation.
  4. Make a note of the tag sizes. In this case we have 4 input bytes and 2 output bytes.
Delete

Step 3 - Create global variables

Create Input and Output type variables that match the IO size of the tags determined in Step 2. In this example we will use an array of bytes as a shortcut, however it is also possible to use a data structure or multi-variable tag-sets instead. Ensure to set Network Publish column as shown below.

Delete

Step 4 - Create Tag sets

A tag is composed of one or more variables that is used to pass information to and from the Ethernet/IP master. 

  1. Open the Ethernet/IP Connection settings window
  2. Choose the port you wish to edit and right click to choose "Edit".
  3. Import the global variables to your tag sets by clicking "Registration All" and then register.
Delete

Step 5 - Create Connection

  1. Add the EDS file of the target device (Only required for 3rd party Ethernet/IP devices). Right click the Target Device menu in the Toolbox and select Display EDS Library.Click Install, navigate to the directory of you EDS and select the desired EDS.
  2. Click the + icon to add the device.

  3. Enter the Node address, Model Name and Revision then click Add.

  4. (Optional step depending on the target device, required for the NX-EIC202) Set the tag sizes of the target device. Right click the newly created device and select Edit. 

  5. Enter the sizes determined in Step 2 and click OK.

  6. Go to the Connection window.

  7. Add a new Connection with the + button.

  8. Set the target device.

  9. In the Target Variable column, press Ctrl + Space to view available assemblies and choose the desired assembly.

  10. Set the Originator variables using the dropdown menus.

  11. Go Online to the PLC and then Synchronize your changes. By default this will only transfer the global variables.
  12. Transfer the Ethernet/IP settings.

Now the Ethernet/IP configuration is complete, you can monitor the connection and check for errors.
A blue circle indicates a successful connection.

Delete




ethernet ethernet/ip eip nx nj nx-eic202

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Major or Minor Revision mismatch for EtherNet/IP Error 0116
  • Ethernet/IP Setup Guide Using Network Configurator

Definition by Author

0
0
Expand