MLAxisTimeStamp

Pipe Network motion icon

 Function - Returns the timestamp of the triggered axis.

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

En

BOOL

FALSE, TRUE

N/A

No default

Enables execution.

ID

DINT

1 to 1024

N/A

No default

ID of the Axis block.

InputID

DINT

See Description.

N/A

No default

ID of the triggered Fast input of an axis.

  • 0 = First.
  • 1 = Second (e.g., IN1 and IN2 on S300).

edge

DINT

See Description.

N/A

No default

Configures the Inputs as:

  • 0 = Disabled.
  • 1 = Rising edge.
  • 2 = Falling edge.

Outputs

Output

Data Type

See Data Types.

Range

Unit

Description

OK

BOOL

FALSE, TRUE

N/A

Returns TRUE when the function successfully executes.

Q

DINT

No range

Microseconds

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

MLAxisTimeStamp(PipeNetwork.Axis1, 0, 1 ) ;

See Also