FunctionMLAxisReadGenStatusPipe Network motion icon

Description

Returns the status of the internal generator of the axis.

0 RUN mode (acceleration)
1 RUNNING or STOPPED
2 MOVE: Changing move destination
3 MOVE: Changing move destination
4 MOVE: Acceleration
5 MOVE: Constant speed (travel speed)
6 MOVE: Deceleration
7 MOVE: Single step (micro movement)

Arguments

Input

ID

Description

ID Name of the Axis block

 

Data type

DINT

 

Range

 

Unit

n/a

 

Default

Output

OK

Description

Returns true when function successfully executes

See more details here

 

Data type

BOOL

 

Unit

n/a

Default (.Q)

Description

Shows the status of the internal generator based on the table at the top of this topic

See more details here

 

Data type

DINT

 

Unit

n/a

Related Functions

MLAxisGenIsRdy

MLAxisStatus

Previous Function Name

MLAxisGenStatus

Example

Structured Text

MLAxisReadGenStatus(PipeNetwork.Axis1 )  ;

Ladder Diagram

MLAxisReadGenStatus: LD example

Function Block Diagram

MLAxisReadGenStatus: FBD example

Go back to the top of the page [Top]