FunctionMLPhaReadSlopePipe Network motion icon

Description

Get the phase slope value of a phaser block.

Arguments

Input

BlockID

Description

ID Name of a Phaser function block in the Pipe Network

 

Data type

DINT

 

Range

[-2147483648, 2147483648]

 

Unit

N/A

 

Default

Output

Slope

Description

Present Slope value

 

Data type

LREAL

 

Unit

User unit/sec

 

Default

Value defined in the setup of a Phaser Block within a Pipe Network. Depending on the phase slope type setting, it is the VALUE in “PHASE_SLOPE_USER”, “PHASE” or  the max slope.

Related Functions

MLPhaReadSlope

Example

Structured Text

 

PresentSlope :=MLPhaReadSlope( PipeNetwork.PhaseAdjust );

 

Ladder Diagram

MLPhaReadSlope: LD example

 

Function Block Diagram

MLPhaReadSlope: FBD example

Go back to the top of the page [Top]