FunctionMLPmpWriteLstSpdPipe Network motion icon

Description

Set the LastTravelSpeed parameter of a PMP block. Returns TRUE if the function succeeded. Last Travel Speed can also be set when adding a Pmp Block to a Pipe Network and defining the parameters for that block.

Arguments

Input

BlockID Description

ID Name of the PMP function block in the Pipe Network

  Data type

DINT

  Range

[-2147483648, 2147483648]

  Unit

n/a

  Default

Last Speed Description

Last Travel Speed Value

  Data type

LREAL

  Range

> 0

  Unit

User unit/sec

  Default

Value defined in the setup of a PMP Block within a Pipe Network. It is in the “LAST_TRAVEL_SPEED” field in the parameter tab.

Output

Default (.Q)

Description

Returns True if the function block is successfully executing

See more details here

  Data type

BOOL

  Unit

n/a

Related Functions

MLPmpAbs

MLPmpReadLstSpd

MLPmpRel

MLPmpWriteAccel

MLPmpWriteFstSpd

MLPmpWriteJerk

Example

Structured Text

 

MLPmpWriteLstSpd( PipeNetwork.PmpMaster, 650 ) ;

 

Ladder Diagram

MLPmpWriteLstSpd: LD example

Function Block Diagram

MLPmpWriteLstSpd: FBD example

Go back to the top of the page [Top]