MLPhaWriteSlope
Description
Set the phase value of a phaser block. Returns TRUE if the function succeeded.
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 |
— |
|
|
Description |
Set slope of phase adjust |
Data type | LREAL | |
Range | — | |
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. |
Output
Default (.Q) |
Description |
Returns True if the function block is successfully executing See more details here. |
Data type |
BOOL |
|
Unit |
N/A |
Related Functions
Example
Structured Text
MLPhaWriteSlope( PipeNetwork.PhaseAdjust , 10 );
|
Ladder Diagram
Function Block Diagram