MLPhaReadActPhase
Description
Get the actual phase value of a phaser block.
If a “PHASE_SLOPE_USER” (refer to MLPhaReadSlope and MLPhaWriteSlope) value is being used, the new phase (refer to MLPhaWritePhase) isn’t set immediately; the phase will be ramped with the slope value from the old phase value to the new phase value. MLPhaReadActPhase returns this ramping value.
MLPhaReadPhase returns the new value and this also when the phaser is still ramping. If using max slope means no ramping MLPhaReadActPhase and MLPhaReadPhase return always the same value.
-
- This function or function block returns cached data. See Programming a Dual Core Controller for more information.
Arguments
Input
Enable | Description | |
Data type | ||
Range | ||
Unit | ||
Default | ||
BlockID | Description | ID Name of a Phaser function block in the Pipe Network |
Data type | DINT | |
Range | [-2147483648, 2147483648] | |
Unit | n/a | |
Default | — |
Output
OK | Description | |
Data type | ||
Unit | ||
Phase | Description | |
Data type | LREAL | |
Unit |
Related Functions
MLPhaReadPhase, MLPhaWritePhase, MLPhaReadSlope, MLPhaWriteSlope