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
AxisAXIS_REF_SM3Input
Timestamp32_nsUDINTThe 32 bit timestamp in nanoseconds to convert.
Return
SMC_ETC_Timestamp_32bitTo64bitSMC_ERROROutput
Timestamp64_nsULINTThe resulting 64 bit timestamp in nanoseconds.