MLGearReadRatSlp

Pipe Network motion icon

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Returns the Ratio Slope value of a selected Gear Block from the Pipe Network.

Inputs

Input

Data Type

Range

Unit

Default

Description

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

ID number of an initialized Gear object.

Outputs

Output

Data Type

Range

Unit

Description

Slope

LREAL

 

1/sec (or s-1)

The Ratio Slope value currently assigned to the selected Gear Pipe Block.

This can be a different sign than what is programmedClosed The act of performing a sequence of instructions or commands. with MLGearWriteRatSlp.

Remarks

The Ratio Slope sets the limit in 1/Seconds (or s-1) at which step changes in Ratio are implemented.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

//Find the Ratio Slope value of Gear1 Pipe Block
Gear1RatioSlope := MLGearReadRatSlp(PipeNetwork.GEAR1);

See Also