FunctionMLPmpWriteFstSpdPipe Network motion icon

Description

Set the FirstTravelSpeed parameter of a PMP block. Returns TRUE if the function succeeded. FirstTravelSpeed 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

First Travel Speed Description

First 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 the “FIRST_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

MLPmpRel

MLPmpWriteAccel

MLPmpWriteJerk

MLPmpWriteLstSpd

Example

Structured Text

 

MLPmpWriteFstSpd( PipeNetwork.PmpMaster, 300.0 ) ;

 

Ladder Diagram

MLPmpWriteFstSpd: LD example

Function Block Diagram

MLPmpWriteFstSpd: FBD example

Go back to the top of the page [Top]