MLGearReadOffSlp
Function - Returns the Offset Slope value of a selected Gear Block from the Pipe Network.
Inputs
|
Input |
Data Type |
Range |
Unit |
Default |
Description |
|---|---|---|---|---|---|
|
BlockID |
DINT |
1 to 1024 |
N/A |
No default |
ID number of an initialized Gear object. |
Outputs
|
Output |
Data Type |
Range |
Unit |
Description |
|---|---|---|---|---|
|
Slope |
LREAL |
|
User unit/sec |
|
Remarks
- Offset Slope sets the limit in User Units per Second at which step changes in offset are implemented.
- The default value when creating a Gear Block is OFFSET_SLOPE_MAX or infinite.
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
//Find the Offset Slope value of Gear1 Pipe Block
Gear1OffsetSlope := MLGearReadOffSlp(PipeNetwork.GEAR1);
See Also






