MLPhaWriteSlope

Pipe Network motion icon

 Function - Sets the phase slope 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.

Slope

LREAL

No range

User unit/sec

 

Sets the slope of the phase adjustment.

  • Value defined in the setup of a phaser block in a Pipe Network.
  • Depending on the phase slope type setting, it is the VALUE in PHASE_SLOPE_USER, PHASE, or the Max Slope.

Outputs

Input

Data Type

Range

Unit

Description

Default (.Q)

BOOL

 

N/A

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

See Function - General Rules.

Remarks

Returns TRUE if the function succeeded.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

MLPhaWriteSlope( PipeNetwork.PhaseAdjust , 10 );

See Also