MLIntWriteOutVal
Function 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 2147483648 |
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 |
Default |
Description |
---|---|---|---|---|---|
Default (.Q) |
BOOL |
No range |
N/A |
No default |
Returns TRUE if the output value if the Integrator object is changed. See Function - General Rules for more information. |
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.
-
-
This function or function block returns cached data.
See Programming a Dual Core Controller for more information.
FBD Language
FFLD Language
ST Language
//change the output value of an integrator object to 35
MLIntWriteOutVal ( PipeNetwork.MyIntegrator, 35.0 );
See Also