SMC_ETC_Timestamp_32bitTo64bit (FUN)ΒΆ
FUNCTION SMC_ETC_Timestamp_32bitTo64bit : SMC_ERROR
Converts a 32bit timestamp to a 64bit timestamp that is less than or equal to the timestamp of the actual values, plus one task cycle. The function computes the greatest such timestamp. The lower 32 bits of the returned timestamp are equal to Timestamp32_ns.
- InOut:
- Scope - Name - Type - Comment - Inout Const - Axis- AXIS_REF_SM3- Input - Timestamp32_ns- UDINT- The 32 bit timestamp in nanoseconds to convert. - Return - SMC_ETC_Timestamp_32bitTo64bit- SMC_ERROR- Output - Timestamp64_ns- ULINT- The resulting 64 bit timestamp in nanoseconds.