
The direct programmable parameters are these:
# Des. Description Default value Value range Note
1 PINC PIN code for the SIM
card
None 0000-9999 A “must” parameter, programmed only
locally
2 APNM Mobile operator GPRS
Access Point Name
None String, up to 29
characters
A “must” parameter, programmed only
locally; The string must be enclosed in
quote signs (“)
3 USER Mobile operator GPRS
User ID
None
String, up to 19
characters, or 0 to
delete it
This parameter can be programmed only
locally
4 PASS Mobile operator GPRS
password
None String, up to 19
characters, or 0 to
delete it
This parameter can be programmed only
locally
5 GATE Mobile operator GPRS
Gateway
255.255.255.255
(automatic)
0.0.0.0-
255.255.255.255
This parameter can be programmed only
locally
6 IPMA First control operator
(manufacturer) IP-
address
Manufacturer
designated IP-
address
0.0.0.0-
255.255.255.255
Can be reprogrammed
7 IPCO Second control
operator IP-address
255.255.255.255 0.0.0.0-
255.255.255.255
A “must” parameter
8 IPOx Data operator x IP-
address (x=1-4)
255.255.255.255 0.0.0.0-
255.255.255.255
A “must” for at least one operator
9 COM2 Serial port parameters
(baud rate, parity)
2,0
(2400bps, even)
0-6,0-2 (300bps-
38.4kbps,
even/odd/none)
10 DATE Current date
(dd,mm,yy)
01/01/10 01/01/00-31/12/99
11 TIME Current time (hh,mm) 00,00 00,00-23,59
12 PITO Time between two
consecutive connection
attempts
12 01-48 Two digits must be set (01 instead of 1)
13 NETO Remote reaging
network message
timeout, in 0.1s
20 (2.0s) 03-25 (0.3-2.5s) Two digits must be set (07 instead of 7)
14 INTO Server inactivity
timeout, in x10s
30 (300s) 01-60 (10-300s) Two digits must be set (02 instead of 2)
15 NETN M-bus network number 255.255.255.255 0.0.0.0-
255.255.255.255
A “must” parameter
16 DUED Set due-date
(dd,hh,mm)
inactive 01,00,00-31,23,59
The command and parameters are upper or lower case, with no preceding or trailing characters like space, CR, LF,
etc.
The steps of installation and initial programming are the following:
- Open MBGP-1 (as shown) on the figure and insert the SIM-card in its socket. The SIM card must
be operational and with activated GPRS-service. SIM PIN requirement may be switched off.
- Close MBGP-1 and power it up. Connect it to the PC/laptop’s serial port with RS232 (DB9-RJ45)
data cable, which is supplied with every m-bus converter type MBRS. This cable is NOT supplied
with MBGP-1.
- Set all basic network parameters
- Parameters for GPRS connection (access point name /APNM/, user id /USER/, password
/PASS/ and gateway /GATE/. All of these can be obtained from the mobile operator. The
majority of the operators require just Access Point Name for GPRS service attachment. If
user id and/or password are set by mistake, they can be deleted by setting any of them to
0 (SET USER=0, SET PASS=0). Default gateway (255.255.255.255) uses automatic
(operator assigned) gateway.
- Set PIN code (PINC). Even if PIN required is switched off, MBGP-1 needs a “dummy” PIN
(any PIN you want) to access the SIM-card. If a wrong PIN is entered and the device is
turned off/on more than two times, the SIM card requires PUK code in order to be
accessed. This cannot be done in MBGP-1, so the card must be taken out and PIN restored
in any mobile phone. Then the right PIN must be programmed before the card is inserted
back into the MBGP-1.
- Remote reading network number (NETN). This setting is essential as this is the only way
the server can identify the network to read.
- COM port (COM2)settings for remote reading network (baud rate and parity) – only if
different from defaults.
- Network message timeout (NETO) – if there is no response from the network after MBGP-1
has issued command, MBGP-1 responds to the server with timeout error.
- Set IP-addresses of control and data operators (IPMA, IPCO, IPO1-IPO4). At least one
control operator IP-address must be set in order to gain remote control of the network. All
operator IP-addresses can be set remotely by control operator.
- other parameters
- Current date (DATE) and time (TIME) set. These are lost at power interruption.
- Time between two connections (PITO), in hours (1-48, default 12h).
- Due date set (DUED). At due-date MBET-2 connects only to the data operators. Set day,
hour, minute.
- Server inactivity timeout (INTO). MBGP-1 drops connection after expiration of this timeout
without server activity.
The parameters can be reprogrammed remotely by control operator. Allowed mediums for all
the four data operators can be programmed only remotely by control operator. All mediums are allowed
for all data operators by default.
Current settings can be checked locally by issuing command “GET”, space, parameter code.
Parameter codes are: MAIN, SERV, CONN, GPRS, MEDx (x=1-4).
- GET MAIN – returns current firmware version, current date & time, MBGP-1’s ID-number,
network number, working time after power-up or power interruption in days, server and GPRS
connections.
- GET SERV – returns current firmware version, all operators IP-addresses, predefined server
connection time and the time remaining to the next connection attempt.
- GET CONN – returns current firmware version, pin code, mobile operator, GPRS attachment
status and remote reading network parameters (baud rate, parity, message timeout).
- GET GPRS – returns current firmware version and GPRS connection data (APN, user ID,
password, gateway)
- GET MEDx – returns allowed mediums for data operator x, x=1-4. The mediums can be
programmed only remotely by control operator.
Example of setting the device up for use in Bulgaria, operators Mobiltel, Globul, Vivatel:
- First make sure the GPRS is activated for this SIM card.
- Insert SIM card into the MBGP-1, make sure it is not powered when the card is inserted
- Close the lid of MBGP-1A, power the device.
- Program GPRS parameters:
- Set APN:
SET APNM=”inet-gprs.mtel.bg” (Mobiltel)/ SET APNM=”internet.globul.bg” (Globul)/ SET APNM=”internet.vivatel.bg” (Vivatel)
- Set User ID
(Mobiltel does not require user to be set)/ SET USER=”globul” (for Globul)/ SET USER=”vivatel” (for Vivatel)
- Set Password
(Mobiltel and Globul does not require password to be set)/ SET PASS=”vivatel” (for Vivatel)
- Set gateway
(do not set gateway for any of these operators, it is automatic – 255.255.255.255)
- Program SIM PIN
SIM PIN=0000
(now the device registers to network and checks if GPRS is available)
In 1-2 min check if the device is registered to the network and if the device is attached to GPRS network (GET CONN), if the device is
not registered to a network within a few minutes, then the SIM card may be defective or the SIM PIN is not correct. If the MBGP is not
attached to the GPRS network, then GPRS service is not activated and connection to any of the servers is not possible.
- Program control and data operator IPs
SET IPMA=, SET IPCO=, SET IPO1=, … , SET IPO4=
- Program network number
SET NETN=