Offset Block - Mitsubishi a2 Series Programming Manual

Simple application controller
Table of Contents

Advertisement

α
2 Simple Application Controllers
6.15

OFFSET Block

The function block is used to adjust an Analog Input value according to the following linear
expression: Y=A/B∗X+C from which the values obtained through the analog input channels
X:A01-A08 are set.
Table 6.16: Offset Gain Function Block
Function
0 0
0
I
P
O
G
Operation of Offset Gain relationship
Upper limit H
(Initial value: +32767)
Set Item
I
Input pin for Offset Gain operation
1) Setting the operational expression for the linear Y=A/B∗X+C
function
a) Y = Output value
b) A = Gain numerator value set range: -32768 to +32767
c) B = Gain denominator value set range:-32768 to +32767
FB
d) X = Analog input value from source A01 to A08
e) C = Offset value set range:-32768 to +32767
2) Setting the upper and lower clamp values (limit values)
a) H = Upper Limit set range:-32768 to +32767
b) L = Lower Limit set range:-32768 to +32767
The function block only calculates data.
1) Data output:
a) The resultant of the linear operation is rounded up or down
when the values are within the clamp (limit) values.
Output
b) No signal from the input equates to the function block holding
the previous value obtained from the linear operation.
2) The following items are available for other function blocks:
a) Gain Analog value
Y: Output
A (numerator of Gain value)
B (denominator of Gain value)
C
X: Analog input
(A01 to A08)
Lower limit L (Initial value: -32768)
Description
Function Blocks 6
6 - 34

Advertisement

Table of Contents
loading

Table of Contents