Gear
Name |
Description |
Initializes a Gear Pipe Block with user-defined settings and for use in a PLC program. |
|
Returns the Offset value of a selected Gear Block from the Pipe Network. |
|
Returns the Offset Slope value of a selected Gear Block from the Pipe Network. |
|
Returns the Ratio value of a selected Gear Block from the Pipe Network. |
|
Returns the Ratio Slope value of a selected Gear Block from the Pipe Network. |
|
Sets the Offset value of a selected Gear Pipe Block. |
|
Sets the Offset Slope value of a selected Gear Pipe Block. |
|
Sets the Ratio value of a selected Gear Pipe Block. |
|
Sets the Ratio Slope value of a selected Gear Pipe Block. |
Examples of Gear Functions
The output value starts with offset = 0 and gain = 1 (blue line)
Call the MLGearWriteOff function to modify the Offset.
This is where Offset_Slope is set with the MLGearWriteOSlp function.
After setting the Offset (Q=TRUE in the previous figure), call the MLGearWriteRatio function to modify the gear Ratio.
This is where Gain_Slope is set with the MLGearWriteRatSlp function.
The output value is adapted with the gear offset and ratio (blue line).