Commissioning
EL31xx-00xx
164
Version: 5.9
Fig. 180: Linking of 2-bit variable to additional task
Example for EL3162:
Channel 1; Limit 1 and Limit 2 enabled, Limit 1 = 2.8 V, Limit 2 = 7.4 V, representation: signed integer
Entry in index (Limit 1):
0x8000:13 [
}
194]
(2.8 V / 10 V) x 2
16
/ 2 - 1 =
9.174
dec
Entry in index (Limit 2):
0x8000:14 [
}
194]
(7.4 V / 10 V) x 2
16
/ 2 - 1 =
24.247
dec
Output:
Input channel 1
Index
0x6000:03 [
}
196]
Index
0x6000:05 [
}
196]
1.8 V
0x01
hex
, (Limit 1, limit value undershot)
0x01
hex
, (Limit 2, limit value undershot)
2.8 V
0x03
hex
, (Limit 1, limit value reached)
0x01
hex
, (Limit 2, limit value undershot)
4.2 V
0x02
hex
, (Limit 1, limit value exceeded)
0x01
hex
, (Limit 2, limit value undershot)
8.5 V
0x02
hex
, (Limit 1, limit value exceeded)
0x02
hex
, (Limit 2, limit value exceeded)
Swap Limit index
0x80n0:0E [
}
194]
The limit function can be inverted by
SwapLimitBits
in index 0x80n0:0E.
Output Limit n (2-bit):
SwapLimitBits
setting
Value
FALSE (default setting)
• 0: not active
• 1: value < limit value
• 2: value > limit value
• 3: Value is equal to the limit value
TRUE
• 0: not active
• 1: value > limit value
• 2: value < limit value
• 3: Value is equal to the limit value
The Swap limit function is available according to the table below