Table of Contents 1. Introduction............................... 6 1.1. About this Document ........................... 6 1.2. Operating Instructions ..........................6 1.3. Terms and Definitions ..........................7 2. Product Overview ............................10 2.1. Product Purpose and Main Functions ....................... 10 2.2. Document Usage Procedure ........................11 2.3.
Page 3
4.6. Setting Up the Modem ..........................34 4.7. Working with SIM Cards ..........................34 4.8. Working with the Server ..........................35 4.9. Working with the iRZ Collector Server ...................... 37 4.10. Encapsulation Mode ..........................38 4.11. Connecting to the Server via SMS Commands ..................39 4.12.
Page 4
Table 5.7 The sample of log messages at receiving SMS commands by the modem ..........54 List of Images Fig. 1.1 Interaction diagram when using the iRZ Collector software solution – the modem operates in a client mode ..................................... 8 Fig.
Page 5
Fig. 4.5 Methods of remote access to the modem ....................46 Fig. 4.6 Types of client authentication at connection to the modem-server ............. 47 Fig. 4.7 The interaction diagram when using the iRZ Collector software solution - the modem operates in the server mode ................................49...
ATM Control – the «User Guide on the ATM Control Modem Configuration Utility» document; on setting up the modem via AT commands – the «AT Commands to Set Up the iRZ ATM2-232 Mod- em» document;...
Remote configuration or firmware updating – configuration or updating of the modem firmware located on the site, from the dispatching center. For the ATM modem they are performed via the iRZ Collector dispatching application which is used together with the iRZ Collector server application.
Page 8
In case when the ATM modem operates in the server mode, it accepts connections itself: it no longer requires a broker to interact with the polling software, operating in a client mode. In this case the iRZ Collector solution can be still used to monitor and control the system modems (see Fig.
Page 9
However in the second case each modem requires an external static IP address. Dispatching center – data collection and dispatching center intended to poll external devices, installed on sites, and to monitor and control the system modems. – the server where all the system data is accumulated and processed: data from ex- Data collection server ternal devices and system service information.
2. Product Overview 2.1. Product Purpose and Main Functions The iRZ ATM GSM/GPRS modem provides data transmission over GPRS via TCP/IP protocol stack. The device is designed for operation in telemetry systems. The modem can operate in any of the three modes: client, server or CSD only. In the Client mode (hereinaf- ter –...
Server modes. In cases when the action of a function depends on the modem operating mode, it is speci- fied directly in the function description. «Working with the «Working with the iRZ Collector Server» Sections Server» and refer only to the Client «Modem Operation in the Server Mode»...
GSM/GPRS module – BGS2; Mini USB for setting up and logging the modem operation; dual SIM card support; antenna connector – SMA; communication connector – RS232; power connector – MicroFit 4; terminal connector – 2 GPIO + 1 GPO. 2.5. Physical Specifications ATM has the following physical specifications: housing dimensions (without connectors) –...
current measurement parameters: current measurement range, mA: 0 to 30; current measurement error, mA: 0.2. voltage measurement parameters: voltage measurement range, V: 0 to 40; voltage measurement error, V: 0,2. GPIO 1 and 2 in the “output” mode: output type – open collector to ground; output resistance –...
an operating SIM selection module (SIM selection); LEDs; hard reset and signal strength detection button (Firmware key). Fig. 2.1 ATM functional diagram 2.9. Device View The device view is given in Fig. 2.2 and Fig. 2.3: Fig. 2.2 Front Panel...
modem as a virtual COM port. The modem is powered via Mini USB interface only for operation in the service mode. Fig. 2.4 Mini USB connector USB is used in the «device» mode, therefore it can be used only for connection to a computer or Note other host controller.
Signal Direction Assignment Modem – device Receive Data Device – modem Transmit Data Device – modem Data Terminal Ready – Ground. Connected to the negative terminal of the power supply Modem – device Data Set Ready Device – modem Request To Send Modem –...
Fig. 2.6 Power connector Table 2.2 Power connector pin assignments Signal Assignment Not used Not used Negative terminal of power supply voltage Positive terminal of constant power supply voltage. Protected by a fuse and overvoltage (when applying voltage to input of over 40V) and reverse polarity protection circuit 2.10.4.
2.11. The Modem Status Indication To display the modem operation status, it is equipped with LED indication. The LEDs are placed above the SIM card trays. When you turn on the modem, both LEDs light up for 300 msec. In case of the RTC-timer failure, LEDs can light up for 10 seconds while RTC is being initialized.
Fig. 2.8 Signal strength indicators (a sample for the CSQ signal strength from 16 to 19) 2.12. Parameters and Attributes Used Key attributes of the АТМ2-232 Modem: Device model – Automatic Terminal-Modem ATM2-232. Software version. Hardware board version. Device name – a unique device name containing 4 characters (digits and Latin letters). It is specified in each SMS message sent by the modem.
Page 21
Login – a string of 4–16 characters (digits and Latin letters, case sensitive), unique for each device. It can be used for the modem authentication on a standard server (not iRZ Collector) if IMEI-based authen- tication is not sufficient. In addition, it can be used for iRZ protocol-based authentication (for more details, «Authentication of Connecting...
Page 22
SMS command. Default value – 5492. The password to access the iRZ Collector server (GPRS password) – 4-16 characters (digits and Latin characters, case-sensitive). It is used to protect the modem against unauthorized connections to the iRZ Collector server or to the ATM modem-server.
3. SIM Card Installation and Device Mounting 3.1. SIM Card Installation To connect the modem to the Internet over cellular network, a mini-SIM card is required (a standard SIM card). Prepare a SIM card, if required, reset the PIN code request. Note! A mini-SIM card differs from SIM cards of other formats by its size.
Fig. 3.2 Inserting the SIM card into the tray Note! The tray placed in the SIM card slot must be turned with the SIM card contact side facing up. Failure to observe this requirement may result in the damage of the SIM card and tray. 3.2.
Fig. 3.5 Device mounting – mounting the modem on a DIN rail with the front panel facing up Fig. 3.6 Device mounting – mounting the modem on the wall...
In this case two files with the same names, but with different extensions — .atm and atm.2, are created. The file with the .atm extension is designed for further use in the ATM Control application. The file with the .atm2 extension is designed for further remote configuration of the modem via the iRZ Collec- tor dispatching application.
When operating with the iRZ Collector specialized server, the modem sends a keepalive packet to the iRZ Collector server to verify connection if data transmission is not available for over a minute. If there is no re- sponse to the keepalive packets, the server clears the connection.
Data communication with a computer is carried out via USB interface in the service mode. In this case the modem is recognized as a virtual COM port. You can configure the modem using the ATM Control configuration utility as well as using the AT commands in any terminal program.
Page 30
It is not recommended to specify the commands used by the GPRS module and the commands used in the communications protocol between the ATM2 modem and the iRZ Collector software as well as sequences that are parts of these commands.
Page 31
ATM Control configuration utility. «The AT The modem configuration via AT commands and the terminal application is given in the document commands for the iRZ АТМ2-232 Modem Configuration». GPRS access by exact time When this option is enabled, the modem will establish GPRS connection at a specified time once a day.
Page 32
If the modem operates with the iRZ Collector server, the modem is connected to the server and sends the of- fline mode schedule in the start log when supplying power and exiting the service mode.
The modem firmware can be updated both locally by connecting it to a computer – via the ATM Control con- figuration utility, and remotely (when using the iRZ Collector solution) – via the iRZ Collector dispatching appli- cation. Remote firmware updating is supported if you use the iRZ Collector solution in your data collection and device management system.
The ATM initial settings are made using the ATM Control utility or AT commands. Further the modem para- meters can be changed both locally using the the ATM Control utility or AT commands and remotely via the iRZ Collector dispatching application. Remote configuration is supported if you use the iRZ Collector solution in your data collection and device management system.
The modem operation with SIM cards is set up in the tab Settings → Advanced → SIM of the ATM Control utility. 4.8. Working with the Server The modem-client provides transparent data communication between the server and an external device, connected to the modem, in GPRS network over TCP/IP.
Fig. 4.1 Procedure of selecting a production server The figure illustrates the diagram of operation with the server without backup Internet connection (see Fig. 4.2), the diagram of operation with two servers (see Fig. 4.3) and the diagram of operation with two IP ad- dresses on one server (see Fig.
Two clients cannot intercommunicate direct- ly: they need a server. For this reason, the iRZ Collector server has been developed, which serves as a «layer» between the modem client and the software-client providing their communication. Besides, the iRZ Collector provides remote monitoring, firmware updating and configuring the system of modems, as well as sending SMS command to the modem via the dispatching application.
To set up the operation of the modem-client with the iRZ Collector server, it is required to check the box for the Integration into IRZ Collector option and specify an IP address and the server port in the ATM Control utility (the tab Settings →...
SMS command. IRZ – required to be specified if the iRZ Collector server is used. If the system uses a common server, the parameter iRZ is not required.
device model; device name if specified in settings (default value – name); «GPRS-ERROR» string; time of GPRS connection loss. The sample of SMS on GPRS connection loss: АТМ2-232,0003,GPRS-ERROR,15:15:58. If an SMS message fails to be sent, the modem will try to send the message again in the time interval speci- fied in the settings.
If the modem has connected to GPRS, GPRS is set, but if the modem has been in the offline mode - the modem returns to the offline mode. The CSD mode is not available during the embedded software (firmware) update process and the modem settings change.
4.16.1. Setting Up Pins of the «Input» Type The pin set to «input» can operate in the normal or inverse modes. In the normal mode the input high level (level «1») is regarded as an active signal, and the low level (level «0») – a passive one. The modem regards the input high level in the inverse mode as a passive signal, and the low level - as an active one.
Voltage measurement parameters: Voltage measuring range, V: 0 to ATM2 supply voltage. 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;...
Output operation algorithm Output passive state Output active state Code Assignment — Operation via CSD Operation via CSD GPRS When data is received over GPRS, when no data is available to the pin switches to an active state, transmit over GPRS or in a and data transmission begins after COM port within the time pe- ...
Signal type Description Down (passive state) Set for an output only by an SMS command. The output state switches to passive and is stored (if state memory is enabled). The modem can save the outputs state and restore it when restarted. By default, this option is disabled for pins 1 and 2, enabled –...
(modems and a dispatcher center), private IP addresses are set. In this case, there is no need to rent public static IP addresses for modems or operate with modems via the iRZ Collector server (see Fig. 4.5). Fig. 4.5 Methods of remote access to the modem In the Server mode the modem supports the same functions as in the Client mode.
In the Server mode the modem supports operation with the IRZ Collector software solution. To receive data from an external device connected to the modem-server there is no need to deploy the iRZ Collector server - the modem-server can be accessed directly. However, the iRZ Collector server enables the remote modems to be monitored and controlled from the dispatching center.
Server mode and opens the port for incoming connections. The operation of the modem-server with the iRZ Collector server can be set up in the tab Settings → Basic of the ATM Control application. For this purpose check the box for the Control via iRZ Collector option and specify an IP address and port of the iRZ Collector server.
Fig. 4.7 The interaction diagram when using the iRZ Collector software solution - the modem operates in the server mode 4.18.3. TCP/IP Connection Control To establish test connection check, the modem-server can connect to two public servers. When using iRZ Collector, test connection is available only with one public server.
Work mode = «Client» Operating mode – «Client» --------------------------------------- IRZ servers = ON Operation with the iRZ Collector server is enabled Server1 IP:port = «89.223.42.88:5000» IP address and first server port Server2 IP:port = «85.26.210.128:0000» IP address and second server port...
Log Message Message Decoding --------------------------------------- TIMEOUT - reconnect GPRS = 1 min GPRS reconnect interval TIMEOUT - change the SIM due to connection errors = SIM card switch interval 10 min Interval to switch to the primary SIM card (the option is TIMEOUT - return to the main SIM = 0 min disabled by default) ---------------------------------------...
Server response error The iRZ Collector server response error ATM - IRZ server: keep alive If data is not received within a minute, the iRZ Collector server sends a keepalive packet Password ERROR When trying to update the firmware / configure the mod-...
SMS sending displayed in the log. The samples of log messages are given in Table 5.5. Table 5.5 The sample of log messages at sending SMS messages on GPRS connection error Log Message Message Decoding ATM2-232: send sms Telephone number for send SMS: A phone number to send SMS message +70000000000...
Connect the server for 10 minutes: IP address — Server1 IP:port = 85.26.210.128:2222 Work time = 10 min 85.26.210.128, port - 2222 Switch servers = OFF Server switching is disabled IRZ servers = OFF The iRZ Collector server is not used (connect to the com- mon server)
6. Contacts and Support To get a new firmware, documentation and related software versions, please use the following contacts: The company's website: http://www.radiofid.ru/ Phone number in St. Petersburg: +7 (812) 318-18-19 support@radiofid.ru E-mail Our specialists are always ready to answer your questions, assist in installation or configuration, and solve problems regarding the equipment operation.
Need help?
Do you have a question about the ATM2-232 and is the answer not in the manual?
Questions and answers