MLGearReadRatSlp
Description
Returns the Ratio Slope value of a selected Gear Block from the Pipe Network. Ratio Slope sets the limit in 1/Seconds (or s -1) at which step changes in Ratio are implemented.
Arguments
Input
BlockID |
Description |
ID number of an initialized Gear Pipe Block |
Data type |
DINT |
|
Range |
[-2147483648, 2147483648] |
|
Unit |
N/A |
|
Default |
— |
Output
Slope |
Description |
The Ratio Slope value currently assigned to the selected Gear Pipe Block, , which may be a different sign than what is programmed with MLGearWriteRatSlp. |
Data type |
LREAL |
|
Unit |
1/sec (or s -1) |
Related Functions
Example
Structured Text
//Find the Ratio Slope value of Gear1 Pipe Block
Gear1RatioSlope := MLGearReadRatSlp(PipeNetwork.GEAR1);
Ladder Diagram
Function Block Diagram