FunctionMLPmpStatusPipe Network motion icon

Description

Returns the status of the PMP block generator.

Arguments

Input

EN

Description

Enables FB to be executed.

 

Data type

BOOL

 

Range

0, 1

 

Unit

N/A

 

Default

BlockID

Description

ID Name of the PMP function block in the Pipe Network

 

Data type

DINT

 

Range

[-2147483648, 2147483648]

 

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

Returns the status of the PMP block generator

 

Value

Description

0

Indicates that 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 that the PMP block is either accelerating to a position or speed, or is decelerating to a position or speed.

2

Indicates that the PMP block is running at a constant speed.

 

Data type

DINT

 

Unit

N/A

Example

Structured Text

 

PMP_Status := MLPmpStatus ( PipeNetwork.PmpMaster ) ;

Done :=TRUE;

 

Ladder Diagram

MLPmpStatus: LD example

Function Block Diagram

MLPmpStatus: FBD example

Go back to the top of the page [Top]