X20 system modules • Other functions • X20DS438A
X20 system User's Manual 3.10
2267
4.26.5.9.7.2 IoLinkTimestampInStatusSeq
Name:
IoLinkTimestampInStatusSeq01 to IoLinkTimestampInStatusSeq04
This register indicates information about the timestamp input.
Data type
Value
USINT
See bit structure.
Bit structure:
Bit
Description
Value
Information
0 - 3
Sequence number
0 to 15
The sequence number is increased by 1 each time a valid time-
stamp is received. If the sequence number is increased by more
than 1, it means that the event was lost.
4
Event 1 triggered by application
x
Signal state when timestamp occurs
5
Event 2 triggered by application
x
Signal state when timestamp occurs
Example:
Signal state when timestamp occurs
–
Photoelectric sensor triggered → This bit = 0
–
Photoelectric sensor not triggered → This bit = 1
6
Reserved
-
0
No error
7
Timestamp error
1
An error occurred on the IO-Link device. Possible causes:
•
More timestamps were generated than could be trans-
ferred.
•
The value of the IO-Link timestamp exceeded the per-
mitted range of values.
In both cases, it may help to reduce the IO-Link cycle time.
4.26.5.9.7.3 IoLinkTimestampOut
Name:
IoLinkTimestampOut01 to IoLinkTimestampOut04
The user can write the net time for the output timestamp to this register.
The net time is automatically converted to an IO-Link timestamp. The event is triggered at the defined net time.
The IoLinkTimestampOutStatus register is used for acknowledgment.
Information:
The net time must be at least three IO-Link cycles in the future; otherwise, a warning is set in IoLink-
TimestampOutStatus.
This register's data type must match the format configured in register 4.26.5.9.4.1 "ChannelMode", bit
26.
Data type
Value
INT
-32,768 to 32,767
DINT
-2,147,483,648 to 2,147,483,647
4.26.5.9.7.4 IoLinkTimestampOutCtrlSeq
Name:
IoLinkTimestampOutCtrlSeq01 to IoLinkTimestampOutCtrlSeq04
This register is used to control how the timestamp is applied.
Data type
Value
USINT
See bit structure.
Bit structure:
Bit
Description
Value
Information
0 - 3
Sequence number
0 to 15
Output timestamp and application event bits applied when the
sequence number is increased by 1
4
Application event 1
x
Output state at the timestamp
5
Application event 2
x
Output state at the timestamp
0
Do not acknowledge
6
Acknowledge warning
1
Acknowledge warning
0
Do not acknowledge
7
Acknowledging errors
1
Acknowledging errors