Page 29 of 34
PQ-132-U
5.7.3 AIN (Free analogue input scaling)
Command
Parameters
Unit
Group
AIN:i
A
B
C
X
i= X1|X2|W|Q
a= -10000… 10000
b= -10000… 10000
c= -10000… 10000
x= V|C
-
-
0,01 %
-
MATH
This command can be used to scale the individual inputs. The following linear equation is used for scaling.
)
(
c
Input
b
a
Output
The
“C” value
is the offset (e.g. to compensate the 4 mA in case of a 4… 20 mA input signal).
The variables
A
and
B
are defining the gain factor with which the signal range is scaled up to 100 % (e.g. 1.25
if using 4… 20mA input signal, defined in default current settings by A = 1250 and B = 1000). The internal
shunt for the current measuring is activated with switching the
X
value.
The gain factor is calculated by setting the usable range (
A
) in relation to the real used range (
B
) of the input
signal. Usable are 0… 20mA, means (
A
) has the value
20
. Really used are 4… 20mA, means (
B
) has a value
of
16
(20-4). Not used ar
e 0… 4mA. In a range of 20mA this is an offset of 20%, means a value of
2000
for
(
C
). Last but not least (
X
) has to be set to
C
choosing current signal.
In this case AIN command would look like this:
AIN:I 20 16 2000 C or AIN:I 1250 1000 2000 C
Typical settings:
Command
Input
Description
AIN:I 1000 1000 0 V
0… 10 V
Range: 0… 100 %
AIN:I 10 8 1000 V OR
AIN:I 1000 800 1000 V
1… 9 V
Range: 0… 100 %; 1 V = 1000 used for the offset and gained by
10 / 8 (10 V divided by 8 V (9 V -1 V))
AIN:I 10 4 500 V OR
AIN:I 1000 400 500 V
0,5… 4,5 V
Range: 0… 100 %; 0,5 V = 500 used for the offset and gained by
10 / 4 (10 V divided by 4 V (4,5 V -0,5 V))
AIN:I 20 16 2000 C OR
AIN:I 2000 1600 2000 C OR
AIN:I 1250 1000 2000 C
4… 20mA
Range: 0… 100 %
The offset will be compensated on 20 % (4 mA) and the signal (16
mA = 20 mA
– 4 mA) will be gained to 100 %
(20 mA).
Each of this parameterization for 4… 20 mA is setting the range to
0… 100 %.
AIN:Q 20 20 0 V OR
AIN:Q 1000 1000 0 V
-10… 10 V
Voltages input: Usable -
10… 10V (20V) for a working range of -
100… 100% (
two solenoids
).
AIN:Q 20 10 0 V OR
AIN:Q 2000 1000 0 V
-5… 5 V
Voltages input: Usable -
10… 10V (20V) for a working range of -
100… 100% (
two solenoids
).
Really used are -
5… 5V (10V).
AIN:X 20 8 5000 V OR
AIN:X 2500 1000 5000 V
1… 5… 9 V
Voltages input: Usable -
10… 10V (20V) for a working range of -
100… 100% (
two solenoids
).
Really used are
only 1
… 9V (8V) for
both solenoids
with
5V zero
point
(5000) setting (e.g. for joystick use).
AIN:I 40 16 6000 C OR
AIN:I 20 8 6000 C OR
AIN:I 2500 1000 6000 C
4… 20 mA
Current input:
theoretically
usable range -2
0… 20mA (40mA) for a
working range of -
100… 100% (
two solenoids
).
Really usable are
only
4… 20mA (16mA) for both solenoids with
12mA zero point setting.