FunctionMLPmpReadFstSpdPipe Network motion icon

Descriptions

Get the FirstTravelSpeed parameter of a PMP block. This parameter is used as the first of 2 speeds in an MLPmpRel Motion Block. It is also used as the speed in an MLPmpAbs Motion Block.

Arguments

Input

BlockID Description ID Name of a PMP function block in the Pipe Network
  Data type DINT
  Range [-2147483648, 2147483648]
  Unit N/A
  Default

Output

FirstTravelSpeed Description Present first travel velocity of the PMP PipeNetork FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances.  Block
  Data type LREAL
  Unit User unit/sec
  Default Value defined in the setup of a PMP Block within a Pipe Network. It is in the “FIRST_TRAVEL_SPEED” field in the parameter tab

Related Functions

MLPmpReadAccel

MLPmpReadFstSpd

MLPmpReadInitPos

MLPmpReadJerk

MLPmpReadLstSpd

MLPmpWriteLstSpd

Example

Structured Text

 

FirstSpeedValue := MLPmpReadFstSpd( PipeNetwork.PmpMaster ) ;

 

Ladder Diagram

MLPmpReadFstSpd: LD example

Function Block Diagram

MLPmpReadFstSpd: FBD example

Go back to the top of the page [Top]