Prtn_deviceinformation definition – Comtrol IO-Link Master EIP-4 User Manual

Page 98

Advertising
background image

98 -

Chapter 6. ControlLogix Family - Example PLC Programs

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

PrtN_DeviceInformation Definition

6.7.1. PrtN_DeviceInformation Definition

The IO-Link Master requests this information from the IO-Link device during the IO-Link device
initialization process. It is then made accessible via explicit messages. The example PLC program
automatically requests this information block when the device status transitions to active.

PrtN_ ISDUSingleRespData

ISDU
response
parameters

An alternative ISDU response format. Must be used
with PrtN_ISDUReqArray4Byte.

RepeatISDURequests

BOOL

If enabled, instructs all subroutines to repeat any
ISDU requests upon completion. Intended for
testing purposes. May be enabled by end user.

Run

BOOL

MainProgram only.

Allows the ProcessIoLinkPortN subroutine calls if
enabled (1).

Prevents the ProcessIoLinkPortN subroutine calls if
disabled (0).

Parameter Name

Data

Description

VendorName

64 ASCII
characters

Requested from ISDU data block index 16, contains the
Vendor Name description of the IO-Link device.

VendorText

64 ASCII
characters

Requested from ISDU data block index 17, contains the
Vendor Text description of the IO-Link device.

ProductName

64 ASCII
characters

Requested from ISDU data block index 18, contains the
Product Name description of the IO-Link device.

ProductId

64 ASCII
characters

Requested from ISDU data block index 19, contains the
Product ID description of the IO-Link device.

ProductText

64 ASCII
characters

Requested from ISDU data block index 20, contains the
Product Text description of the IO-Link device.

SerialNum

16 ASCII
characters

Requested from ISDU data block index 21, contains the
Vendor Specific Serial Number of the IO-Link device.

HardwareRev

64 ASCII
characters

Requested from ISDU data block index 22, contains the
Hardware Revision of the IO-Link device.

FirmwareRev

64 ASCII
characters

Requested from ISDU data block index 23, contains the
Firmware Revision of the IO-Link device.

DevicePdiLength

INT

Length of valid PDI data from IO-Link device or port (if
not in I/O Link mode).

DevicePdoLength

INT

Length of valid PDO data that can accepted by the IO-
Link device or port (if not in I/O Link mode).

PdiBlockLength

INT

The configured PDI data block length. This includes the
header bytes and any PDI data.

PdoBlockLength

INT

The configured PDO data block length. This includes the
header bytes and any PDO data.

InputRxPdiOffset

INT

Provides the index into the Class 1 I/O input data
received from the IO-Link Master. The index corresponds
to the configured PDI data format of the port on the IO-
Link Master. Used to automatically index into the input
data and retrieve the PDI data block.

Tag Name

Value Range

Description

Advertising