43
* if similar code of an algorithm is assigned for two pins at once, this algorithm will be relevant only for the
GPIO1 operation.
** The pulse counter is active only when the ADC mode is disabled. It has the
Minimum pulse width
, ms,
setting corresponding to the minimum period time during which the GPIO active level must be supported to de-
tect the pulse by the modem.
The modem is fitted with the input pull-up to supply voltage. By default, the pull-up is disabled and the input
is pulled down to the negative supply voltage (GND) via the 47 kOhm resistor. When the pull-up is enabled, the
input is pulled up to the U
in
power supply voltage (MicroFit 4
connector) via the 10 kΩ resistor.
The encapsulation mode has an option of pin state automatic sending to the selected server (see section
). Each pin has its own server selected in the ATM Control utility. And it can be one and
the same server.
The change in state for a digital pin is considered to be a change for
1 sec
The GPIO 2 pin, set to input, can operate as ADC. Depending on the settings, ATM can measure current or
voltage.
Current measurement parameters:
Current measuring range, mA: 0 to 30
Current measurement error, mA:
0.2.
Voltage measurement parameters:
Voltage measuring range, V: 0 to 40
Voltage measurement error, V:
0.2.
Change of the measurable value (voltage/current) is considered its change by a fixation step. Fixation step is
set in the ATM Control configuration utility.
For automatic data sending to the ADC server, do the following steps in the ATM Control configuration utility:
select a server for data transmission;
set up the server sending mode:
by state change (measurements are performed once per second);
by period:
measurement interval:
number of measurements to be sent.
In the automatic data transmission mode ATM can store up to 150 last values for ADC and 2 last states after
the change for digital inputs and measurement time. There is an option to exit the offline mode by the GPIO pin
state change to send data (see section
).