Event query address description
When the interfaces of the IO-Link master coupler are set to IO-Link and IO-Link slaves are connected, the event data addresses generated by the ports correspond as shown in the table below:
| Input | |||
| Parameter Name | Description | Data Type | Byte order |
| Event length | Total number of existing master-side or slave-side events on the port (up to 255 stored simultaneously; when full, the earliest ones are overwritten) | Byte | 1 |
| life cycle | Power-on count (up to 255 counts are stored; when full, it is cleared and counting restarts) | Byte | 2 |
| run time | Runtime after power-on, in seconds; cleared to zero on power loss | Dword | 3-6 |
|
Event mode type |
Bit7~Bit4 is mode: 0001: single short; 0010: disappeared; 0011: appeared;
Bit3~Bit0 is type: 0001: Notification; 0010: Warning; 0011: Error; |
Word |
7-8 |
|
event code |
① Master-side event code of the port; see Appendix I "IO-Link Master EVENT CODE Codes". ② Slave-side event code of the port; the event code is defined by the connected IO-Link slave module. |
Word |
9-10 |
| Output | |||
| Parameter Name | Description | Data Type | Byte order |
|
Port |
Select the event port number to operate |
Byte |
1 |
|
Master or slave |
Select master or slave event 0: Master; 1: Slave. |
Byte |
2 |
|
index |
Event index to query (if more than the max number is entered, the last one is read) |
Byte |
3 |
|
clean |
Clear all events on the slave side of this port (set to 1 to take effect) Note: For the next configuration, it must be set to 0 and then to 1 to take effect |
Byte |
4 |