Skip to main content
Skip table of contents

Read TimeStamp

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

read_timestamp1.png

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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.