FunctionMLPmpForcePosPipe Network motion icon

Description

Forces the position of a PMP Block to a specified position. This block can only be executed when motion is not occurring. It can be used to force the PMP starting position to the desired values from which to start motion.

Arguments

Input

EN Description Enables FB to be executed
  Data type BOOL
  Range 0, 1
  Unit N/A
  Default
Block ID Description ID name of the PMP Block
  Data type DINT
  Range [-2147483648, 2147483648]
  Unit N/A
  Default
Position Description Defines the PMP starting position when the motion starts
  Data type LREAL
  Range
  Unit User unit
  Default

Output

Default (.Q)

Description Returns true when function successfully executes

See more details here.

  Data type BOOL
  Unit N/A

Related Functions

MLPmpReadInitPos

Example

Structured Text

 

MLPmpForcePos( PipeNetwork.PMP, 2500.0 );

 

Ladder Diagram

MLPmpForcePos: LD example

Function Block Diagram

MLPmpForcePos: FBD example

Go back to the top of the page [Top]