MLAddReadOff1
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
BlockID |
DINT |
-2147483648 to 2147483647 |
N/A |
No default |
ID number of an initiated Adder object. |
Outputs
Adder Block Output = Ratio1*Input1 + Offset1 + Ratio2*Input2 + Offset2
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Offset |
LREAL |
|
|
Returns the offset value of the first entry of an Adder block. |
Remarks
- Offset1 shifts the value of the first input to the block before its added to the second input.
- Can change the offset value with MLAddWriteOff1 function block.
Figure 1: MLAddReadOff1
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language
//Save the offset value of first entry to the Adder block
AdderOffset := MLAddReadOff1( PipeNetwork.MyAdder );
See Also