Page 36 of 58
POS-123-*-2030
5.8.2
AINMODE
The AINMODE is used to define the kind of parameterizing of the analogue inputs. The EASY mode
(DEFAULT) supports a simple and application oriented input scaling.
The MATH mode supports the free input scaling by a linear equation. This mode is compatible to our older
modules.
Attention: This command can be executed in the terminal window only. In case of switching back,
DEFAULT data should be reloaded.
5.8.2.1 AINMODE (Input scaling mode)
Command
Parameter
Unit
Group
AINMODE
x
x= EASY|MATH
-
STD
This command is used to switch over the kind of input scaling.
5.8.2.2 AIN (Analogue input scaling)
Command
Parameters
Unit
Group
AIN:i
A
B
C
X
i= W|X|V
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). The variables
”a”
and
”b”
define the gain factor.
e.g.: 2.345 correspond to:
a
= 2345,
b
=1000
The internal measuring resistor for measuring the current (4… 20 mA) is activated via the
x
value and the
evaluation switched over accordingly.