UMAX030211 Version 1.0.2. Preliminary Documentation – May be subject to change
21 - 85
Figure 6 – Discrete Input Hysteresis
Once the raw state has been evaluated, the logical state of the input is determined by object 6002h
DI_Polarity_8_Input_Lines
. The options for object 6002h are shown in Table 10. The state of the
DI will be written to read-only object 6000h
DI_Read_state_8_Input_Lines
. By default, normal
on/off logic is used.
Value
Meaning
0
Normal On/Off
1
Inverse On/Off
Table 10 – Object 6002h DI Polarity 8 Input Lines Options
The format to write to object 6002h is as follows:
Sub-index 1 will determine the following inputs polarities
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
-
-
-
-
-
-
UI2
UI1
The rest of the bits in sub-index 1 will be ignored.
As per the format of object 6002h, the bits in object 6000h
DI_Read_state_8_Input_Lines
will be
written to represent the same inputs’ states.
There is another type of ‘digital’ input that can be selected when 6112h is set to 20 = Analog On/Off.
However, in this case, the input is still configured as an analog input, and therefore the objects from
the Analog Input (AI) block are applied instead of those discussed above. Here, objects 2020h,
2030h and 6030h are ignored, and 6000h is written as per the logic shown in Figure 7. In this case,
the MIN parameter is set by object 7120h
AI Scaling 1 FV
, and the MAX is set by 7122h
AI Scaling
2 FV
. For all other operating modes, object 6000h will always be zero.
Discrete Input Active High Hysteresis
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
Inpu
V
ol
ta
ge
(
V
)
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
Di
g
it
al
S
ig
n
al
Input Voltage
Digital Hi/Lo
Discrete Input Active Low Hysteresis
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
Input
V
ol
ta
ge
(
V
)
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
D
igi
ta
l
S
igna
l
Input Voltage (V)
Digital Hi/Lo