Connect to GS20 VFD with EtherNet/IP Implicit

This procedure will walk through setting up read/write communications between the LS XEM PLC and GS20 AC Drive using the EtherNet/IP protocol.

EtherNet/IP communications is set through the Project configuration. No ladder programming is required for communications.

Key Steps:

  • Add Variable Tags for EIP Comms to GS20

  • Register GS20 EDS file for use in the EIP Configuration.

  • Complete the P2P 03 EIP Configuration to set up communication.

  • Save and Download the program.

Process Overview

Connection Procedure

Step Action
1

First, create the Variable tags that will be used for GS20 VFD data. Create 2 tag arrays for the EIP data :

  1. Command tag array will have 6 bytes (data transferred in 6 bytes defined by the EDS File.)

    Monitor tag array will have 32 bytes (data transferred in 32 bytes defined by the EDS File.)

Enter Tag name. Choose Array Data type and press Enter. Fill out the Array window with the number of registers and Array type (BYTE).

Tip: Double-click in Initial Value to add descriptions to individual array elements.

Select the EIP/OPC UA box. This indicates the tag will be used for EtherNet/IP data, and allows it to show up in the EIP Block window.

2

Register the EDS file for use in the P2P 03 Network.

The next step is to define the EtherNet/IP device with an EDS file. The GS20 AC Drive EDS configuration will be registered in XG5000. This will be referenced later when the network is configured.

  • From the Main menu, select View è EDS Information window. Notice the window may also be docked on the right side of the screen.

  • Right-click in the EDS window and select Register EDS. Navigate to the GS20 EDS file (link) and select Open. The new file shows up in the list. This will be used later in the process.

3

Add XBL-EIPT card to I/O Configuration.

  1. In the Project window, click I/O Parameter.

  2. From the dropdown menu add the XBL-EIPT card.

  3. Click Apply.

  4. Click No. (There are no PLC generated tags associated with the EIPT card)

4

Configure the XBL-EIPT Card.

  1. In the Project window under Network Configuration, double-click LSPLC [B0S2 XBL-EIPT.

  2. Enter the Basic Settings per the network.

  3. Select Use Tag. This is very important as it enables use of User Variables from the Tag database in the P2P block.

5

Add the EtherNet/IP P2P 03 Network.

  1. Right-cClick Internal XBL-EIPT[TAG].

  2. Choose Add Itemè P2P Communication.

  3. Select 03 and click OK. This will create the P2P 03 configuration selection in the Project tree.

  4. The P2P 03 Network is ready for configuration.

6

Drag the EDS file for use in the P2P 03 Network-EIP Settings Window.

  1. Open the EIP Settings window in the P2P 03 Network.

  2. Open the EDS window docked on the right side of the screen.

  3. Navigate to the GS20 EDS file. Drag the Ver1.1 icon into the EIP Settings screen. You will see the GS20 icon show up and the EDS channel config window will appear.

  4. Enter the IP address of the GS20 drive. This will be set as Channel 0 of your EIP network. Additional drives would be dragged into the area as well and given unique IP addresses.

7

View the Channel window for the EtherNet/IP Configuration of the GS20 VFD. Notice that Channel 0 has been set up as an Implicit Client with the IP address assigned in EIP settings in the previous step.

The channel is now available for selection in the P2P Block window.

8

Use the EIP Block window to configure the EIP Communications to the GS20. Double-click EIP Block window and the LSPLC EIP 03 Block configuration window will open.

If 0. Drive Control and Status is selected, notice two index blocks are required for configuration, Control and Status.

If 1. Drive Status (Listen only) is selected, only one index block is present for configuration, Status.

9

Set the EIP Block configuration fields. Drop down selections are populated based on EDS files.

  1. Set the connection type.

  2. Click Parameter box to open the window. This information is pulled from the EDS file and is not configurable. Select OK to populate the information to the appropriate columns.

  3. Enter Timeout period from the drop down.

  4. Double-click each Local tag field. The EIP tags created will show up in the selection box. Choose the tag that corresponds with each Index.

The completed configuration will look similar to the example below. The Red highlight will be removed if all data is correct.

10

Write the program to the PLC and Monitor Status.

  1. Save and Verify the program (at least one rung of ladder or ST code must be added for the program to compile).

  2. Write to the PLC. Verify that P2P 03 is enabled. Run the PLC and communications will be active

Monitor Status of the EIP communication.

Add EIP Variables to the Monitor Window. Verify drive data is being transferred.

 

 

 

 

 

 

 

 

 

LP207