MLPhaWritePhase

Pipe Network motion icon

 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. - 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 blockClosed A function block groups an algorithm and a set of private data. It has inputs and outputs. 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

 

N/A

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

See Pipe Network - General Rules.

Remarks

None

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

MLPhaWritePhase( PipeNetwork.PhaseAdjust , 30 );

See Also