MLPhaReadSlope

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. - Gets 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.

Outputs

Input

Data Type

Range

Unit

Description

Slope

LREAL

 

User unit/sec

Present slope value.

  • 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.

Remarks

None

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

PresentSlope :=MLPhaReadSlope( PipeNetwork.PhaseAdjust  );

See Also