MLIntWriteOutVal

Pipe Network motion icon

 Function - 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 Function - 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