MLPhaWriteSlope

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