FunctionMLPmpWriteAccelPipe Network motion icon

Description

Set the acceleration parameter of a PMP block. Returns TRUE if the function succeeded.

Acceleration 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

Acceleration Description

Acceleration Value

  Data type

LREAL

  Range

> 0

  Unit

User unit/sec2

  Default

Value defined in the setup of a PMP Block within a Pipe Network. It is  the “ACCELERATION” field 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

MLPmpWriteFstSpd

MLPmpWriteJerk

MLPmpWriteLstSpd

Example

Structured Text

 

MLPmpWriteAccel( PipeNetwork.PmpMaster, 40000.0 ) ;

 

Ladder Diagram

MLPmpWriteAccel: LD example

Function Block Diagram

MLPmpWriteAccel: FBD example

Go back to the top of the page [Top]