MLBlkReadOutVal

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. - Gets the output value of a selected Pipe Block.

Inputs

Input

Data Type

Range

Unit

Default

Description

ID

DINT

-2147483648 to 2147483648

N/A

No default

ID number of a created Pipe Block.

Outputs

Output

Data Type

Range

Unit

Default

Description

Value

LREAL

N/A

N/A

No default

Current output value of the selected Pipe Block.

Remarks

FBD Language

MLBlkReadOutVal: FBD example

FFLD Language

MLBlkReadOutVal: LD example

ST Language

//Save the output of a Gear Pipe Block 
BlockOutput := MLBlkReadOutVal( PipeNetwork.MyGear );

See Also