FunctionMLPhaWriteSlopePipe Network motion icon

Description

Set the phase value of a phaser block. Returns TRUE if the function succeeded.

Arguments

Input

BlockID

Description

ID Name of a Phaser function block in the Pipe Network

 

Data type

DINT

 

Range

[-2147483648, 2147483648]

 

Unit

n/a

 

Default

 

Description

Set  slope of phase adjust

  Data type LREAL
  Range
  Unit User unit/sec
  Default Value defined in the setup of a Phaser Block within a Pipe Network. Depending on the phase slope type setting, it is the VALUE in “PHASE_SLOPE_USER”, “PHASE” or  the max slope.

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

MLPhaReadSlope

Example

Structured Text

 

MLPhaWriteSlope( PipeNetwork.PhaseAdjust , 10 );

 

Ladder Diagram

MLPhaWriteSlope: LD example

 

Function Block Diagram

MLPhaWriteSlope: FBD example

Go back to the top of the page [Top]