This command returns the timestamp value in nanoseconds. It represents the local PMC time since power on.

Fieldbus Interface
PMC_ReadTimeStamp
Inputs
Name | Data Type | Description |
---|
Enable | BOOL | Set enable to TRUE to execute the function block, FALSE to stop execution. |
PM_Controller | PMControllerType | Data structure that specifies which PMC to connect to. There should be only 1 instance of this variable for each connected PMC. |
Outputs
Name | Data Type | Description |
---|
Valid | BOOL | TRUE: output values are valid. FALSE: output values are invalid. |
TimeStamp_ns | ULINT | Timestamp value in nanoseconds. |
Conditions
Operating Conditions |
---|
Preconditions | None |
Postconditions | The Timestamp is provided in the output |
Description
This command returns the timestamp value in nanoseconds. It represents the local PMC time since power on.