MLAxisReadGenStatus

Pipe Network motion icon

 Function - Returns the status of the internal generator of the axis.

The status of the Axis generator: acceleration, run, deceleration, change designation point, single step.

Inputs

Input

Data Type

Range

Unit

Default

Description

ID

DINT

No range

N/A

No default

ID Name of the Axis block.

Outputs

Output

Data Type

Range

Unit

Description

OK

BOOL

FALSE, TRUE

N/A

Returns TRUE when the function successfully executes.

See Function - General Rules.

Default (.Q)

DINT

 

 

Shows the status of the internal generator based on the Internal Generator Status table.

See Function - General Rules.

Remarks

  • Previous function name: MLAxisGenStatus

Internal Generator Status

Status

Description

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).

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

            MLAxisReadGenStatus(PipeNetwork.Axis1 )  ;

See Also