FunctionMLPhaWritePhasePipe Network motion icon

Description

Set the phase value of a phaser block.

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

Phase

Description

Phase value

  Data type LREAL
  Range
  Unit User unit/sec
  Default Value defined in the setup of a phaser Block within a Pipe Network. It is in the “PHASE” field in 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

MLPhaReadPhase

Example

Structured Text

 

MLPhaWritePhase( PipeNetwork.PhaseAdjust , 30 );

 

Ladder Diagram

MLPhaWritePhase: LD example

Function Block Diagram

MLPhaWritePhase: FBD example

Go back to the top of the page [Top]