EtherNet/IP™ Adapter3.04.02
 
Loading...
Searching...
No Matches
Generic EtherNet/IP - IO-Link Gateway (Device Type: 0x2B)

Scope

This section discusses an example application that demonstrates a vendor specific implementation of an EtherNet/IP to IO-Link gateway, using a value of 0x2B (Generic Device) as Device Type (Attribute 2 in the Identity Object Instance 1).

Partially objects as specified in the Object Library of Volume 7C Integration of IO-Link Devices into the CIP Architecture [3] are reused. They are complemented by vendor specific objects to enable explicit messaging access to parameters of connected IO-Link devices.

Object Library

IO-Link Master PHY Object

Class Code: 0x10C

The IO-Link Master PHY Object represents all physical properties of IO-Link within the IO-Link Master. Each instance of the IO-Link Master PHY Object represents a channel on the IO-Link Master.

Class Attributes

IO-Link Master PHY Object Class Attributes
Number Need in Implementation Access Rule Name Data Type Description of Attribute Semantics of Values
1 Conditional Get Revision UINT Revision of this object 1
2 Required Get Max Instance UINT Maximum instance number of this object Number of IO-Link ports supported as defined in app_generic_iolink_gateway.h

Instance Attributes

IO-Link Master PHY Object Instance Attributes
Number Need in Implementation Access Rule NV Name Data Type Description of Attribute Semantics of Values
1 Required Set NV Operating Mode USINT The configured operating mode for this port IO-Link Device Operating Mode Attribute
0:
INACTIVE. The channel is deactivated; the corresponding Process Data length for input and output is zero. The Master shall not have any activities on this channel.
1:
DO. Not supported
2:
DI. Not supported
3:
IO-LINK. The channel is configured for IO-Link communication. The IO-Link Master communicates to the IO-Link Device in IO-Link SCANMODE.
4..255:
Reserved.
Default value: 0
2 Required Get V IO-Link Channel Status DWORD Status of the IO-Link Channel
3 Required get V Baud Rate USINT The actual baud rate used between IO-Link Master and Device Attribute to return the actual baud rate on the IO-Link port.
0:
No communication established.
1:
COM1. IO-Link communication mode with transmission rate of 4.8 kbit/s.
2:
COM2. IO-Link communication mode with transmission rate of 38.4 kbit/s.
3:
COM3. IO-Link communication mode with transmission rate of 230.4 kbit/s.
4..254:
Reserved.
255:
Baud Rate unknown.