UMAX030211 Version 1.0.2. Preliminary Documentation – May be subject to change
15 - 85
The allowable ranges will depend on the input sensor type selected. Table 3 shows the relationship
between the sensor type, and the associated range options. The default value for each range is
bolded, and object 2100h
AI Range
will automatically be updated with this value when 6110h is
changed. The grayed cells mean that the associate value is not allowed for the range object when
that sensor type has been selected.
Value
Voltage
Current
Frequency
Resistive
PWM
0
0 to 5V
0 to 20mA
0.5Hz to 50Hz
20 Ω to 250 kΩ
Low Freq (<1kHz)
1
0 to 10V
4 to 20mA
10Hz to 1kHz
High Freq (>100Hz)
2
100Hz to 10kHz
Table 3 – AI Input Range Options Depending on Sensor Type
NOTE: The input channels 3, 6, 7 and 8 have limited accuracy when used for
detecting edges (Frequency / PWM measurements). The measurement accuracy
can be enhanced using software filtering, but in case the Frequency or PWM duty
cycle measurements need to have high accuracy, please avoid using these four
channels.
NOTE: The input channels 3 & 8 and 6 & 7 share the timer peripheral used for
Frequency / PWM measurements. This limits the Frequency and PWM
measurement configuration options available for these inputs. Both inputs of the
pair need to be configured to use the same frequency detection range.
Objects 2020h
DI Pull-up/Pull-down Mode,
2030h
DI Debounce Filter
and 2101h
AI Number of
Pulses per Revolution
are used with frequency and PWM sensor types.
Object 2020h
DI Pull-up/Pull-down Mode
will determine the configuration of the internal Pull-
up/Pull-down resistors. The options for object 2020h are shown in Table 9, with the default bolded.
Object 2030h
DI Debounce Filter
is used to select input capture filter applied to the input before the
state is read by the processor. The options for object 2030h are shown in Table 4, with the default
bolded.
Value Meaning
0
Filter Disabled
1
Filter 111ns
2
Filter 1.78 us
3
Filter 14.22 us
Table 4 – DI Debounce Filter Options