INVENTIA MT-101 User manual


MT-101
Telemetry Module
MT-101
User’s Manual
GSM/GPRS Telemetry Module
for monitoring and control
Class 1 Telecommunications Terminal
Equipment for GSM 850/900/1800/1900
v
1.43
INVENTIA Sp. z o.o

INVENTIA Sp. z o.o.
Kulczyńskiego 14
02-777 WARSZAWA
Poland
tel. +48 22 545-32-00, fax +48 22 643-14-21
e-mail: inventia@inventia.pl
http://www.inventia.pl
Copyright © 2002-2008INVENTIA Sp. z o.o.
All rights reserved.
Version 1.43
Warsaw, April 2008
Please, note!
This User’s Manual is related to the version 1.43of the firmware software of
the MT-101 Telemetry Module. Versions older than the one described in the
Manual may not support all the features.

1
Index
1. Introduction ............................................................................................................ 8
2. Module’s destination ................................................................................................. 9
3. GSM requirements.................................................................................................... 9
4. Module’s design...................................................................................................... 10
4.1. Topography ..................................................................................................... 10
4.2. Resources ....................................................................................................... 10
4.2.1. Binary inputs ............................................................................................. 11
4.2.2. Analog inputs............................................................................................. 11
4.2.3. Binary outputs ........................................................................................... 11
4.2.4. Serial ports................................................................................................ 12
4.2.5. Real time clock .......................................................................................... 12
4.3. Internal resources ............................................................................................ 13
4.3.1. Registers................................................................................................... 13
4.3.2. Virtual registers ......................................................................................... 13
4.3.3. Clocks....................................................................................................... 13
4.3.4. Counters ................................................................................................... 13
4.3.5. Logger ...................................................................................................... 13
4.3.6. MT2MT Buffer ............................................................................................ 14
4.3.7. Parameters................................................................................................ 14
4.3.8. System variables........................................................................................ 14
4.4. LED diodes ...................................................................................................... 14
4.5. SET buttons..................................................................................................... 15
4.6. SIM card ......................................................................................................... 16
4.7. Antenna .......................................................................................................... 16
4.8. Power supply ................................................................................................... 17
4.9. Housing .......................................................................................................... 17
5. Connections scheme ............................................................................................... 17
5.1. Binary inputs I1....I8 ........................................................................................ 17
5.2. Binary inputs/outputs Q1....Q8........................................................................... 18
5.3. Analog inputs A1, A2 ........................................................................................ 19
5.4. Communication ports ........................................................................................ 20
5.5. Power supply ................................................................................................... 22
6. Starting the module................................................................................................ 23
6.1. Connecting antenna.......................................................................................... 23
6.2. First configuration ............................................................................................ 24
6.3. Inserting SIM card............................................................................................ 25
6.4. Start up .......................................................................................................... 25
7. Module’s operating modes ....................................................................................... 26
7.1. MT Slave mode ................................................................................................ 27
7.2. Transparent mode ............................................................................................ 27
7.3. Modbus RTU Master mode ................................................................................. 27
7.4. Modbus RTU Slave mode ................................................................................... 28
7.5. Modem mode................................................................................................... 29
7.6. Modbus RTU Mirror mode .................................................................................. 29
7.7. Transparent PLUS mode .................................................................................... 30
7.8. GazModem mode.............................................................................................. 30
7.9. M-Bus LEC mode .............................................................................................. 30
7.10. NMEA 0183 mode ........................................................................................... 31
7.11. FlexSerial mode.............................................................................................. 31
8. Configuration......................................................................................................... 32
8.1. General information .......................................................................................... 32
8.2. Parameter groups............................................................................................. 32
8.2.1. Header ..................................................................................................... 33
8.2.1.1. Module name ....................................................................................... 33
8.2.1.2. Module type......................................................................................... 33

2
8.2.1.3. Module serial number............................................................................ 33
8.2.1.4. IMEI number ....................................................................................... 33
8.2.1.5. Internal program version....................................................................... 34
8.2.1.6. Configuration file version ....................................................................... 34
8.2.1.7. Configuration identifier.......................................................................... 34
8.2.1.8. Last configuration date.......................................................................... 34
8.2.1.9. Last read of device time ........................................................................ 34
8.2.2. General..................................................................................................... 34
8.2.2.1. Mode of operation ................................................................................ 35
8.2.2.2. SIM card's PIN code.............................................................................. 36
8.2.2.3. GSM band ........................................................................................... 36
8.2.2.4. Access to configuration ......................................................................... 36
8.2.2.5. Configuration password ......................................................................... 37
8.2.2.6. Configuration reading block ................................................................... 37
8.2.2.7. Reset after inactivity............................................................................. 37
8.2.2.8. Data overwriting protection.................................................................... 38
8.2.2.9. Password for data writing ...................................................................... 38
8.2.2.10. Error display time ............................................................................... 38
8.2.2.11. Use GPRS .......................................................................................... 38
8.2.2.12. Use SMS............................................................................................ 39
8.2.2.13. Monthly SMS limit............................................................................... 39
8.2.2.14. Roaming............................................................................................ 39
8.2.3. GPRS........................................................................................................ 40
8.2.3.1. APN name ........................................................................................... 40
8.2.3.2. APN user name .................................................................................... 40
8.2.3.3. APN password...................................................................................... 40
8.2.3.4. Device IP ............................................................................................ 40
8.2.3.5. IP assignment...................................................................................... 40
8.2.3.6. Set IP ................................................................................................. 41
8.2.3.7. Virtual IP address ................................................................................. 41
8.2.3.8. Number of GPRS transmission retries ...................................................... 41
8.2.3.9. Transmission timeout............................................................................ 42
8.2.3.10. Idle time ........................................................................................... 42
8.2.3.11. GPRS testing IP address ...................................................................... 42
8.2.3.12. Number of login retries........................................................................ 43
8.2.3.13. Wait time after disconnection ............................................................... 43
8.2.3.14. Data frame format .............................................................................. 43
8.2.3.15. Proxy server IP address....................................................................... 44
8.2.3.16. CRC compatibility ............................................................................... 44
8.2.4. Authorized numbers.................................................................................... 44
8.2.4.1. Number of phone numbers .................................................................... 44
8.2.4.2. Number of IP numbers .......................................................................... 45
8.2.4.3. Phone ................................................................................................. 45
8.2.4.4. IP ...................................................................................................... 45
8.2.5. Mode of operation ...................................................................................... 46
8.2.5.1. Transparent mode ................................................................................ 46
8.2.5.1.1. GPRS transmission…………………………………………………………………. 46
8.2.5.1.1.1. Max. length of data packet........................................................ 46
8.2.5.1.1.2. Data packet delimiter................................................................ 46
8.2.5.1.1.3. Channel reservation time........................................................... 47
8.2.5.1.1.4. Routing................................................................................... 47
8.2.5.1.1.5. Address offset.......................................................................... 48
8.2.5.1.1.6. Broadcast address .................................................................... 48
8.2.5.1.1.7. Routing table size..................................................................... 48
8.2.5.1.2. Routing table…………………………………………………………….………………… 48
8.2.5.2. Modbus RTU Master mode ..................................................................... 49
8.2.5.2.1. Routing table size………………………………………………………………………… 49
8.2.5.2.2. Routing table………………………………………………………………………………. 49

3
8.2.5.3. Modbus RTU Slave mode ....................................................................... 49
8.2.5.3.1. Routing table size………………………………………………………………………… 50
8.2.5.3.2. Routing table………………………………………………………………………………. 50
8.2.5.4. Modbus RTU Mirror mode ...................................................................... 50
8.2.5.4.1. Number of data blocks…………………………………………………………………. 50
8.2.5.4.2. Delay after error in communication with SLAVE……………………………….. 50
8.2.5.4.3. Data block 1...16…………………………………………………………………………. 51
8.2.5.4.3.1. Modbus ID of Slave device......................................................... 51
8.2.5.4.3.2. Space ..................................................................................... 51
8.2.5.4.3.3. Address of mapped space in module............................................ 51
8.2.5.4.3.4. Address of mapped space in SLAVE............................................. 52
8.2.5.4.3.5. Mapped space size.................................................................... 52
8.2.5.4.3.6. Mapped space read interval ....................................................... 52
8.2.5.5. Transparent PLUS mode ........................................................................ 52
8.2.5.5.1. Max. length of data packet……………………………………………………………. 53
8.2.5.5.2. Data packet delimiter……………………………………………………………………. 53
8.2.5.5.3. Channel reservation time………………………………………………………………. 53
8.2.5.6. GazModem mode.................................................................................. 54
8.2.5.6.1. Read interval……………………………………………………………………….……… 54
8.2.5.6.2. Number of retries………………………………………………………………………… 54
8.2.5.6.3. Transmission timeout…………………………………………………………………… 54
8.2.5.6.4. Threshold hysteresis…………………………………………………………………….. 54
8.2.5.6.5. Alarm station IP address……………………………………………………………….. 55
8.2.5.6.6. Number of devices……………………………………………………………………….. 55
8.2.5.6.7. MC 1....16………………………………………………………………………………….. 55
8.2.5.6.7.1. Address .................................................................................. 55
8.2.5.6.7.2. Alarm reading .......................................................................... 55
8.2.5.6.7.3. Signal reading.......................................................................... 56
8.2.5.6.7.4. Current data reading................................................................. 56
8.2.5.6.7.5. Current data block index ........................................................... 56
8.2.5.6.7.6. Current data block length .......................................................... 56
8.2.5.7. M-Bus LEC mode .................................................................................. 57
8.2.5.7.1. Read interval………………………………………………………………………………… 57
8.2.5.7.2. Number of retries………………………………………………………………………….. 57
8.2.5.7.3. Transmission timeout…………………………………………………………………….. 57
8.2.5.7.4. Threshold hysteresis……………………………………………………………………… 58
8.2.5.7.6. Gas meter reading interval……………………………………………………………… 58
8.2.5.7.7. Number of transmission retries to gas meter……………………………………… 58
8.2.5.7.8. Transmission timeout for gas meter………………………………………………… 58
8.2.5.7.9. Number of devices………………………………………………………………………… 59
8.2.5.7.10. MC……………………………………………………………………………………………. 59
8.2.5.7.10.1. Address 1....16 ...................................................................... 59
8.2.5.7.10.2. Geographical coordinates format............................................... 59
8.2.5.7.10.3. Identifier 1....16..................................................................... 59
8.2.5.8. NMEA 0183 mode ................................................................................. 60
8.2.5.8.1. Data validity time…………………………………………………………………………..60
8.2.5.9. FlexSerial ............................................................................................ 60
8.2.5.9.1. Max. length of data packet……………………………………………………………… 60
8.2.5.9.2. Data packet delimiter…………………………………………………………………….. 60
8.2.6. Resources ................................................................................................. 61
8.2.6.1. Modbus ID number of module's internal resources..................................... 61
8.2.6.2. Terminals ............................................................................................ 61
8.2.6.2.1. Binary inputs I1,....I8……………………………………………………………………..61
8.2.6.2.1.1. Name ..................................................................................... 61

4
8.2.6.2.1.2. Operating modes...................................................................... 61
8.2.6.2.1.2.1. Binary input....................................................................... 62
8.2.6.2.1.2.1.1. Filtering constant ......................................................... 62
8.2.6.2.1.2.2. Analogue inputs ................................................................. 62
8.2.6.2.1.2.2.1. Engineering units ......................................................... 62
8.2.6.2.1.2.2.2. Low reference - internal units......................................... 62
8.2.6.2.1.2.2.3. Low reference - engineering units ................................... 63
8.2.6.2.1.2.2.4. High reference - internal units........................................ 63
8.2.6.2.1.2.2.5. High reference - engineering units .................................. 63
8.2.6.2.1.2.2.6. Alarm HiHi................................................................... 63
8.2.6.2.1.2.2.7. Alarm Hi ..................................................................... 63
8.2.6.2.1.2.2.8. Alarm Lo ..................................................................... 64
8.2.6.2.1.2.2.9. Alarm LoLo.................................................................. 64
8.2.6.2.1.2.2.10. Alarm hysteresis......................................................... 64
8.2.6.2.1.2.2.11. Dead band................................................................. 64
8.2.6.2.1.2.3. Counter inputs ................................................................... 65
8.2.6.2.1.2.3.1. Counting direction ........................................................ 65
8.2.6.2.1.2.3.2. Counting range ............................................................ 65
8.2.6.2.1.2.3.3. Activating slope............................................................ 65
8.2.6.2.1.2.3.4. Filtering constant ......................................................... 65
8.2.6.2.2. Binary outputs Q1....Q8……………………………………………………………….. 66
8.2.6.2.2.1. Name ..................................................................................... 66
8.2.6.2.2.2. Operating modes...................................................................... 66
8.2.6.2.2.2.1. Binary input....................................................................... 66
8.2.6.2.2.2.2. Analogue inputs ................................................................. 67
8.2.6.2.2.2.2.1. Engineering units ......................................................... 67
8.2.6.2.2.2.2.2. Low reference - internal units......................................... 67
8.2.6.2.2.2.2.3. Low reference - engineering units ................................... 67
8.2.6.2.2.2.2.4. High reference - internal units........................................ 68
8.2.6.2.2.2.2.5. High reference - engineering units .................................. 68
8.2.6.2.2.2.2.6. Alarm HiHi................................................................... 68
8.2.6.2.2.2.2.7. Alarm Hi ..................................................................... 68
8.2.6.2.2.2.2.8. Alarm Lo ..................................................................... 68
8.2.6.2.2.2.2.9. Alarm LoLo.................................................................. 69
8.2.6.2.2.2.2.10. Alarm hysteresis......................................................... 69
8.2.6.2.2.2.2.11. Dead band................................................................. 69
8.2.6.2.2.2.3. Counter inputs ................................................................... 69
8.2.6.2.2.2.3.1. Counting direction ........................................................ 69
8.2.6.2.2.2.3.2. Counting range ............................................................ 70
8.2.6.2.2.2.3.3. Activating slope............................................................ 70
8.2.6.2.2.2.3.4. Filtering constant ......................................................... 70
8.2.6.2.2.2.4. Binary outputs ................................................................... 70
8.2.6.2.3. Analogue inputs AN1, AN2…………………………………………………………….. 70
8.2.6.2.3.1. Name ..................................................................................... 70
8.2.6.2.3.2. Operating mode ....................................................................... 71
8.2.6.2.3.3. Engineering units ..................................................................... 71
8.2.6.2.3.4. Low reference - internal units..................................................... 71
8.2.6.2.3.5. Low reference - engineering units ............................................... 71
8.2.6.2.3.6. High reference - internal units.................................................... 71
8.2.6.2.3.7. High reference - engineering units .............................................. 72
8.2.6.2.3.8. Alarm HiHi............................................................................... 72
8.2.6.2.3.9. Alarm Hi ................................................................................. 72
8.2.6.2.3.9.1. Alarm Lo ........................................................................... 72
8.2.6.2.3.10. Alarm LoLo ............................................................................ 72
8.2.6.2.3.11. Alarm hysteresis..................................................................... 73
8.2.6.2.3.12. Dead band............................................................................. 73
8.2.6.3. Serial port ........................................................................................... 73
8.2.6.3.1. Interface type…………………………………………………………………………….. 73
8.2.6.3.2. Transmission speed……………………………………………………………………… 74

5
8.2.6.3.3. Stop bits………………………………………………………………………………………..74
8.2.6.3.4. Parity…………………………………………………………………………………………… 74
8.2.6.4. Asynchronous clocks............................................................................. 74
8.2.6.4.1. Clocks TMR1, TMR2……………………………………………………………………….. 74
8.2.6.4.1.1. Period..................................................................................... 74
8.2.6.5. Synchronous clocks .............................................................................. 75
8.2.6.5.1. Clock TMR3, TMR4 …………………………………………………………………………75
8.2.6.5.1.1. Start ...................................................................................... 75
8.2.6.5.1.2. Period..................................................................................... 75
8.2.6.6. Logger ................................................................................................ 75
8.2.6.6.1. Active…………………………………………………………………………………………….. 75
8.2.6.6.2. Sampling interval………………………………………………………………………….. 76
8.2.6.6.3. Buffer flush mode…………………………………………………………………………..76
8.2.6.6.4. Buffer flush interval………………………………………………………………………..76
8.2.6.6.5. Recipient IP address……………………………………………………………………… 76
8.2.6.7. MT2MT Buffer ...................................................................................... 77
8.2.6.7.1. Active…………………………………………………………………..…………………….. 77
8.2.6.7.2. Sending to PORT2…………………………………………………………………………. 77
8.2.6.7.3. Buffer address……………………………………………………………………………… 77
8.2.6.7.4. Buffer size…………………………………………………………………………………… 77
8.2.6.8. Constant parameters ............................................................................ 78
8.2.6.8.1. Number of parameters…………………………………………………………………… 78
8.2.6.8.2. Parameter 1....64…………………………………………………………………………..78
8.2.7. Rules ........................................................................................................ 78
8.2.7.1. SMS sending........................................................................................ 78
8.2.7.1.1. Number of SMS sending rules…………………………………………………………..79
8.2.7.1.2. SMS sending rule…………………………………………………………………………… 79
8.2.7.1.2.1. Trigger input............................................................................ 79
8.2.7.1.2.2. Trigger flag ............................................................................. 79
8.2.7.1.2.3. SMS text................................................................................. 80
8.2.7.1.2.4. Recipient number ..................................................................... 80
8.2.7.1.2.5. Status sending......................................................................... 80
8.2.7.2. Data sending ....................................................................................... 81
8.2.7.2.1. Number of data sending rules………………………………………………………… 81
8.2.7.2.1.1. Data sending rule ..................................................................... 81
8.2.7.2.1.1.1. Trigger input...................................................................... 81
8.2.7.2.1.1.2. Trigger flag ....................................................................... 82
8.2.7.2.1.1.3. IP address......................................................................... 82
8.2.7.2.1.1.4. Send ................................................................................ 82
8.2.7.2.1.1.5. Buffer address ................................................................... 83
8.2.7.2.1.1.6. Buffer size......................................................................... 83
8.2.7.3. CLIP calls ............................................................................................ 83
8.2.7.3.1. Number of CLIP calls rules……………………………………………………………… 84
8.2.7.3.2. Number of trials……………………………………………………………………………. 84
8.2.7.3.3. Interval between trials…………………………………………………………………… 84
8.2.7.3.4. CLIP call rule………………………………………………………………………………… 85
8.2.7.3.4.1. Trigger input............................................................................ 85
8.2.7.3.4.2. Trigger flag ............................................................................. 85
8.2.7.3.4.3. Recipient number ..................................................................... 85
8.2.7.3.4.4. Calling time ............................................................................. 86
8.3. Configuration writing ........................................................................................ 86
8.4. Verification of configuration ............................................................................... 86
9. Programming......................................................................................................... 86
9.1. General information .......................................................................................... 86
9.2. Starting to work ............................................................................................... 87

6
9.3. Main window layout .......................................................................................... 89
9.3.1. Menu items ............................................................................................... 89
9.3.1.1. File..................................................................................................... 89
9.3.1.2. Module................................................................................................ 90
9.3.1.3. Help ................................................................................................... 94
9.3.1.4. Toolbar ............................................................................................... 95
9.4. Program editor table ......................................................................................... 95
9.5. Standard functions ........................................................................................... 95
9.6. Numeric keyboard ............................................................................................ 96
9.7. Auxiliary functions ............................................................................................ 97
9.8. Description of Program functions ....................................................................... 97
9.9. Description of internal function blocks ............................................................... 106
9.9.1. Timers T1...T8 ......................................................................................... 106
9.9.2. Counters C1...C8...................................................................................... 107
9.10. Signal levels or edges.................................................................................... 107
9.11. Filling and modifying program table................................................................. 107
9.12. Downloding the program................................................................................ 109
9.13. Verifying the program ................................................................................... 109
9.14. Examples of programs................................................................................... 109
9.14.1. The timer .............................................................................................. 109
9.14.2. The counter ........................................................................................... 110
9.14.3. Pulse generator ...................................................................................... 110
9.14.4. 2 pumps alternating action....................................................................... 110
9.14.5. 3 pumps toggle action ............................................................................. 111
9.14.6. Checking bit's value in the registry............................................................ 112
9.14.7. Alarm with confirmation........................................................................... 113
9.14.8. Motion detector ...................................................................................... 114
9.14.9. Logger program...................................................................................... 114
10. Problem solving.................................................................................................. 115
10.1. LED signaling ............................................................................................... 115
10.1.1. Inputs/Outputs Q1....Q8.......................................................................... 116
10.1.2. Inputs I1....I8 ........................................................................................ 116
10.1.3. GSM status ............................................................................................ 117
10.1.4. GSM activity .......................................................................................... 117
10.1.5. GSM signal level ..................................................................................... 118
10.1.6. PORT 2 activity....................................................................................... 118
10.1.7. Module's status ...................................................................................... 119
10.1.8. SET1, SET2 alarm thresholds.................................................................... 120
10.2. Unblocking of SIM card.................................................................................. 120
10.3. Error signaling.............................................................................................. 121
10.3.1. Standard errors ...................................................................................... 122
10.3.2. Critical errors ......................................................................................... 123
11. Technical data.................................................................................................... 123
11.1. General ....................................................................................................... 123
11.2. GSM/GPRS Modem........................................................................................ 124
11.3. Power supply ............................................................................................... 124
11.4. Binary inputs I1....I8..................................................................................... 125
11.5. Binary outputs Q1....Q8................................................................................. 125
11.6. Analog inputs A1, A2..................................................................................... 125
11.7. Drawings and dimensions .............................................................................. 126
12. Safety informations............................................................................................. 127
12.1. Working environment .................................................................................... 127
12.2. Electronic equipment..................................................................................... 127
12.2.1. Heart pacemakers................................................................................... 127
12.2.2. Hearing aids .......................................................................................... 128
12.2.3. Other medical equipment......................................................................... 128
12.2.4. RF Marked equipment.............................................................................. 128

7
12.3. Explosive environment .................................................................................. 128
13. Appendices ........................................................................................................ 128
13.1. Data transmission in GSM systems.................................................................. 128
13.1.1. SMS...................................................................................................... 128
13.1.2. CSD (HSCSD) ........................................................................................ 128
13.1.3. GPRS .................................................................................................... 129
13.1.3.1. Advantages of GPRS technology.......................................................... 129
13.1.3.2. GPRS in telemetry applications .......................................................... 129
13.1.4. EDGE .................................................................................................... 130
13.1.5. UMTS.................................................................................................... 130
13.1.6. HSDPA .................................................................................................. 130
13.2. Application examples..................................................................................... 130
13.2.1. Communication with single module ........................................................... 130
13.2.2. Point to point communication ................................................................... 131
13.2.2.1. Using internal resources .................................................................... 131
13.2.2.2. Data transmission from external devices .............................................. 133
13.2.2.2.1. Configuration for transparent mode………………………………………………. 133
13.2.2.2.2. Configuration for GazModem mode………………………………………………..133
13.2.2.2.3. Configuration for M-Bus Lec mode………………………………………………… 134
13.2.2.2.4. Configuration for NMEA 0183 mode………………………………………………. 134
13.3. Syntax for reading and writing data in SMS mode.............................................. 135
13.4. Unlocking writing to internal registers.............................................................. 136
13.5. Working with dynamic IP addressing ............................................................... 136
13.6. Data formats................................................................................................ 137
13.7. Module's Status format.................................................................................. 138
13.8. Trigger inputs .............................................................................................. 138
13.9. Flags .......................................................................................................... 139
13.10. RM-120 ..................................................................................................... 140
13.11. Memory map .............................................................................................. 142
13.11.1. Binary inputs space ............................................................................... 142
13.11.2. Binary outputs space ............................................................................. 145
13.11.3. Analogue inputs space ........................................................................... 147
13.11.4. Internal Registers space......................................................................... 149
13.11.5. Auxiliary resources for GazModem mode .................................................. 153
13.11.6. Auxiliary resources for M-Bus mode......................................................... 155
13.11.7. Auxiliary resources fo NMEA 0183 mode................................................... 159

8
1. Introduction
Despite the explosive expansion of mobile phone networks and the per definition digital
nature of transmission utilized by them, these networks were not well-suited for the
transfer of digital data streams until recently. The applied technologies used traditional
modem protocols. This meant that the need to use circuit-switched mode for establishing
connections and transmission capabilities was limited to point-to-point connections. Thus,
we had to do with the typical analogue circuit-switched links technology used in traditional
telephone systems adapted to the wireless digital transmission environment. A connection
established for data transmission occupied the whole voice channel. As a result,
simultaneous phone calls were impossible, and the cost of transmission depended on the
connection time rather than the amount of the transferred data. In this situation, the real-
time monitoring of units requiring constant supervision but generating a relatively small
amount of data was not possible.
The situation changed radically after GSM operators introduced data transmission services
in the GPRS (General Packet Radio Services) standard. The new technology, called the 2.5G
standard - meaning Two and a Half Generation, is a bridge between the to-date
technologies of the Second-Generation GSM networks (2G) and the Third-Generation
technology (3G - UMTS) which has been waiting for application on a wide scale. However,
broadband 3G technology is still very distant. So let us deal with the solutions available
right now.
In providing this user’s manual, we are aware that it will not answer all your questions and
address all your doubts. This is why the manual will be regularly supplemented and
modified. We ask for your comments and welcome suggestions in order to make this
manual more useful.
INVENTIA Ltd.

9
2. Module’s destination
MT-101 is a specialized telemetry module optimized for application in advanced
measurement and alarm systems provided with a mains power supply.
General attributes of MT-101:
•Compact design
•Reach input/output set
•Local logging of measurement results
•Local execution of user program
•Ability to extend network with local extension modules
•Spontaneous transmission of data on occurrence of pre-defined alert states
enabling application on objects requiring continuous monitoring.
A typical application field for MT-101 are all installations requiring local control and
transmission of data to remote monitoring center.
We encourage getting acquainted with the modules' configuration and modes of operation
along with examples of application in different configurations described in appendices.
3. GSM requirements
For proper operation, the module needs a SIM card supplied by a GSM operator providing
GPRS and/or SMS services.
The GPRS/enabled SIM card has to be registered in the APN with static IP addressing. The
unique IP address of the SIM card is an identification for the module within the APN. This
enables module-to-module and module-to-server communication within the APN structure.
A good and strong GSM signal in the place where the module's antenna is located is
imperative for the proper function of the module. Using the module in places where the
signal is weak may lead to interruptions in transmission and possible loss of transmitted
data along with increased costs generated by transmission retries

10
4. Module’s design
4.1. Topography
4.2. Resources
MT-101 module's resources
DI - binary inputs 8
(max.16)
working as:
•binary input
•counter input
•analogue input F/U
DO - binary
outputs 8
working as:
•binary otput
•binary input
•counter input
•analogue input F/U
C- counters 0
(max.16) each input and output can work as a counter input
AI - analogue
inputs
2
(+ 16)
•4 - 20 mA
•as analogue F/U created of binary inputs and
outputs
Serial PORT 1 1 standard RS232 - for configuration only
Serial PORT 2 1 standard RS232/422/485 - different communication
protocols

11
4.2.1. Binary inputs
The MT-101 Telemetry Module is equipped with 8 dedicated binary inputs marked as I1 –
I8. The inputs support both positive and negative logic.
Additionally, up to 8 binary inputs are available if binary outputs, Q1 – Q8, are configured
to work in the binary input mode. For design-related reasons, those inputs work exclusively
in positive logic.
The change of the input signal sets the alarm flag, connected with the corresponding binary
input I1 – I8, Q1 – Q8, respectively as BiIn0->1, BiIn1->0 i Bi In Chg . The flags may be
used in rules processing.
Each of the binary inputs, I1 – I8, Q1 – Q8, may be configured independently also to
work in the counter or analogue mode. The use of binary inputs in these additional modes
will be presented further in respective sections of this manual.
4.2.2. Analog inputs
The MT-101 Telemetry Module is equipped with two 420 mA analog inputs marked as AN1
and AN2. The inputs are isolated both from each other and from the rest of the device,
enabling the easy connectivity of the signal sources with different ground potentials. The
AN1, AN2 analog inputs are the only inputs with manually-set alarm levels, set by SET
buttons on the front panel of the device. This enables you to change the alarm level easily
without the need to use the MTM configuration program.
Additionally, users may create up to 16 analog inputs by reconfiguring binary inputs I1-I8
and binary outputs Q1-Q8 to work in quasi/analog mode. After reconfiguration, all inputs
work in input signal frequency-to-analog conversion, so for proper operation, one has to
connect analog signal source via analog-to-frequency converter which outputs a square
wave of frequency proportional to analog signal. Input signal conversion range is 0-2kHz.
During configuration of analogue inputs, the user can set engineering units and precisely
rescale the input signal. The alarm levels and the time of input signal integration are also
configurable. The possibility to configure as much as four - and in the case of the AN1 and
AN2 inputs five - alarm levels guarantees supervision flexibility of monitoring of analogue
signals.
Both alarms triggered by the analogue signal value (4) and the rate of signal change (2)
are available. As mentioned above, it is possible to define additional alarm levels for AN1
and AN2 inputs manually by using buttons on the device front panel.
Additional information about manually/set threshold levels for A1 and A2 are described in
chapter SET buttons.
Analogue inputs have two parameters defined. They are Hysteresis and Dead band. The
value of hysteresis defines insensitivity of device for signal variations near threshold values
preventing excessive generation of events. The range of hysteresis allows generating event
only when the signal on the input changes by defined value. Hysteresis is set for all
selected analogue input alarm thresholds.
FLags AnLoLo, AnLo, AnHi, AnHiHi,An DB, An Set Fall, An Set Rise, set by analogue signal
changes may be employed for rules processing.
4.2.3. Binary outputs
MT-101 Telemetry module is equipped with 8 dedicated binary outputs marked Q1....Q8.
The state of outputs is set by writing desired value into a binary outputs memory register.

12
This record may be performed either remotely via GPRS or locally as the execution of a
user-defined program.
For each binary output, the state of forcing signal is compared with actual output state
signal. Upon detection of discrepancy, the BiOutErr Flag is raised and may be used for rules
processing.
As stated before for Binary inputs, any binary output may be individually configured to
work either as binary input, counter input or quasi-analogue input.
That makes the hardware universal in application.
4.2.4. Serial ports
MT-101 Telemetry Module is equipped with two serial ports PORT1 and PORT2.
PORT1 works only in RS232 mode and is dedicated to local configuration of parameters.
In order to perform local configuration, connect this port to a PC-class computer with
running MTM program. Operating parameters of this port are not modifiable and the length
of the connecting cable should not exceed 3 m. This port is not isolated!
PORT2 is capable of operating in RS232/422/485 modes and serves communication with
external data sources. The interface and operating mode is selected during module's
configuration. This port is optoisolated.
4.2.5. Real time clock
MT-101 Module is equipped with astronomical time clock (RTC).
The clock is a base for defining working cycles of module, timers and time stamps for
measurement results recorded in registers. Imprecise clock setting results in faulty time
stamping and subsequent loss of vital information. For that reason, it is recommended to
set the clock to UTC time instead of the local time zone of the module's placement.
CAUTION!
The module's RTC clock does not automatically adjust to summer/winter
time. To avoid loss of data during manual time adjustment, UTC time is
recommended .
CAUTION!
The RTC clock is powered from an internal battery, and as long as it is
operational there is no need to reset the time after power-off. Since the
clock precision is not absolute, periodical time adjustment may be
necessary.
Setting the time is described in configuring mode documentation for the MTM program.
NOTICE!
The first configuration has to be performed locally, via PORT1 in order to
provide the module with basic GPRS communication parameters like PIN
code and APN name.

13
4.3. Internal resources
4.3.1. Registers
MT-101 Telemetry module has in it's internal resources 16 bit input registers and 16 bit
internal registers. Remote access to these areas is possible using standard Modbus
commands.
Internal Registers are not reset at power off.
Input Registers are reset at power on.
Module's 16 bit registers store unsigned values in range 0-65535. In order to increase the
range of stored values, pairs of 16 bit registers were reserved to create 32 bit registers
storing signed values for use in user/defined internal program.
4.3.2. Virtual registers
MT-101 Telemetry module feature 16 bit Virtual Registers. They reflect input (VREG_BIx)
and output (VREG_BOx) bit spaces. Using virtual registers gives easy access to bit groups
and copying data between bit spaces and registers. Access to registers is possible through
module's internal program using standard programming functions described in the chapter
Programming.
4.3.3. Clocks
MT-101 Telemetry Module is equipped with 4 programmatic clocks divided in two groups
with different functionalities.
2 programmable Asynchronous clocks TMR1, TMR2, enable cyclical time measuring for
up to 100 days (8 640 000 s) and 2 programmable Synchronous clocks TMR3, TMR4,
enable cyclical time measuring from 1 min to 24 h with synchronization with module z RTC
clock.
Properly configured clock counts the time setting after each completed period, for one
program cycle, a flag in binary inputs space (respective TMR1, TMR2, TMR3, TMR4). These
flags can be used in internal controlling program or for triggering transmission on event.
4.3.4. Counters
Each of MT-101 module's inputs/outputs is capable of counting pulses and storing the
value in 32 bit counter with capacity of 2 147 483 647 (31 bits + counting direction bit)
events. The counter can count „up” or „down”, and the range can be freely defined in range
of 1 to 2 147 483 647.
Counting "up" means that the counter value is increased by 1 for each detected pulse and
after reaching the value set as "counter length-1" is reset to "0". Counting "down"
diminishes the counter value by 1 for each detected pulse and after reaching the value set
as "counter length-1" is reset to "0" to resume the value of defined maximum.
Crossing the value of counter length sets Counter alarm flag for respective input. The flag
can be used in the internal controlling program or for triggering transmission on event.
4.3.5. Logger
MT-101 Telemetry Module is equipped with internal Recorder, storing state changes on
binary inputs/outputs and on analogue inputs. The Recorder has a volume of 140 data
records. New records are written to memory after change of state on binary inputs/outputs
or at crossing of dead band defined for analogue inputs. Records are stamped with time

14
stamp from module's internal real time clock (RTC). It is recommended to set module's RTC
compliant to UTC for preserving data integrity.
Data written in the recorder is transmitted accordingly to configured options to defined IP
address. Confirmation of reception removes records from the recorder.
NOTICE!
The recorder function is available only in GPRS mode.
4.3.6. MT2MT Buffer
MT2MT buffer enables creation of system where MT-101/102/202 modules may exchange
information (Internal Registers) with each other without any relaying instance.
Data transmission from one module to another goes like this:
1.In sending module the event/triggered sending of the buffer has to be defined.
2.In receiving module switch the MT2MT buffer on and define it's placement and size so
that it encompasses the area of sent registers.
3.Upon reception of event-triggered data frame, registers from event-reporting module are
copied into receiving module's registers and MT2MT_x bit informing about modification of
MT2MT buffer with data from respective IP is set. (Bit number reflects the index of IP
address in GPRS/Authorized numbers in configuration). MT2MT_x bits are set for 1
program cycle immediately after reception and recording it in MT2MT buffer.
4.Data transmission in this system copies registers of sending module into the exact same
register in receiving module. When designing communication between larger number of
modules, separate register areas have to be sent and appropriately large areas define for
MT2MT receiving buffer in receiving modules.
4.3.7. Parameters
In MT-101 module max. 64 constant parameters that are loaded into module's memory
during initialization of the module can be defined.
These constants are stored in 16 bit registers and have numerical values ranging from 0 –
65535.
Constant parameters may be used for parameterization of user programs.
Defined parameters are not reset after power loss or module is reset.
4.3.8. System variables
MT-101 has system variables connected to GSM/GPRS connection state and power supply.
Variables state is reflected by flags that can be used as transmission triggers or in internal
control programs.
FS1_ups = 1 - loss of potential at module's UPS pin
FS1_q+ = 1 - loss of power supply for binary outputs Q1..Q8
FS1_gprs = 1 - informs upon log off from GPRS network
Full list of system variables is placed in Memory map chapter in Appendices.
4.4. LED diodes
LED indicators placed on MT-101 front panel are convenient during module start up phase.

15
Detailed description of signaling patterns is placed in chapter LED signaling.
4.5. SET buttons
SET buttons placed on MT-101 front panel are for manual setting of auxiliary alarm
thresholds for analogue inputs A1 and A2.
Manually set thresholds can not be modified or read during configuration of module.
There are two flags connected to these thresholds , ANX_Set_F and ANX_Set_R, informing
about crossing of the set level, and two alarms - An Set Fall and An Set Rise that may be
used for rule processing.

16
As shown by graph, the value at which flags ANX_Set_F and ANX_Set_R, are set and
cleared depends not only on input signal level but on hysteresis defined for given input.
Proper value of hysteresis protects against excessive alarm generation by noise or
oscillation around threshold value signal.
4.6. SIM card
MT-101 telemetry module is equipped with standard miniature SIM card holder for
connecting card to GSM modem.
If use of GPRS transmission is intended the SIM card should have GPRS option and
possibility of login to APN for assigning static IP addresses activated. In absence of static IP
address, use of the module for GPRS transmission is impaired.
Proper placement of the SIM card is imperative for module's operation. The module accepts
only SIM cards operating in low potential technology 3,3V.
4.7. Antenna
Attachment of antenna is essential for proper operation of MT-101 telemetry module. SMA
socket is placed on module's front panel. The attached antenna has to secure appropriate
radio signal level enabling login to GSM network.
The type and placement of antenna has significant influence on module's sender/receiver
circuits. GSM signal level is reflected by SGN LEVEL LEDs on module's front panel . When
GSM signal level is not sufficient for reliable operation LED is not lit. In that case the use of
a directional antenna should be considered.

17
4.8. Power supply
MT-101 may be powered by 18...26,4 V (AC) or 10,8...36 V (DC).
NOTICE!
Exceeding the range of power supply may cause faulty operation or damage
the module!
The module may work with auxiliary battery supply securing operation for some time after
main supply failure. In order to discriminate whether the module is powered from battery or
from main supply the module has a binary input marked UPS, where the signal informing
that main supply has failed. Main supply voltage drop below 10,8 V raises the FS1_ups
system flag. The flag may be used for rules processing. The input may be used to signal
main supply failure and switch over to battery supply.
4.9. Housing
MT-101 module is encapsulated in standard housing made of plastic compliant with safety
requirements and protecting the module in standard operating environment.
The applied solution complies with standard industrial requirements for DIN rail mounting.
5. Connections scheme
This chapter shows standard configurations of connections securing proper operation of
MT-101 module's integral inputs in all available operating modes.
5.1. Binary inputs I1....I8
Integral binary inputs marked as I1....I8 may work in both positive and negative logic
making circuit design very easy.
Binary inputs I1....I8 – in positive logic:
Table of contents