FunctionMLMstWriteSpeedPipe Network motion icon

Description

Set the speed of motion for the MLMstAbs and MLMstRel blocks. Returns TRUE if the function succeeded. This function does not generate any 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 Master Block
  Data type DINT
  Range [-2147483648, 2147483648]
  Unit N/A
  Default
Speed Description Speed of the motion
  Data type LREAL
  Range
  Unit User unit/sec
  Default

Output

Default (.Q)

Description Returns true when function successfully executes

See more details here.

  Data type BOOL
  Unit N/A

Related Functions

MLMstWriteDecel

Example

Structured Text

 

MLMstWriteSpeed( PipeNetwork.MASTER, 400.0 );

 

Ladder Diagram

MLMstWriteSpeed: LD example

Function Block Diagram

MLMstWriteSpeed: FBD example

Go back to the top of the page [Top]