Chapter 2. functionality descriptions, Event handling – Comtrol IO-Link Master EIP-4 User Manual

Page 17

Advertising
background image

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

Chapter 2. Functionality Descriptions - 17

Chapter 2. Functionality Descriptions

This appendix discusses the following:

2.1. Event Handling

2.2. ISDU Handling

on Page 21

2.1. Event Handling

The IO-Link Master event handling is designed to provide real-time updates of event codes received directly
from the IO-Link device. The IO-Link event code:

Is included in the second 16-bit word of the Input Process Data (PDI) block.

-

An active event is indicated by a non-zero value.

-

Inactive or no event is indicated by a zero value.

Two methods are provided to clear an event:

-

Enable the Clear Event After Hold Time option.

The IO-Link Master keeps, or holds, the active event code in the PDI block until the configured Active
Event Hold Time
has passed.

The IO-Link Master then clears the event code in the PDI block and waits until the Clear Event Hold
Time
has passed before including another event code in the PDI block.

-

Enable the Clear Event In PDO Block option.

• The IO-Link Master monitors the PDO block received from the PLC.

• The IO-Link Master expects the first entry of the PDO block to indicate an event code to be cleared.

• If there is an active event code in the PDI block and the PDO block both contain the same event

code, the event code is cleared in the PDI block.

• The IO-Link Master then clears event code in the PDI block and waits until the Clear Event Hold

Time has passed before including another event code in the PDI block.

The two methods can be used separately or together to control clearing of events.

The next subsections illustrate the event clearing process for the various event configurations.

Advertising