FunctionMLAxisTimeStampPipe Network motion icon

Description

Returns the timestampClosed A timestamp is a sequence of characters, denoting the date and/or time at which a certain event occurred of the triggered axis.

Arguments

Input

En

Description

Enables execution
 

Data type

BOOL
 

Unit

N/A

 

Default

ID

Description

ID Name of the Axis block.

 

Data type

DINT

 

Range

 

Unit

N/A

 

Default

InputID

Description

ID of the triggered Fast input of an axis, 0=first , 1=second (ie IN1 and IN2 on S300Closed "Servostar 300 drive" See Servo Drive in Glossary).

 

Data type

DINT

 

Range

[0, 1]

 

Unit

N/A

 

Default

edge

Description

Configures the Inputs as 0= Disabled, 1=Rising EdgeClosed A rising edge is the transition of a digital signal from low to high. It is also called positive edge, 2=Falling edge

 

Data type

DINT

 

Range

[0, 2]

 

Unit

N/A

 

Default

Output

OK

Description

Returns true when function successfully executes.

 

Data type

BOOL

 

Unit

N/A

Q

Description

Returns the time stamp value. This value is explained in How To Interpret a Timestamp.

 

Data type

DINT

 

Unit

microseconds

Related Functions

MLAxisCfgFastIn

MLAxisRstFastIn

MLAxisIsTrigged

Example

Structured Text

 

MLAxisTimeStamp(PipeNetwork.Axis1, 0, 1 ) ;

 

Ladder Diagram

MLAxisTimeStamp: LD example

Function Block Diagram

MLAxisTimeStamp: FBD example

Go back to the top of the page [Top]