Professional Documents
Culture Documents
Command List: GEN 44i
Command List: GEN 44i
doc Page 1 / 55
Command
List
GEN 44i
Revision: 002
Date: 25/08/10
S.A. ERCO & GENER – ZI de St. Lambert-des-Levées – BP 30163 – F-49412 SAUMUR Cedex
Tél. : +33 (0)2 41 83 13 00 – Fax : +33 (0)2 41 67 19 20 – www.ercogener.com – infos@ercogener.com
SA CAPITAL 183244 € – R.C. SAUMUR B 332 174 820 – SIRET 332 174 820 00032 – NAF 2630Z – TVA Intra : FR 16 332 174 820
EG_GEN 44i_963_CL_002_UK.doc Page 2 / 55
Evolution de ce document
The main modifications of this document compared to the previous version are easily identifiable on the
screen by the blue color of the text.
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 3 / 55
TABLE OF CONTENTS
I DESCRIPTION ................................................................................................................................................ 6
2 CASING .......................................................................................................................................................... 8
2.1 CASING ................................................................................................................................................................... 8
2.2 BOX .......................................................................................................................................................................... 8
3 GENERAL PRESENTATIONS ....................................................................................................................... 9
II - PREAMBLE ................................................................................................................................................ 10
- POSSIBILITIES OF THE UNIT: ........................................................................................................................................ 10
- POWER UP: .................................................................................................................................................................. 11
- DIALOGUE MODE: ....................................................................................................................................................... 12
- LOCAL DOWNLOAD MODE: ......................................................................................................................................... 12
- REMOTE DOWNLOAD MODE: ....................................................................................................................................... 13
- V24 PROG SYSTEM AND GSM INTERCONNECTION MODE:.......................................................................................... 13
III - AT* COMMANDS ...................................................................................................................................... 14
- AT*INIT: DEFINITION OF THE ACTIONS ON POWER UP ............................................................................................... 14
- AT*E: DEFINE AND DISPLAY THE ALARM INPUTS ....................................................................................................... 14
- AT*A: ACCESS TO WRITING A SCRIPT FOR AN INPUT .................................................................................................. 15
- AT*ANA : ALLOW US WRITING ANALOG INPUT SCRIPT .......................................................................................... 15
- AT*BAT: DEFINITION OF THE ACTIONS AFTER DETECTING A LOW BATTERY VOLTAGE THRESHOLD .......................... 16
- AT*R: CLEAR CURRENT ALARMS ............................................................................................................................... 16
- AT*T: VALUE OF THE INACTIVITY TIMEOUT .............................................................................................................. 17
IV - AT! COMMANDS ...................................................................................................................................... 18
- AT!EEPE: COMPLETELY ERASE THE SAVED CONFIGURATION.................................................................................... 18
- AT!ETATS: DISPLAY THE STATE OF THE GEN 44I INPUTS / OUTPUTS AND THE BATTERY VOLTAGE ......................... 18
AT!S : MANAGEMENT OUTPUT .................................................................................................................................... 18
V - AT\ COMMANDS ....................................................................................................................................... 19
- AT\S: DISPLAY THE SAVED SCRIPTS ........................................................................................................................... 19
VI - AT# COMMAND........................................................................................................................................ 19
- AT#: QUIT MODES: DIALOGUE, DOWNLOAD, INTERCONNECTION ............................................................................... 19
VII - ATI COMMAND........................................................................................................................................ 19
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 4 / 55
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 5 / 55
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 6 / 55
I DESCRIPTION
The GEN 44i is a programmable GSM remote transmitter. The GEN 44i consists of a PCB
and a dual band GSM (WMOi3) placed in a unit that is designed to be mounted on a DIN
rail.
Unit dimensions:
- Height: 120 mm
- Width: 45 mm
- Length: 135 mm
- A light-emitting diode that indicates the status of the GSM: GSM (see appendix 6)
- The V24 PROG SYSTEM connector (female Sub-D) for the link to the computer
system used to program the GEN 44i.
- The connector (RJ 45) V24 Periph. Option for the link to a communication
peripheral (STN modem, radio, carrier current…). In this case, the internal GSM
modem no longer exists.
A+ RS485 link
B- RS485 link
-- Battery -
+ Battery +
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 7 / 55
E2 Input 2
E3 Input 3
E4 Input 4
S1 Output 1-1
S1 Output 1-2
S2 Output 2-1
S2 Output 2-2
S3 Output 3-1
S3 Output 3-2
S4 Output 4-1
S4 Output 4-2
Note: See APPENDICES 1 and 2 for connection schematics and V24 links.
- Extension card:
E8 / E7 / E6 / Alarm Input.
E5 .
Com Common input (Is not a ground)
Gnd
EANA4 / Analog Input 4-20 mA.
EANA 3
+10V Output Power
Gnd
EANA2 / EANA 1 Analog Input 4-20 mA.
+10V Output Power
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 8 / 55
2 CASING
2.1 CASING
The Shipments:
2.2 Box
Box Size:
- l : 163 mm,
- H : 66 mm,
- L : 295 mm.
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 9 / 55
3 GENERAL PRESENTATIONS
GSM LED
Power LED
Antenna
Connector
FME/M
SIM Card
Reader
RS232
Sub D 9F
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 10 / 55
Connecter 4pin :
- RS485
- Battery
Connector 8 pin:
- External power Supply
- DIGITAL INPUT
Connector 8pin :
- DIGITAL OutPut
II - PREAMBLE
The GEN 44i can be used to start scripts on input switching, incoming calls and on a low voltage threshold when used with a battery.
Possible macro-commands:
- Power up:
On power up with the memory blank, the GEN 44i is in the following condition:
- Inputs: deactivated
- Outputs: open
- Internal GSM DTR: active
- Internal GSM: supplied
- Dialogue format: 8-bit, no parity
- External link : RS232
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 12 / 55
- Dialogue mode:
To access this mode, a terminal is required that can be configured at 9600 baud, 8 bits and no parity (such as Windows HyperTerminal).
Principle:
- Connect the serial output on your terminal to the GEN 44i via the V24 PROG
SYSTEM connector.
- Set the terminal to 9600 baud, 8 bits, no parity (default format).
- Send the escape sequence: the "-" character 3 times by respecting a minimum
1.5-second holding time before and when sending characters.
- The GEN 44i then sends back the message: DIALOGUE MODE
DIALOGUE MODE is quitted after a 1-minute timeout if no characters pass, or directly with
the command AT#.
Note: This mode can also be accessed remotely (see chapter IX)
To access this mode, a terminal is required that can be configured to 9600 baud, 8 bits, no
parity and that manages XON XOFF (example: Windows HyperTerminal) and a text editor
that can save a file in text mode (.TXT) such as Word, WordPad or Notepad in Windows.
ò Caution! Downloading does not overwrite all the scripts saved in the GEN 44i.
Only the modified scripts are affected. After downloading, the GEN 44i
reinitialises and restarts the power up script.
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 13 / 55
The GEN 44i can also download a new script remotely via a modem connection at 9600
bits/s.
To access this mode, a specific remote downloading script must have been loaded beforehand
(see example in chap. IX) and a modem calling at 9600 bit/s associated to a terminal that manages
XON XOFF is required (see previous chapter).
ò Caution!
Downloading does not overwrite all the scripts saved in the GEN 44i, only
the modified scripts are affected.
After downloading, the GEN 44i reinitialises and restarts the power up
script.
This mode can be used to have a direct link (TX and RX) between the V24 PROG
SYSTEM and the GSM.
To access this mode, a terminal is required that can be configured to 9600 baud, 8 bits
and no parity (such as Windows HyperTerminal).
Principle:
- Connect the serial output of your terminal to the GEN 44i via the V24 PROG
SYSTEM connector.
- Set the terminal to 9600 baud, 8 bits, no parity (default format).
- Send the escape sequence: the character "G" 3 times by respecting a
minimum 1.5-second holding time before and when sending characters.
- The GEN 44i then sends back the message: INTERCONNECTION MODE
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 14 / 55
Each command must finish with the end-of-line carriage return character (0D in
hexadecimal). The commands can be sent in upper or lower case characters.
This command defines the different actions when the GEN 44i is powered up. The actions
may concern the initial state of the outputs and the initialisation of the internal GSM
modem.
The initialisation script has a memory space of 500 bytes (see APPENDIX IV) and must
always end with the END command.
Example:
AT*INIT
ò Caution!
Input 5 corresponds to the ring indicator signal (RI) of the V24 Periph.
To trigger on an incoming call,
The parameters NO and S must be set.
The value 0 in the recognition time disables the corresponding input.
Example:
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 15 / 55
Example:
- For a double input, the GEN 44i allocates a script for each state, which gives 2
distinct scripts.
- For a simple input, the GEN 44i only allocates one script.
Format:
AT*A< act on the transition to alarm (+) or return to release condition (-)>
=< Input N° (1 to 5)>
+ For the inactive to active transition
- For the active to inactive transition
After the command AT*A, all the macro-commands (see below) will be allocated to the
script for the chosen input until the END command that indicates the end of the script.
Example:
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 16 / 55
Sample :
AT*ANA+=1 Going to the Analog script n°1 when Input 1 More than the high threshold
or the low threshold
AT*A-=1 Going to the Analog script n°1 when Input 1 Return to its threshold of
repose
This command defines the different actions after a low battery voltage threshold. The script
has a memory space of 500 bytes (see APPENDIX IV) and must always finish with the
END command.
Example:
AT*BAT
This command deactivates triggering a script (only active in dialogue mode). The user
must enter dialogue mode via the escape sequence (---) and use the command described
below.
Format:
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 17 / 55
Example:
When both V24s are interconnected, one of the possibilities to cut this link is to use
the inactivity timeout:
Principle:
When no more data passes between the two V24s in one direction or the other, the
GEN 44i arms its inactivity timeout. When it expires and there is still no data, both
V24s disconnect.
Format:
Example:
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 18 / 55
IV - AT! COMMANDS
This command completely erases the information saved in the GEN 44i (all scripts and
parameters).
Principle:
The user must enter dialogue mode with the escape sequence (---) and send the
following command:
AT !EEPE
The GEN 44i then sends back:
OK
Then the GEN 44i must be switched off and back on again.
- AT!ETATS: Display the state of the GEN 44i inputs / outputs and the
battery voltage
This command displays the state of the Inputs/Outputs and the battery voltage at a given
moment.
Principle:
The user must enter dialogue mode with the escape sequence (---) and send the
following command:
AT !ETATS
For example, the GEN 44i then sends back:
Format :
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 19 / 55
Sample :
Close output 1 :
AT !S1=F
V - AT\ COMMANDS
Format:
AT\S
Principle:
The user must enter dialogue mode with the escape sequence (---) and send the
following command: AT\S
VI - AT# COMMAND
This command quits the dialogue, download and interconnection modes and returns to
operating mode.
Format:
AT #
Note: The modes are also quitted if no character passes on the V24 PROG SYSTEM after
a 1-minute timeout expires.
The ATI command indicates the software version of the program in the GEN 44i.
ATI
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 20 / 55
The acknowledgement SMS is formed by the "ACK:" message followed by the SMS
received.
Example:
On receiving the SMS "OUTPUT 2 CLOSED", output 2 is closed and an
acknowledgement SMS is sent.
AT&SMS1=O2=C,O,OUTPUT 2 CLOSED
The acknowledgement SMS is: ACK: OUTPUT 2 CLOSED
AT&A0 the external interface is an RS232 interface (it uses the V24 PROG
SYSTEM connector)
AT&A1 the external interface is an RS485 (it uses the A+ and B- terminals)
AT&A ?
Answer: RS232 or RS485
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 21 / 55
IX - AT+ COMMAND
Format:
AT+ICF=Format, parity
FORMAT PARITY
1 8 data bits 2 stop bits 0 Odd
2 8 data bits 1 parity bit 1 stop 1 Even
bit
3 8 data bits 1 stop bit 2 Not used
4 7 data bits 2 stop bits 3 Not used
5 7 data bits 1 parity bit 1 stop 4 None
bit
AT+ICF=2.0
AT+ICF ?
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 22 / 55
X - AT% COMMAND
AT%S ?
This functionality uses the resources of the GSM modem (analogue/digital converter). It is essential to
activate this converter by sending the command AT+ADC=1 to the GSM modem.
This command must be included in the power up script with the macro-command MESA=AT+ADC=1.
XI - MACRO-COMMANDS
After using the AT*A command, the GEN 44i enters the script writing procedure; a certain
number of commands also called "macro-commands" can then be used to affect the
outputs or GSM.
For each new valid macro-command, the GEN 44i sends back the "OK" report.
Each script has a memory space of 500 bytes (see APPENDIX 4) and must always end
with the END command.
Format:
MESA= 40 characters max
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 23 / 55
Example:
Dial an STN modem connected to the GEN 44i:
MESA=ATDT0W123456789
Example:
Send the mini message "ALARM ON INPUT 2" to portable 0612345678
MESG=0612345678,ALARM ON INPUT 2
- V24=n: Interconnection between the V24 Prog System or RS485 and the
GSM
Direct link (TX and RX) to the GSM when the V24 PROG SYSTEM is chosen.
(see AT&A)
Format:
V24= (P or I or T)
P: Direct link if the carrier (DCD of the GSM) is present before executing this macro-
command. When this signal disappears, the direct link is eliminated.
I: The direct link is immediate. This mode is quitted when there are no more
characters passing on the link and the timeout programmed by the AT*T command
has expired.
T: The direct link is immediate. This mode is quitted when the timeout programmed
by the AT*T command expires, regardless of the data activity.
- T: Timeout
Format:
T= time in seconds (1 to 5999)
Format:
Example:
CDEALI=C
Power up the GSM.
Format:
Example:
CDEDTR=O
Make the GSM hang up.
- ACK: Acknowledgement
This command activates waiting for a modem acknowledgement.
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 25 / 55
Format:
Actions if no acknowledgement:
R for Repeat the actions: No acknowledgement, the GEN 44i repeats waiting
for the acknowledgement five times from the start of the script:
- In case of acknowledgement, it continues its script, ignoring the lines
marked with ",*"
- If there is no acknowledgement after five repeats, it executes the
lines marked with ",*"
C for Continue:
- In case of acknowledgement, it continues its script, ignoring the lines
marked with ",*"
- If there is no acknowledgement, it executes the lines marked with ",*"
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 26 / 55
Example:
O1=O
T=2
O1=C
ACK=10,M,”CONNECT”,R
O3=C,*
O2=C
This command copies the local inputs from one GEN 44i onto the remote outputs of a
second GEN 44i.
Format:
REPORT=(S or T)
S: Only the input that corresponds to the script will be transferred remotely. For
example, if this command is incorporated in the script that corresponds to input 1
(AT*A+=1), only input 1 will be copied on the remote output 1.
T: All the inputs will be transferred onto the remote outputs from any script.
- LABEL: LABEL
Format:
LABELX with: X=0 to 9
LABEL5
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 27 / 55
- JUMP: Jump
Format:
ò Caution! If the label is not found, the jump goes to the end of the script.
Example: Jump to label 5
JUMP=5
O1=O
O3=F
LABEL5
O2=F
In this example, only the macro-command O2=C is executed.
During an incoming call, this command (incoming call indicator input 5) tests the type of
communication set up, vocal or data.
If set up as data, then jump to a label, otherwise continue with the rest of the script.
Format:
ò Caution! If the label is not found, the jump goes to the end of the script.
Example:
JNV=4
JUMP=3
LABEL4
V24=P
In this example, it set up as data, the next macro-command executed is V24=P.
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 28 / 55
Format:
Example:
COM=120,JUMP=2
or
COM=120,JUMP=2,O1=C
or
COM=120,JUMP=2,O1=C,O3=B
Format:
This command waits for the first element of the DTMF code for duration XXX then starts a
capture timeout YY for the acquisition of the complete DTMF code.
WDTMF=120,4
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 29 / 55
This command compares a DTMF code and jumps if the received DTMF code
corresponds to the requested code.
This command must be preceded with the WDTMF command.
Format:
TDTMF= XXX,SY with: XXX requested DTMF code (20 digits max)
Y label for the jump if code correct
Example:
TDTMF=0123*,S1
If the received DTMF code is 0123*, then jump to label 1
A loss of the GSM network for more than 2 minutes triggers the power up script (AT*INIT).
During GSM network absence, the inputs are still managed but the scripts are blocked.
When the GSM network is again available, the waiting scripts are started.
For this macro-command to operate correctly, see the power up script proposal in chapter
XIII.
This separator is inserted in a line of a script and allows the comment to be inserted.
The end of the comment must end with the carriage return (0D in hex.)
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 30 / 55
- PIN CODE:
A - The PIN code must be entered after each new power up.
B - The PIN code is saved on the card. It will no longer be requested each time the unit
is powered up and the unit will remain permanently operational.
The PIN code is essential to make a call or accept an answer coming from the GSM
network.
This code is contained on the SIM card and it can be changed by the user.
ò Caution! The user only has 3 attempts to enter the PIN code. Once these 3 attempts
have been exceeded, only a second code, the PUK code, supplied by the operator will
allow a new PIN code to be chosen. (See chapter To change the PIN code).
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 31 / 55
The next time the GSM modem is turned on, it will accept any call or response coming
from the network.
To activate the PIN code request again each time it is powered up, simply enter:
AT+CLCK= « SC »,1,1234
The PIN code can be changed by the user on the condition that the current PIN code is
known.
Changing the PIN code of the SIM card implies entering it each time before using the GSM
modem.
Before starting a call, it is possible to test that the GSM network is present by executing
the command:
AT+CREG ?
The responses: +CREG=0,2 Looking for the operator network
+CREG=0,1 National operator network found
+CREG=0,5 Roaming operator network found
The values 1 and 5 indicate that the equipment is recognised by the network.
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 32 / 55
For the other commands, see the list of AT commands in the WISM02C ref.: AT410.PDF.
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 33 / 55
// Caution, for this example, the center service address must have been entered
on the sim card
AT*INIT
T=15
LABEL1
MESA=AT+CFUN=1
T=4
MESA=AT&F;+WAIP=1;+WIND=8;&D2
//T=2 // 2s timeout
//MESA=AT+CPIN=0000 If pin code not saved remove and set the 2 front
bars if
ACK=120,M,"+WIND: 4",S1 // 30s wait for network detection, otherwise jump
to LABEL1
T=2
MESA=AT+VGT=64;ADC=1;+CRC=1;+SIDET=0,0
T=2
NETWORK=1 // network test validated
END // end of initialisation script
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 34 / 55
In a short message sending script, we can ensure that it has been taken into account by
the operator.
Example:
LABEL1
MESG=+33612345678,Send a short message
ACK=20,M,"+CMGS: ",O1 // wait 20s for operator to take it into account
// otherwise jump to LABEL1(5 times)
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 35 / 55
XV - FONCTIONNEMENT EN MODBUS©
The GEN 44i with software package V10.00 version incorporates the protocol MODBUS in mode
RTU (Remote Terminal Joins). It is so possible to accomplish a network consisting of a chief robot
piloting several slaves, certain places and others distant.
Dialogue MODBUS is made independently via link V24 or RS485A.
Mode MODBUS slave allows to throw and to accept calls, but also to read the state of the 4 entries
TOR and to pilot the 4 exits (or more if card extension), of throwing of calls, etc..
Also, the distant modem is able of acknowledging woofs concerning it. It is also possible to read
the address of GEN44i and/or robot calling slave on a local level.
In the mode of functioning in MODBUS, it is wholly possible to use the entries of alarms to send
messages or make appeal towards a distant site.
When GEN 44i acts as slave; her address is parametric from 1 to 255. It does not manage
requests of broadcasting (address 0).
Shape is made before the installation except MODBUS via mode has talks or the mode
downloading. When the modem is configuring in functioning MODBUS, the return in normal mode
is made by the order of exhaust --- .
Specific parameters in MODBUS slave program except MODBUS via mode have talks or the mode
downloading.
15.1.1 - Command MODBUS AT$ :
Format :
AT$ADDS= (1 à 255) by default 01
Visualization of address:
AT$ADDS?
Format :
AT$NET= (0 à 255) by default 02
Visualization of address:
AT$NET?
Format :
AT$TIME= (0 à 255) by 10ms, by default 02
Visualization of address:
AT$TIME?
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 36 / 55
Format :
AT$MODE= (0 à 255) by default 01
With :
Bit 0 : Save in Modbus slave mode.
Visualization of address:
AT$MODE?
Format :
AT$MODBUS= 0 Normal version
AT$MODBUS= 1 MODBUS version
Visualization of address :
AT$MODBUS?
The chief terminal can order call towards the dynamic number, save not but beforehand sent in
GEN 44i via address 0700 h.
The chief terminal owes in first prove study in the register of entrance address 0020 h, the
availability of the line (not ongoing entering call), then he writes 128 80 h (hexadecimal) or
(decimal) at address 0010 h (call of the dynamic number).
The launching of the call to place during the writing at address 0010 h. At this instant GEN 44i
points out progress and culmination of call via the register of entrance 0020 h.
When connection is achieved the modulation and the online speed the hotel in the register 0022 h.
In case of failure of call or in break of connection, reason is available in the register 0021 h, and
GEN 44i erases the register 0010 h, charges 0000 h in registers 0020 h and 0022h pointing out the
end of call so.
The chief terminal can interrupt the procedure of call, automatic answer or connection by coming to
write 0000 h at address 0010 h.
When the modem is linked up with a network of slave, it is also possible to generate calls by
speeding up the entries of alarms 1 - 4 (1à 12 entered TOR and 1 - 4 analogical entries if card
extension). In that case GEN 44i uses the scenario corresponding to the entrance.
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 37 / 55
The chief terminal by scanning regularly the register of entrance at address 0020 h, discerns the
presence of an entering call, then connection.
When connection is achieved the modulation and the online speed are available in the register
0022 h.
En case in work of call or break of connection, reason is available in the register 0021 h, and the
modem erases the register 0010 h, charges 0000 h in registers 0020 h and 0022 h pointing out the
end of call so.
Any time the chief terminal can interrupt the procedure of call, automatic answer or connection by
coming to write 0000 h at address 0010 h.
During the automatic response the chief terminal can read the number of calling it leaving read
register a in fast motion 0040 h (10 words max).
Example of scenario of automatic answer with memorization of the number of calling it:
15.1.4 – Registers
GEN 44i use registers :
- Ads 0010h : A register allowing ordering the call of the number loaded to address 0700 h..
- Ads 0030h : INIT Register
- Ads 0050h to 0058h : Register allowing to know ongoing alarms and to pay them off.
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 38 / 55
- Ads 400h to 40FH : The whole register allowing to know the number of passage in alarm of
every entrance TOR or analogical.
- Ads 0700h to 070Fh : Telephone number loaded in MODBUS to be called.
- Ads 1000h to 1003 : The whole register allowing knowing the common value of every
analogical entrance (Extension Card).
- Ads 1100h to 1103 : The whole register allowing knowing the value minimum attack by every
analogical entrance (Extension Card).
- Ads 1200h to 1203 : The whole register allowing knowing the value maximum attack by every
analogical entrance (Extension Card).
- Ads 1300h to 1303 : The whole register allowing knowing the common value of the low
threshold of launching of an alarm (Extension Card)..
- Ads 1400h to 1403 : The whole register allowing knowing the common value of the high
threshold of launching of an alarm (Extension Card).
GEN 44i has registers of entries allowing following the sequence of a call
GEN 44i has more allowing following possibilities let use entries / exits.
- Ads 0000h to 000Bh : Reading of the state of entries (in unit or by block).
- Ads 0000h to 000Bh : Reading or positioning of exits (in unit or by block).
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 39 / 55
Answer includes a value pointing out the type of modem, an indicator of functioning, and the
number of entries everything or anything and the number of exits
Modem type: 44 (2Ch) pour GEN 44i
Status : 255 (FFh) if ON, 00 if OFF
Input number : 4 (04h) For 4 INPUT
Output number : 4 (04h) For 4 Output
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 40 / 55
Address 0010h
Value Description
(hexa.)
0000 Standby Modem
0080 Dynamic number call
Address e 0030h
Value Description
(hexa.)
0000 INIT Modem
1
Accessible function with software version V15.00.
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 41 / 55
Fact to write in these registers allows paying off ongoing alarms. To be sure of losing no alarms, it
is necessary to write the before read value. GEN44i making one OR EXCLUSIVE between its
common value and that accepted.. If communication stops while registers were not erased, the
modem calls once again.
Register in the only reading, pointing out the number of times or an entrance TOR or ANALOGICAL is
crossed alarm it since the previous reading. Fact to read this register (s) re-initializes contents automatically
in 0. Reading of two bytes at the very least.
This beach of Address corresponds to the dynamic telephone number (not safeguarded in not volatile
memory).
The writing of the number must begin in Address e 0700 h, the first character must be in strong weights.
Size maximum should not exceed 16 words. If the weak weights of the last word is not used it is necessary
to load them with the value 255 (FFh).
Not present Address corresponds to the 4 possible analogical entries. These registers in the only
reading, point out their actual value for every analogical entrance.
This beach of Address corresponds to the 4 possible analogical entries. These registers in the only
reading, pointing out the attained minimal value for every analogical entrance. Fact to read this
register (s) re-initializes contents automatically in the actual value.
These registers in the only reading, pointing out the attained maximum value for every analogical
entrance. Fact to read this register (s) re-initializes contents automatically in the actual value.
These registers in reading / writing, pointing out the minimal value for every analogical entrance to
be attained to pass in alarm.
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 42 / 55
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 43 / 55
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 44 / 55
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 45 / 55
REQUEST ANSWERS
FIELD NAME Example FIELD NAME Example
(Hex) (Hex)
Slave Address 01 Slave Address 01
Function 10 Function 10
Start Address (strong weights) 07 Start Address (strong 07
weights)
Start Address (weak weight) 00 Start Address (weak weight) 00
Register number (strong weights) 00 Register number (strong 00
weights)
Register number (weak weight) 06 Register number (weak 06
weight)
Octets meter 0C ERROR control CRC --
Data (strong weights) 30
Data (weak weight) 32
Data (strong weights) 34
Data (weak weight) 31
Data (strong weights) 35
Data (weak weight) 39
Data (strong weights) 38
Data (weak weight) 39
Data (strong weights) 37
Data (weak weight) 35
Data (strong weights) FF
Data (weak weight) FF
ERROR control CRC --
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 46 / 55
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 47 / 55
APPENDIX 1
5 M as s e
9 NC
D TR
P AE
ED
DPE
RD
6 NC
1 NC
Masse = Ground
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 48 / 55
APPENDIX 2
Connector numbering
8 7 6 5 4 3 2 1
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 49 / 55
APPENDIX 3
GND
Self
photo-coupleur
résistance
E1 à E4
Capacité
French English
Alimentation GEN 44I power
GEN44I supply
GND GND
Self Inductor
Photo-coupleur Photo-coupler
Résistance Resistor
E1 à E4 E1 to E4
Capacité Capacitor
Line length:
The distance between the contact of the associated hardware and the GEN 44i modem
depends mainly on two factors, the supply voltage and the resistance of the wire.
Therefore, with the GEN 44i, the line resistance may be 1K ohm maximum.
The outputs are made from electronic components called OPTO-MOS relays.
opto-coupleur
APPENDIX 4
Each script (initialisation and inputs) has a memory space of 500 bytes
Example:
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 51 / 55
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 52 / 55
APPENDIX 5
- Technical data:
Power consumption:
A closed input adds 2.5mA consumption at 12V and 5mA consumption at 24V.
A closed output adds 4 mA consumption.
ò Caution!
The consumption may vary depending on the type of V24 connected to the GEN 44i.
For an installation where complete power consumption control is required, the
measurement must be repeated with the equipment connected.
Temperatures:
Atmospheric Pressure:
- Normal.
Weight:
- 205 grams
Dimensions:
- Height: 120 mm
- Width: 45 mm
- Length: 135 mm
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 53 / 55
APPENDIX 6
The modem is powered up and ready to operate but is not recognised by the
network, the PIN code is not entered or the antenna is not plugged in.
The PIN code is activated, the modem is recognised by the network and is ready to
make or receive calls.
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 54 / 55
APPENDIX 7
- Antenna cable
The maximum length of an extension cable must not exceed 10 metres using an RG58
C/U cable ( 5 mm) 50 Ω, in one piece.
For lengths close to and greater than 10m, it is preferable to use a "low-loss" cable,
reference RG213.
This cable has a larger diameter (10 mm), ò Caution! Take care with the type of
connections used (FME is too small).
For extension cables greater than 5 metres, the connections must be limited and prefer a
one-piece link between the modem and the antenna.
For an extension cable longer than 10m, a measurement must be made on the site:
Place the antenna in the required place (roof of building, balcony, pylon …)
Install the SIM card for the selected operator and activate the PIN code; the red
indicator must flash.
When placed close to the antenna (with an extension cable), make several receiving
measurements using the command AT+CSQ and record the mean value of the <rssi>
The maximum theoretical length of an RG58 extension cable will then be calculated
according to the following formula:
Lmax = 2(rssi-15)/0.8
Data:
On standard RG58 cable, the maximum attenuation with connectors is in the order of
0.8 dBm/metre
To operate normally, the min measured "rssi" value must not be less than 10 (prefer
15)
This "rssi" value is in 2 dBm steps.
Example:
Note:
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.
EG_GEN 44i_963_CL_002_UK.doc Page 55 / 55
OPTIONS
- Specific macro-commands
Descriptions and non-contractual illustrations in this document are given as an indication only. ERCO&GENER reserves the right to
make any modifications.