• No results found

EtherNet/IP Object Classes

The following services are accessible by using EtherNet/IP Explicit Messaging.

Identity (0x01)

This object allows reading the identity of the module.

Class Attributes

Id Description Get Set Limits

1 Revision   1

2 Max Instance   1

3 Number of instances   1

 Supported  Not supported

Class Services

Id Service Param. Options

01h Get_Attributes_All

0Eh Get_Attribute_Single

Instance Attributes

Id Description Get Set Values

4 Pins 5 Pins

01h Vendor Id   8

02h Device Type   12

03h Product Code   0x755 0x756

04h Revision   Not yet defined

05h Status   See table below

06h Serial Number   12 digits

07h Product Name   TCIEI-888P-DYU TCIEI-888P-D1U

 Supported  Not supported

HarshIO 600 eIP • 56 • IP67 IO-Link Modules for EtherNet/IP

Description Values

Owned Set to 1 when at least one EO connection is present

Configured Set to 1

Minor Recoverable fault - Set when UB detect an under voltage

Major Recoverable fault - Set when Rotary position changes

- Set when Configuration Control changes (attr3, 0xF5) - Set when Interface Configuration changes (attr5, 0xF5) - Set when IP address is lost.

Extended Status

At least one faulted I/O connection Managed by stack.

No IO connection established Managed by stack

Major Fault Same as “Major Recoverable fault”

At least one I/O connection in Run mode Managed by stack At least one I/O connection established, all in Idle mode Managed by stack

Instance Services

Id Service Param. Options

01h Get_Attributes_All

05h Reset 0: supported

1: supported 2: supported 0Eh Get_Attribute_Single

HarshIO 600 eIP • 57 • IP67 IO-Link Modules for EtherNet/IP

Message Router (0x02)

Class Attributes

Id Description Get Set Limits

1 Revision  

4 Optional Attribute List  

5 Optional Service List  

6 Max ID of class attributes  

7 Max ID of instance attributes  

 Supported  Not Supported

Class Services

Service Param. Options

Get_Attributes_All 

Get_Attribute_Single 

 Supported  Not Supported

Instance Attributes

Id Description Get Set Limits

1 Object List  

2 Maximum connections supported  

3 Number of active connections  

4 Active connections list  

 Supported  Not Supported

Instance Services

Service Param. Options

Get_Attributes_All 

Get_Attribute_Single 

Supported  Not Supported

HarshIO 600 eIP • 58 • IP67 IO-Link Modules for EtherNet/IP

Assembly (0x04)

This object allows to access I/O process data.

Class Attributes

Id Description Get Set Limits

1 Revision   2

2 Max Instance   199

3 Number of instances   10

 Supported  Not supported Class Services

Id Service Param. Options

0Eh Get_Attribute_Single

Instance Attributes

Id Description Get Set Limits

3 Data   Set command is not

allowed if an exclusive owner connection is established

 Supported  Not supported Instance Services

Id Service Param. Options

0Eh Get_Attribute_Single

10h Set_Attribute_Single

HarshIO 600 eIP • 59 • IP67 IO-Link Modules for EtherNet/IP

Connection Manager (0x06)

Class Attributes

Id Description Get Set Limits

1 Revision   1

2 Max Instance   1

3 Number of instances   1

 Supported  Not supported

Class Services

Id Service Param. Options

01h Get_Attributes_All

0Eh Get_Attribute_Single

Instance Attributes

Id Description Get Set Limits

1 Open Requests  

2 Open Format Rejects  

3 Open Resource Rejects  

4 Open Other Rejects  

5 Close Requests  

6 Close Format Requests  

7 Close Other Requests  

8 Connection Timeouts  

 Supported  Not supported

Instance Services

Id Service Param. Options

01h Get_Attributes_All

0Eh Get_Attribute_Single

4Eh Forward_Close

54h Forward_Open Class 1 / Class 3

5Bh Large_Forward_Open Class 3 only

HarshIO 600 eIP • 60 • IP67 IO-Link Modules for EtherNet/IP

 Supported  Not supported

Class Services

Id Service Param. Options

01h Get_Attributes_All

Obtained by BOOTP, DHCP or stored Value

Obtained by BOOTP, DHCP or stored Value

Valid con obtained by hardware setting I/F Configuration Pending: The bit 5 shall be set to 1 when the Interface configuration has changed (Set new IP parameters in the attribute #5 or rotaries change).

ACD Fault: The bit 6 shall be set to 1 if the attribute #11 is not empty.

2 Configuration Capability  - DHCP Client

- Config. Settable - Hardware Configurable

- Interface Configuration change requires reset - ACD capable

 Expected values = 0xF4

3 Configuration Control  DHCP Stored Value DHCP Stored Value

4 Physical Link  0x20 0xF6 0x24 0x03

5 Interface Configuration  Current values (see Rotaries chapter for details on how IP is calculated when set by rotaries)

6 Host Name  Values from DHCP server Last saved values Value is cleared at each reboot when IP is configured using rotaries thus:

- Empty if no “set attribute” has been done since last reboot.

- Current values in other cases

7 Safety Network Number  N/A

8 TTL Value  N/A

9 Mcast Config  N/A

10 Select ACD  Current ACD configuration

11 LastConflictDetected  If a conflict was detected return the last values else all values to 0 12 EtherNet/IP Quick_Connect  Current Quick Connect

13 Encapsulation Inactivity Timeout Current Values (default 120)

 Supported  Not supported Instance Services

Id Service Param. Options

01h Get_Attributes_All

0Eh Get_Attribute_Single

10h Set_Attribute_Single

HarshIO 600 eIP • 61 • IP67 IO-Link Modules for EtherNet/IP

 Supported  Not supported Class Services

Id Service Param. Options

01h Get_Attributes_All

02 Interface Flags   Link Status: shall be set is a link is present on module Half/Full Duplex: shall reflect the duplex of the port Negotiation Status:

- If no Link : Auto-negotiation not attempted (in this case Link Status and Half/Full Duplex forced to “not set”)

- If Link and attr6 not in negotiate: Auto-negotiation not attempted

- Other case: Current auto-negotiation result

- Link Status set - Half/Full Duplex set - Auto-negotiation no

attempted set

03 Physical Address   Mac address (All line below shall be consistent):

- Displayed on the back label and on side label.

- use by the module on Ethernet

04 Interface Counters   -

05 Media Counters   -

06 Interface Control   Current configuration

07 Interface Type Twisted-Pair The I/F is internal to the device

08 Interface State The interface is enabled 09 Admin State Enable the interface

10 Interface Label   ETH1 ETH2 Internal Port

11 Capabilities 100, Half (0) / 100, Full (1) 100, Full (1)

 Supported  Not supported Instance Services

Id Service Param. Options

01h Get_Attributes_All

0Eh Get_Attribute_Single

10h Set_Attribute_Single 4Ch Get_and_Clear

HarshIO 600 eIP • 62 • IP67 IO-Link Modules for EtherNet/IP

 Supported  Not supported

Class Services

Id Service Param. Options

0Eh Get_Attribute_Single 3 =Transfer Upload Initiated

02 Instance Name   Void if File empty “EDS and Icon Files”

03 Instance Format Version   0 if File empty 1

04 File Name   “DSFile#X.bin” “EDS.gz”

05 File Revision   Shall be the EDS revision file

06 FileSize   Calculated Calculated

07 File Checksum   Calculated Calculated

08 Invocation Method   100 (user spec.) 255 (Not applicable)

09 File Save Parameters   0x10 0x00

10 File Type   0 (Read Write) 1 (Read Only)

11 File Encoding Format   0 (Binary) 1 (Compressed)

 Supported  Not supported

Instance Services

Id Service Param. Options

0Eh Get_Attribute_Single

HarshIO 600 eIP • 63 • IP67 IO-Link Modules for EtherNet/IP

DLR (0x47)

Class Attributes

Id Description Get Set Limits

1 Revision   3

2 Max Instance   1

 Supported  Not supported Class Services

Id Service Param. Options

0Eh Get_Attribute_Single

Instance Attributes

Id Description Get Set Limits

1 Network Topology  

2 Network Status  

3 Ring Supervisor Status  

4 Ring Supervisor Config  

5 Ring Faults Count  

6 Last Active Node on Port 1  

7 Last Active Node on Port 2

8 Ring Protocol Participants Count 9 Ring Protocol Participants List

10 Active Supervisor Address

11 Active Supervisor Precedence

12 Capability Flags

 Supported  Not supported Instance Services

Id Service Param. Options

01h Get_Attributes_All

0Eh Get_Attribute_Single

HarshIO 600 eIP • 64 • IP67 IO-Link Modules for EtherNet/IP

QoS (0x48)

Class Attributes

Id Description Get Set Limits

1 Revision   1

2 Max Instance   1

3 Number of Instance   1

 Supported  Not supported

Class Services

Id Service Param. Options

0Eh Get_Attribute_Single

Instance Attributes

Id Description Get Set Limits

04 DSCP Urgent   DSCP value for CIP transport class 0/1 Urgent

priority messages. The default value shall be 55

05 DSCP Scheduled   DSCP value for CIP transport class 0/1

Scheduled priority messages. The default value shall be 47

06 DSCP High   DSCP value for CIP transport class 0/1 High

priority messages. The default value shall be 43

07 DSCP Low   DSCP value for CIP transport class 0/1 Low

priority messages. The default value shall be 31

08 DSCP Explicit DSCP value for CIP explicit messages (transport

class 2/3 and UCMM). The default value shall be 27

 Supported  Not supported

Instance Services

Id Service Param. Options

01h Get_Attribute_All

0Eh Get_Attribute_Single

10h Set_Attribute_Single

HarshIO 600 eIP • 65 • IP67 IO-Link Modules for EtherNet/IP

IO-Link (0x310)

Class Attributes

Attr ID Access Rule NV-RAM Name Data Type Description of

Attribute Semantics of Value

1 Get Revision UINT Revision of the Object 1

2 Get Max Instance UINT Maximum number of

instance of this object

8

3 Get Number of instances UINT Number of object

instances currently created at this class level of the device.

8

32 Get Active Instances BYTE One bit represent one

instance, port configured in IO-Link mode

1 => IO-Link Port 0 => No IO-Link Port

Class Services

Service Code Service Name Description of Service

0x01 Get_Attribut_All

0x0E Get Attribut Single

HarshIO 600 eIP • 66 • IP67 IO-Link Modules for EtherNet/IP

Attribute Semantics of Value

1 Get IO-Link Status UINT See input assembly as well Validation status / Port Existing or not Data Storage Status

2: Compatible with Backup and Restore 3: Compatible with Restore

4: Identical

5: Identical with Backup and Restore 6: Identical with Restore

ARRAY OF 2 BYTE Vendor Id Only used is Mode is not set to “None”

Values comes from Device ARRAY OF 2 BYTE Vendor Id

ARRAY OF 3 BYTE Device Id

USINT Reserved

USINT Protocol Id

USINT ISDU support

USINT SIO Mode Support

USINT PD In Data Length

USINT PD Out Data Length

USINT Master Cycle Time

USINT Min Cycle Time

4 Get Serial Number

Associated SHORT_STRING

SN associated with

the IO-Port Values comes from Device 5 Get Serial

Number

SHORT_STRING SN from IO-Link Device Connected

Values comes from Device

6 Get DS File UINT DS File Instance

USINT Number of Events Size of Event details array (Max 64) ARRAY OF STRUCT Event Details

USINT Seq Count

BYTE EventQualifier Type, mode and source of the Event

UINT EventCode The identifier of an actual Event

HarshIO 600 eIP • 67 • IP67 IO-Link Modules for EtherNet/IP Instance Services

Service

Code Service Name Description of Service

0x01 Get_Attribut_All 0x0E Get Attribut Single

0x10 Set Attribut Single

0x4B

Learn serial Number Only works when module is in validation identical. The current saved SN is clear and the one of the connected IO-Link device is learnt and saved in memory This command shall be sent when no IO-Link device is connected.

0x4C Get and Clear Return All events and clear them

0x50 Read ISDU Read ISDU request on the IO-Link device connected on the port 0x51 Write ISDU Write ISDU request on the IO-Link device connected on the port

0x54

Force Backup Request the module to realize an upload DS command (From the device to the Master). This command is mostly used after Write ISDU to save the change into the DS file.

The command has no parameters.

Note: The Data storage mode must be enabled to perform this command

0x55

Force restore Request the module to realize a Download DS command (From the Master to the device). This command is mostly used after a bad Write ISDU command in order to restore the initial configuration to the device.

The command has no parameters.

Note: The Data storage mode must be enabled to perform this command

0x56

Synchronize DS

cache to Master This command will write the current DS file in “Object file cache” to the Master.

This command shall be used once a file has been successfully downloaded to the Module using the object file.

If an IO-Link DS event occurs between the Object File Download and the Synchronize command, then the Synchronize command only update the cache with the data file stored into the Master and downloaded file is lost.

The command has no parameters.

Service Read ISDU details

This service is used to read IO-Link device parameters Request:

Parameters Description

Class 0x310 IO-Link parameter object

Instance attributes 1…8 IO-Link port number where the IO-Link device is connected Instance service 0x50 READ ISDU

Data Name Data type Description

Index UINT16 Targeted index of the ISDU request Sub-Index UINT8 Targeted sub-index of the ISDU request Reserved UINT8 Shall be set to 0

Len UINT16 Len for the ISDU request. IDSU request can’t be greater than 512 bytes

Positive Response:

The response has the following structure

Name Data type Description

Len UINT16 Len for the ISDU request. IDSU request can’t be greater than 512 bytes Data UINT8[] Array of “Len” UINT8 data that content the data read

HarshIO 600 eIP • 68 • IP67 IO-Link Modules for EtherNet/IP Negative Response:

If the read fails, the response has the following

Name Data type Description

IO-Link master Error

UINT 1 Service not available 2 Port Blocked 3 Timeout 4 Invalid index 5 Invalid sub index 6 Wrong port

7 Wrong port function 8 Invalid length 9 ISDU not supported

IO-Link device error USINT Please refer to the specific IO-Link device user’s manual IO-Link device additional error USINT Please refer to the specific IO-Link device user’s manual

Example:

Reading the L+ voltage of the Molex HarshIO IO-Link digital hubs (Refer to the TEDIO-8D0P-808 user’s manual) connected to Port 0

Parameters Description

Class 0x310 IO-Link parameter object

Instance attributes 8 IO-Link port number where the IO-Link device is connected Instance service 0x50 READ ISDU

Data Name Data type Description

Index UINT16 0x46 0x00

Sub-Index UINT8 0x00

Reserved UINT8 0x00

Len UINT16 0x02 0x00

The 2 bytes response will be 00 F0. (24V) Service Write ISDU details

This service is used to write IO-Link device parameters Request:

Parameters Description

Class 0x310 IO-Link parameter object

Instance attributes 1…8 IO-Link port number where the IO-Link device is connected Instance service 0x51 WRITE ISDU

Data Name Data type Description

Index UINT16 Targeted index of the ISDU request Sub-Index UINT8 Targeted sub-index of the ISDU request Reserved UINT8 Shall be set to 0

Len UINT16 Len for the ISDU request. IDSU request can’t be greater than 512 bytes

Data UINT16 2 first bytes of data to write (needed for 32 bits data alignment) Data[] SINT[len-Data] Data to write. Length of data shall be equal to “Len-Data”

HarshIO 600 eIP • 69 • IP67 IO-Link Modules for EtherNet/IP Positive Response:

No data are set into the response.

Negative Response: Refer to the above chapter Service Read ISDU details Example:

Changing the current input filter delay 1ms to 3ms of the Molex HarshIO IO-Link digital hubs (Refer to the TEDIO-8D0P-808 user’s manual) connected to Port 0.

Parameters Description

Class 0x310 IO-Link parameter object

Instance attributes 1 IO-Link port number where the IO-Link device is connected Instance service 0x51 Write ISDU

Data Name Data type Description

Index UINT16 0x42 0x00

Sub-Index UINT8 0x00

Reserved UINT8 0x00

Len UINT16 0x01 0x00

Data[] SINT[1] 0x03 (5ms)

HarshIO 600 eIP • 70 • IP67 IO-Link Modules for EtherNet/IP

Related documents