Overview

Use the DATA_EXCH function block to configure EtherNet/IP connected and unconnected explicit messages.

The Management_Param, the Data_to_Send, and the Received_Data parameters define the operation.

EN and ENO can be configured as additional parameters.

FBD Representation

Input Parameters

Parameter

Data type

Description

Address

Array [0...7] of INT

The path to the destination device, the content of which can vary depending on the message protocol. Use the ADDM function.

ActionType

INT

The type of action to perform. This setting = 1 (transmission followed by await reception).

Data_to_Send

Array [n...m] of INT

The EtherNet/IP and CIP request codes that define the type of message to send, plus any data that needs to be included with the request.

Refer to the to the topic Configuring the Data_To_Send Parameter.

Input/Output Parameters

Parameter

Data type

Description

Management_Param

Array [0...3] of INT

The management parameter, consisting of 4 words.

Output Parameters

Parameter

Data type

Description

Received_Data

Array [n...m] of INT

The EtherNet/IP response.