33
I
NPUTS
The eight inputs can be configured separately one from the other as:
Digital input
Analog input with 0V - 5V range
Temperature sensor with
–20°C - 120°C range (supplied with the accessory).
A pull-up or pull-down resistance can be selected for each input. If an input is configured as an analog
input or as a temperature sensor, a greater and/or lower threshold value can be associated with it.
It is also possible to define the delay between one signal detected on the input and the next. The delay
value must be in the range 10
– 2500 ms. If the input is configured as an analog input or temperature
sensor, the predetermined delay coincides with the time interval during which n signal samples are
recorded with a sampling frequency of 10 ms (n = delay[ms] / 10). An average is then taken on the n
samples. If the input is configured as a digital, it is still sampled every 10 ms. If the sampled value is
greater than 2.5V, a counter is incremented, or if the value is lower than 2.5V, a counter is decremented.
When the counter reaches value n = delay[ms] / 10, the input signal is considered high, instead when the
counter falls below zero, the input signal is considered low.
In the default configuration, all the inputs are configured as digital inputs with a pull-down resistance.
Some examples of the possible configuration (Digital, analog and temperature) are shown below: