FunctionMLPmpRunPipe Network motion icon

Description

Jog the generator at the requested speed.

Arguments

Input

EN Description

Enables FB to be executed.
Is only recognized if the PMP generator is Idle or at constant velocity as determined from the MLPmpStatus function.

  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

Speed Description

The desired rate at which to Jog.

If the speed is 0.0 User Units / second the PMP block decelerates to zero speed and switches to the Idle state (0).

  Data type

LREAL

  Range

  Unit

User unit/sec

  Default

Output

Default (.Q)

Description

Returns True if the MLPmpRun successfully completed.

See more details here.

  Data type

BOOL

  Unit

N/A

Related Functions

MLPmpStatus

Example

Structured Text

//Execute a Relative move on a PMP Block name “PmpMaster” with a Jog speed of 1000.0
MLPmpRun( PipeNetwork.PmpMaster, 1000.0 ) ;

Ladder Diagram

MLPmpRun: LD example

Function Block Diagram

MLPmpRun: FBD example

Go back to the top of the page [Top]