Comtrol IO-Link Master EIP-4 User Manual

Page 91

Advertising
background image

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

Chapter 6. ControlLogix Family - Example PLC Programs - 91

Example PLC Program Operation

-

When the device status transitions to active (2): The PrtN_Operational tag is enabled (latched).
This enables explicit message communication to the IO-Link Master on Rungs 3-6.

-

When the device status transitions to inactive (0) or initializing (1): The PrtN_Shutdown flag is
enabled (latched) which causes a full shutdown of the port.

c.

Rung 2:

This rung clears all flags necessary to cleanly shut down a port.

d.

Rung 3:

When the PrtN_SendBlkISDUReq tag is enabled, this rung sends an explicit message to the IO-Link
Master. This message starts a blocking ISDU process where the IO-Link Master will not return a MSG
response until all ISDU commands have been processed.

e.

Rung 4-5:

• When the PrtN_SendNonBlkISDUReq tag is enabled, this rung sends an explicit message to the IO-

Link Master.

-

This message starts a blocking ISDU process where the IO-Link Master returns a MSG
response immediately after verifying the ISDU request.

-

The IO-Link Master then processes all ISDU commands within the request.

-

The IO-Link returns In-Process statuses until all ISDU commands have been processed.

• When the PrtN_GetNonBlkISDUResp tag is enabled, this rung sends an explicit message to the IO-

Link Master to retrieve the ISDU response.

• Run 7 enables (latches) GetNonBlkISDUResp as soon the MSG in Rung 4 has completed

Advertising