User guide
Table Of Contents
- Presentation
- Warning
- Copyright
- 1 References
- 2 Packaging
- 3 General presentation
- 4 Characteristics and Services
- 5 Use of the modem
- 5.1 Starting with the modem
- 5.2 Specific recommendations for the use of the modem in vehicles
- 5.3 GSM led of the modem
- 5.4 Echo function of AT commands deactivated
- 5.5 Checking the quality of the GSM reception signal
- 5.6 Verification of PIN code
- 5.7 Verification of modem registration on GSM network
- 5.8 Verification of modem registration on GPRS network
- 5.9 Verification of internal voltages of the modem
- 5.10 Main AT commands (HAYES)
- 5.11 Turning OFF the modem
- 5.12 Updating procedure of the modem
- 6 Trouble Shooting
- 7 Functional description
- 8 Technical characteristics
- 8.1 Mechanical characteristics
- 8.2 Electrical characteristics
- 8.3 Environmental characteristics
- 8.4 Standards/Conformities
- 9 Security recommendations
- 10 Recommended accessories
- 11 Client support
EG_GenPro25e_1055_UG_000_UK Page 45 / 66
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO & GENER reserves the right to make any modification.
Dct_427_01
7.4 Inputs/Output functioning
The modem contains an EGM application: in this case, the modem GenPro 25e provides 3 inputs (opto-
coupled) and 1 output (open collector) available for an external use.
These functions can also be controlled by AT commands:
AT+GPIOSET for a writing access to a GPIO with the GPIO used as an output,
AT+GPIOGET for a reading access to the GPIO with the GPIO used as an input.
7.4.1 Output functioning
AT+GPIOSET=10 This command is used to control the output. By default, the output is cabled as an open
collector. To control it:
AT+GPIOSET=<n>,<x> with:
<n> = 10 : Only 1 output available on the GenPro 25e (so, n=10),
<x> = 0 : Output OFF
1 : Output ON
Examples:
Table 21 : Output functioning
Command Response Interpretation
AT+GPIOSET=10,1
OK
Output 1 OFF, transistor closed
AT+GPIOSET=10,0
OK
Output 1 goes to ON (transistor open)
7.4.2 Inputs functioning
AT+GPIOGET This command is used to read the inputs. By default the inputs 1 to 3 are opto-coupled. To
read them:
AT+GPIOGET=<n> with:
<n> = 7 : reading the input 1
8 : reading the input 2
9 : reading the input 3
Table 22 : Inputs functioning
Command Response Interpretation
AT+GPIOGET=7
+GPIOGET: 7= 0
OK
Input 1 read at 0, the input 1 is controlled
AT+GPIOGET=9
+GPIOGET: 9= 1
OK
Input 3 read a 1, the input 3 is not controlled
See Table of § Inputs/Output.