MLGearReadRatio
Description
Returns the Ratio value of a selected Gear Block from the Pipe Network. The output of a Gear Block = Input value * Ratio + Offset
Arguments
Input
|
BlockID |
Description |
ID number of an initialized Gear Pipe Block |
|
Data type |
DINT |
|
|
Range |
[-2147483648, 2147483648] |
|
|
Unit |
n/a |
|
|
Default |
— |
Output
|
Ratio |
Description |
The Ratio value currently assigned to the selected Gear Pipe Block |
|
Data type |
LREAL |
|
|
Unit |
n/a |
Related Functions
Example
Structured Text
//Find the Ratio value of Gear1 Pipe Block
Gear1Ratio := MLGearReadRatio(PipeNetwork.GEAR1);
Ladder Diagram
Function Block Diagram
|
Copyright © 2018 Kollmorgen |
|
[Top]






