Import the plc program into rslogix 5000, Configure the controller – Comtrol IO-Link Master EIP-4 User Manual

Page 81

Advertising
background image

IO-Link Master EtherNet/IP Reference Manual: 2000589 Rev. A

Chapter 6. ControlLogix Family - Example PLC Programs - 81

Chapter 6. ControlLogix Family - Example PLC
Programs

The example RSLogix 5000 PLC program is intended to provide basic working functionality:

Through a Class 1 connection, provide a PDI data block with the IO-Link port status, auxiliary bit status
and the PDI data.

Through explicit messages, provide the ability to send both read and write ISDU requests to the IO-Link
devices and receive the responses.

Through explicit messages, provide the Device Information block.

Perform the following steps to run the example PLC program on your ControlLogix family PLC.

1.

6.1. Import the PLC program into RSLogix 5000

2.

6.2. Configure the Controller

on Page 81

3.

6.3. Add the EtherNet/IP Module Interface

on Page 83

4.

6.4. Configure the Ethernet Module

on Page 85

5.

6.5. Example PLC Program Operation

on Page 90

6.

6.6. User Defined Data Structures

on Page 93

6.1. Import the PLC program into RSLogix 5000

Both the standard .ACD file and library file have been provided. If your version of RSLogix 5000 will not open
the .ACD file, then you will need to import the .L5K file.

6.2. Configure the Controller

The following are the controller settings used by Comtrol to create the example PLC program.

Note: You may need to change the controller settings to match those of your PLC.

1.

Open the RSLogix 5000 Properties page, click the General tab, enter the name, and click the Change
Controller
button.

Advertising