X90 mobile modules
X90 mobile system User's manual V 1.20 - Translation of the original manual
119
5.2.2.12.5.2 Configurable switching threshold
Name:
cfgThreshold09 to cfgThreshold24
cfgHysteresis09 to cfgHysteresis24
A switching threshold with associated hysteresis can be configured for channels 9 to 24.
Data type
Values
Information
UINT
0 to 32,767
Corresponds to 0 to 32.767 V
Registers cfgThreshold09 to cfgThreshold24:
If the pin is configured as a digital input, the switching threshold [mV] can be set with this register. When taking into
account the configured hysteresis, a voltage level under the threshold value results in "0" on the corresponding bit;
a voltage level above the threshold value results in "1".
Example
Desired level: 16 V configuration value: 16000
Registers cfgHysteresis09 to cfgHysteresis24:
If the pin is configured as a digital input, the hysteresis [mV] can be set with this register in order to avoid fre-
quent state changes in the measurement range near the threshold value. When taking into account the configured
threshold value, a voltage level under threshold value "Threshold - Hysteresis" results in "0" on the corresponding
bit; a voltage level above threshold value "Thr Hysteresis" results in "1".
Example
Desired hysteresis level: ±5 V configuration value: 5000
5.2.2.12.5.3 Input state of the digital inputs
Name:
DigitalInput01 to DigitalInput08
DigitalInput09 to DigitalInput16
DigitalInput17 to DigitalInput24
DigitalInput25 to DigitalInput32
DigitalInput33 to DigitalInput40
DigitalInput41 to DigitalInput48
This register maps the input state of the digital inputs 1 to 48.
Data type
Values
USINT
See the bit structure.
Bit structure:
Bit
Description
Value
Information
0
DigitalInputxx
1)
0 or 1
Input state of digital input x
...
...
...
...
7
DigitalI 7
0 or 1
Input state of digital input x + 7
1)
For xx, see the name of the register.