MLPmpStatus

Pipe Network motion icon

 Function - Returns the status of the PMP block generator.

Inputs

Input

Data Type

Range

Unit

Default

Description

EN

BOOL

FALSE, TRUE

N/A

No default

Enables execution.

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

ID name of a PMP function block in the Pipe Network.

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

 

N/A

Returns the status of the PMP block generator.

Value

Description

0

  • Indicates the PMP block is idle.
  • No command is currently running in the generator.
    It can be used to determine that a previous move is complete.

1

Indicates the PMP block is either accelerating to a position or speed, or is decelerating to a position or speed.

2

Indicates the PMP block is running at a constant speed.

Remarks

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

PMP_Status := MLPmpStatus ( PipeNetwork.PmpMaster )  ;
Done :=TRUE;