MLIntWriteOutVal

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. - Sets the output value of an integrator object.

Inputs

Input

Data Type

Range

Unit

Default

Description

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

ID number of an initiated Integrator object.

Value

LREAL

No range

User units

No default

Designated new output value of the selected Integrator object.

Outputs

Output

Data Type

Range

Unit

Description

Default (.Q)

BOOL

 

 

Returns TRUE if the output value if the Integrator object is changed.

See Pipe Network - General Rules.

Remarks

  • This function can force the output to an entered value not dependent on the input value from the Pipe Network.
  • Output value can jump to another value instantly after the function is executed if the Pipe Network is running

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

//change the output value of an integrator object to 35 
MLIntWriteOutVal ( PipeNetwork.MyIntegrator, 35.0 );

See Also

MLIntInit