MLPhaWritePhase

Pipe Network motion icon

 Function - Sets the phase value of a phaser block.

Inputs

Input

Data Type

Range

Unit

Default

Description

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

ID name of a phaser function block in the Pipe Network.

Phase

LREAL

No range

User unit/sec

 

Phase value.

  • Value defined in the setup of a phaser block in a Pipe Network.
  • It is in the PHASE field in the parameter tab.

Outputs

Input

Data Type

Range

Unit

Description

Default (.Q)

BOOL

FALSE, TRUE

N/A

Returns TRUE if the function or function block is successfully executing.

See Function - General Rules.

Remarks

None

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

MLPhaWritePhase( PipeNetwork.PhaseAdjust , 30 );

See Also