background image

Summary of Contents for MT-021

Page 1: ......

Page 2: ...MT 021 Telemetry Module MT 021 User Manual GSM GPRS Telemetry Module for monitoring and control Class 1 Telecommunications Terminal Equipment for GSM 850 900 1800 1900 v1 51 INVENTIA Sp z o o ...

Page 3: ...wodowane lub rzekomo związane bezpośrednio lub pośrednio z niniejszym opracowaniem All rights reserved No parts of this work may be reproduced in any form or by any means graphic electronic or mechanical including photocopying recording taping or information storage and retrieval systems without the written permission of the publisher Products that are referred to in this document may be either tr...

Page 4: ...N VIA SMS 21 4 3 HOW DO I DISABLE A SIM PIN NUMBER 22 5 CONNECTIONS SCHEME 23 5 1 POWER SUPPLY 23 5 2 BINARY INPUTS I1 I4 24 5 3 RELAY OUTPUTS Q1 Q4 25 5 4 ANALOG INPUTS AN1 AN2 25 5 5 1 WIRE INPUTS 27 6 CONFIGURATION 28 6 1 GENERAL INFORMATION 28 6 2 PARAMETER GROUPS 28 6 2 1 Header 29 6 2 1 1 Module name 29 6 2 1 2 Module type 29 6 2 1 3 Module serial number 29 6 2 1 4 IMEI number 29 6 2 1 5 SIM...

Page 5: ...tent 37 6 2 4 GPRS 37 6 2 4 1 APN name 37 6 2 4 2 APN user name 37 6 2 4 3 APN password 37 6 2 4 4 Module IP 38 6 2 4 5 GPRS login retry interval s 38 6 2 4 6 GPRS testing address ping 38 6 2 4 7 Idle time s 38 6 2 5 Authorized numbers 39 6 2 5 1 Number of phone numbers 39 6 2 5 2 Update phone numbers from SIM card 39 6 2 5 3 Phone number from SIM card always authorized 39 6 2 5 4 Phone 40 6 2 6 R...

Page 6: ... 1 5 Alarm hysteresis 48 6 2 6 1 4 2 1 6 Deadband 49 6 2 6 2 Synchronous timers TMR1 TMR4 49 6 2 6 2 1 Active 49 6 2 6 2 1 1 Start HH MM 49 6 2 6 2 1 2 Period 49 6 2 6 2 1 3 Days of week 50 6 2 6 2 1 4 Days of month 50 6 2 6 3 State logging 50 6 2 6 3 1 Start HH MM 50 6 2 6 3 2 Period 50 6 2 6 3 3 Logged information 51 6 2 7 Events 51 6 2 7 1 Number of events 51 6 2 7 2 Name 51 6 2 7 3 Trigger sou...

Page 7: ... sending 61 6 2 8 3 1 Number of e mail sending rules 61 6 2 8 3 2 Sender e mail address 62 6 2 8 3 3 SMTP server name 62 6 2 8 3 4 SMTP server port 62 6 2 8 3 5 SMTP authentication 62 6 2 8 3 6 SMTP user name 63 6 2 8 3 7 SMTP password 63 6 2 8 3 8 E mail sending rules 1 16 63 6 2 8 3 8 1 Triggering event 63 6 2 8 3 8 2 Receiver e mail address 63 6 2 8 3 8 3 E mail title 64 6 2 8 3 8 4 E mail text...

Page 8: ... 70 9 3 EXPLOSIVE ENVIRONMENT 70 10 APPENDICES 70 10 1 REGISTER OF CHANGES 70 10 2 MODULE CONFIGURATION VIA SMS 71 10 3 SYNTAX FOR READING AND WRITING DATA IN SMS MODE 79 10 4 MEMORY MAP 85 10 4 1 Analog inputs address space 86 10 4 2 Internal registers address space 90 10 5 FLAGS 91 ...

Page 9: ...6 ...

Page 10: ... sensors lowers the cost of building system 1 Wire inputs can be used for reading typical Dallas pellets for the purpose of identification and authentication The module can work with humidity sensors water level sensor pressure transducers flow sensors smoke gas motion shock and noise detectors etc Typical applications Alarm systems Access control Preventive diagnostic Remote meter reading AMR Rem...

Page 11: ...8 3 2 Power supply MT 021 may be powered by 9 30 V DC ...

Page 12: ...ED diodes LED indicators placed on MT 021 front panel are convenient during module start up phase The LED s have assigned following significance PWR LED indicates module s activity I1 I4 LED indicates state of binary inputs Q1 Q4 LED indicates state of binary outputs ERR LED indicates an error GSM LED reflects current login to GSM network state SGN LED reflects GSM signal strength ACT Tx i Rx LEDs...

Page 13: ...uence on module s sender receiver circuits GSM signal level is reflected by SGN led on module s front panel Please use a directional antenna system when GSM signal level is not sufficient Refer chapter Problem solving LED signaling 3 6 Housing MT 021 module is encapsulated in standard housing made of plastic compliant with safety requirements and protecting the module in standard operating environ...

Page 14: ...A 1 Wire Inputs 2 Standard Dallas I Button Temperature measurement USB Port 1 Standard RS232 configuration 3 7 1 Binary inputs MT 021 module is equipped with 4 optoisolated binary inputs marked as I1 I4 They may work only in positive logic All binary inputs have same reference module s electrical ground negative pole of the power supply connected to GND pin The change of the input signal sets the ...

Page 15: ... length 1 is reset to 0 to resume the value of defined maximum Crossing the value of counter length sets counter flag for respective input These flags may be used in events table to trigger rules 3 7 2 Relay outputs MT 021 telemetry module has 4 relay outputs Q1 Q4 Outputs can operate in one of two functional modes monostable bistable The outputs operate independently and are isolated from each ot...

Page 16: ...e zone of the module s placement CAUTION The clock setting has to be repeated if the module was turned off for long time Setting the time is described in configuring mode documentation for the MTManager program There is also a method for setting the RTC remotely using SMS configuration commands described in chapter Starting the module Remote configuration via SMS 3 7 5 USB port MT 021 module is eq...

Page 17: ...21 provides four synchronous timers TMR1 TMR4 that enable cyclical time measuring from 1 min to 1 month with synchronization with module z RTC clock Timers can be used for triggering various actions like establishing clip calls setting binary outputs and other 3 7 8 1 Wire inputs Telemetry Module MT 021 is equipped with two 1 Wire inputs for connection sensors using this interface for transmission...

Page 18: ...15 ...

Page 19: ...SMS turn off PIN code request Notice The details of the procedure unlock the SIM card is described in the chapter How do I disable a SIM PIN number 3 Connect power to module POWER terminal block 9 30 VDC Correct power connection is signaled by PWR LED green light After connecting power the module starts process of registration in the GSM network If you use a SIM card with PIN code request option t...

Page 20: ...will send SMS that reads ALARM to a predefined phone number when previously configured event is triggered Setting RTC clock of the device 4 1 Configuring MT 021 using MTManager Install MTManager on your PC from CD provided with module When installed with default setting MTManager creates shortcuts on Desktop and in Start menu Please proceed to next step Start MTManager by double click on shortcut ...

Page 21: ... In the next step set parameters essential for establishing GSM connection SIM card PIN number required if PIN code request is on Configuration password to protect module from unauthorized access Open Authorized numbers Phone and add to the list new telephone number which will be receiving SMS messages from device e g 48111222333 ...

Page 22: ... triggered by binary input I1 when changing it will change logical state 0 1 As last step of configuration please set SMS sending rule 1 Choose EVT1 as Triggering event type ALARM in SMS text NUM1 corresponds to telephone number added in previous step ...

Page 23: ...s signaled by USB LED Operating system should automatically install driver for MT 021 it will be seen in Device Manager as additional COM port called Silicon Labs CP210x USB to UART Bridge COMX where X is COM port number Please open Environment in MTManager General Environment set correct COM port in USB cable option and press Write to save setting ...

Page 24: ...e with terminal I1 and power GND with binary inputs GND will result in sending SMS that reads ALARM to 48111222333 4 2 Remote configuration via SMS Configuration described in chapter Configurating MT 021 using MTManager can be also written to module using SMS commands Those commands their default values and allowed value ranges are described in chapter Appendices Module configuration via SMS Below...

Page 25: ...number Any following SMS configuration commands will be accepted only from numbers placed on Authorized list Therefore it is vital to enter at least one phone number to that list during first configuration Maximum length of SMS configuration command should not exceed 160 signs Now setting binary input in high logical state e g by connecting V cable with terminal I1 and power GND with binary inputs...

Page 26: ...operating modes 5 1 Power supply MT 021 module can be powered from any DC power source providing voltage within the range 9 30 VDC Notice Exceeding the range of power supply may cause faulty operation or damage the module Notice Supply cables length 10m Signal cables length 30m For longer cables it is recommended to use external overvoltage protection ...

Page 27: ...nly in positive logic All binary inputs have same reference module s electrical ground negative pole of the power supply connected to GND pin Connection scheme Notice Supply cables length 10m Signal cables length 30m For longer cables it is recommended to use external overvoltage protection ...

Page 28: ...tion scheme Notice Maximum voltage between contacts is 230V AC Maximum switching current is 6A 5 4 Analog inputs AN1 AN2 Analog inputs AN1 and AN2 can be used for measuring temperature using Pt 100 and NTC sensors or collecting measurements via current 4 20mA or voltage signal 0 5V 0 10V Mode of operation is user configurable Below are shown proper connection schematics ...

Page 29: ...26 Pt 100 2 wire AN1 only Pt 100 3 wire AN1 only NTC AN2 only Voltage output sensor ...

Page 30: ...nt output sensor 5 5 1 Wire inputs For the 1 Wire communication is used one line for data and GND line The MT 021 has two 1 Wire bus inputs marked as 1 and 2 with a common reference point GND Connection scheme ...

Page 31: ...ity of different functions and parameters depends on module s firmware version and the settings of parameters they may be dependent on 6 2 Parameter groups For clarity and ease of use the operating parameters of MT 021 module are divided into logically or functionally connected groups in the following order Header group contains unmodifiable parameters describing the module its firmware and config...

Page 32: ...e type Function displays the type of configured telemetry module Data type text Range n a read only parameter Default value MT 021 Comments n a 6 2 1 3 Module serial number Function displays serial number configured telemetry module Data type text Range n a Read only parameter Default value n a Comments this field displays module serial number assigned during manufacturing This number is static an...

Page 33: ...iguration Data type text Range n a Read only parameter Default value e g 1 00 C Comments value depends on module s firmware version chosen during creation of module definition Auxiliary extension character defines the sub version 6 2 1 9 Configuration identifier Function displays identification of current configuration Data type hexadecimal Range n a read only parameter Comments the value of this ...

Page 34: ...erals from 4 to 8 characters Default value empty Comments wrong pin can cause locking of SIM module CAUTION Caution is vital when setting the PIN code value Entering faulty PIN code may cause module start up to be impossible and lock SIM card In latest versions of the module attempting to enter wrong PIN code twice renders a third attempt impossible Procedure in case of blocked module as the resul...

Page 35: ... Range 1 65 535 Default value 0 unlimited Comments N A ATTENTION Reaching set by the parameter limit results with unconditional stop of SMS sending One has to bear in mind that until 00 00 o clock no messages will be sent even in alarm situations Unsent due to limitation SMS messages are queued the queue holds 16 messages and will be sent when it is possible after 00 00 If the number of queued mes...

Page 36: ... Default value M0 Comments In replay message text symbolic names may be used following syntax rules defined in Appendices in the Syntax of read and write commands in SMS chapter 6 2 3 5 SMS limit exceed information text Function Decides whether the module may send alert that SMS limit was exceeded Data type Selection list Range On module send SMS limit alert to defined phone number of info recipie...

Page 37: ...YYYY DD MM Comments In the text user can put any sign combination but predefined with special meaning listed below YYYY if placed in this format text automatically changed for year in four digit notation e g 2011 YY if placed in this format text automatically changed for year in two digit notation e g 11 MM if placed in this format text automatically changed for month e g 01 for January DD if plac...

Page 38: ...Date format i Time format 6 2 3 6 4 General format 2 Function Defines date format used by T2 macro prefix Data type Text Range 0 31 signs Default value YYYY MM DD HH MN SS Comments In the text user can use symbols available for parameters Date format i Time format 6 2 3 7 Symbolic names Symbolic names group contains names assigned by the user referring to the internal and input registers There can...

Page 39: ...it number Function This parameter together with the parameter Space defines the register address or bit assigned to symbolic name Data type number Range 0 65535 Default value 0 15 Comments N A 6 2 3 8 Macros Macros group contains up to 16 use defined macros Macro may contain ASCII signs symbolic names SMS commands and other macros that will be put in SMS text In order to use a symbolic name in SMS...

Page 40: ...smission an logging 6 2 4 1 APN name Function defines APN name selected for GPRS transmission Data type text Range letters numerals special characters max 63 characters Default value empty Comments absence of APN name disables login to GPRS network 6 2 4 2 APN user name Function defines APN user name Data type text Range letters numerals special characters max 31 characters Default value empty Com...

Page 41: ...es interval in seconds between retries of GPRS logon attempts after GPRS login failure Data type number Range 10 3600 s Default value 10 s Comments 6 2 4 6 GPRS testing address ping Function sets IP address which is used to test GPRS network connection in case it is lost Data type IP address field Range 0 0 0 0 255 255 255 255 Default value 0 0 0 0 Comments This parameter sets recipient address fo...

Page 42: ...one number present on the list Read more in Syntax for reading and writing data in SMS mode chapter of Appendices 6 2 5 2 Update phone numbers from SIM card Function Enables synchronization of Authorized numbers Phone list with phone book saved on Defines the length of phone numbers list authorized to exchange SMS messages Data type selection list Range Yes synchronization is on No synchronization...

Page 43: ...d Query The module receives and analyzes SMS query messages depending on selected setting When Query is not allowed all SMS query messages from that phone number will be ignored Default value not allowed Receiving voice calls The module receives calls and can use these signals for trigger event depending on selected setting When Receiving is not allowed all calls from that phone number will be ign...

Page 44: ... max 16 characters Default value Respective I1 I2 I3 I4 Comments Assigning friendly names facilitates discrimination of inputs destination and required settings 6 2 6 1 1 2 Input type Function Defines binary input s operating mode Data type Selection list Range Binary input Operates as binary input Counter input Operates as counter input Default value Binary input Comments According to selected mo...

Page 45: ...any change of signal Default value Bi 0 1 Comments N A 6 2 6 1 1 3 Filtering constant s Function Defines in seconds value of minimum duration of altered state on input in order to consider state to be stable Data type number Range 0 163 83 s Default value 0 10 s Comments Setting value appropriate to contact characteristics eliminates disturbance caused by contact bounce thus preventing multiple re...

Page 46: ...A 6 2 6 1 2 3 Pulse duration s Function defines length in seconds of impulse on binary output in monostable output mode Data type number Range 0 1 214748364 7 Default value 0 1 Comments N A 6 2 6 1 2 4 On event Function Allows selection of predefined event from the event list which is to be used to turn on output Data type selection list Range None or names of event from the Events table Default v...

Page 47: ...equired settings 6 2 6 1 3 2 Input type Function selection of analog input mode Data type selection list Range Voltage input signal measurement 0 10V or 0 5V depending on selected setting Current input signal measurement 4 20mA Pt100 temperature measurement by PT100 sensor available for AN1 NTC temperature measurement by NTC sensor available for AN2 Default value Voltage input Comments N A 6 2 6 1...

Page 48: ...e Data type number Range 0 500 for voltage input range 0 5V 0 1 000 for voltage input range 0 10V 0 2 000 for current input Default value 500 for voltage input range 0 5V 1 000 for voltage input range 0 10V 2 000 for current input Comments high reference point for internal units 6 2 6 1 3 7 Low reference engineering units Function used along with other reference parameters for rescaling input sign...

Page 49: ... on Alarm hysteresis setting 6 2 6 1 3 11 Alarm Lo engineering units Function Defines Lo alarm level for analog signal value in engineering units Data type number Range 32767 32767 Default value 32767 Comments Upon exceeding the preset value by analog signal the Lo alarm flag is risen The resetting level of the flag depends on Alarm hysteresis setting 6 2 6 1 3 12 Alarm LoLo engineering units Func...

Page 50: ...llow connection of external transducers e g temperature sensors 6 2 6 1 4 1 Name Function Defines input s user friendly name Data type Text Range Letters and numerals max 16 characters Default value Respectively 1 WIRE1 1 WIRE2 Comments Assigning friendly names facilitates discrimination of inputs destination and required settings 6 2 6 1 4 2 Input type Function selection of 1 WIRE input mode Data...

Page 51: ...o Function Defines Lo alarm level for 1 wire signal value Data type number Range 25 125 Default value 25 Comments Upon exceeding the preset value by 1 wire signal the Lo alarm flag is risen The resetting level of the flag depends on Alarm hysteresis setting 6 2 6 1 4 2 1 4 Alarm LoLo Function Defines LoLo alarm level for 1 wire signal value Data type number Range 25 125 Default value 25 Comments U...

Page 52: ...ned time 6 2 6 2 1 Active Function selection timer activity Data type selection list Range Yes Inactive timer No Active timer Default value No Comments N A 6 2 6 2 1 1 Start HH MM Function Defines the synchronization point with RTC Data type Time Range 00 00 23 59 Default value 00 00 Comments At time defined by this parameter the module will always generate a pulse One can make it generate pulse e...

Page 53: ...m of days of week and days of month Selecting all month days will make the timer active all of the time If no days of month are selected the activity of the timer will depend only on days of week selection 6 2 6 3 State logging Save status Subgroup contains parameters for defining messages which may include the current states of inputs and outputs periodically saved in the event logger of MT 021 m...

Page 54: ...essages CLIP calls or to control relay outputs 6 2 7 1 Number of events Function Defines the number of events in events table Data type number Range 0 32 Default value 0 Comments If the value is 0 events table is not displayed 6 2 7 2 Name Function Defines events user friendly name Data type Text Range Letters and numerals max 15 characters Default value EVT1 EVT32 Comments Entering user friendly ...

Page 55: ...ated with the selected binary input and used to trigger an event Data type selection list Range Bi 0 1 Bi 1 0 Bi 0 1 1 0 Default value Bi 0 1 Comments N A 6 2 7 4 Trigger source analog inputs Function defines resource to trigger event Data type selection list Range None Inactive event Binary inputs Events associated with binary inputs I1 I4 Analog inputs Events associated with analog inputs AN1 AN...

Page 56: ...ger source inputs 1 WIRE Function defines resource to trigger event Data type selection list Range None Inactive event Binary inputs Events associated with binary inputs I1 I4 Analog inputs Events associated with analog inputs AN1 AN2 Inputs 1 WIRE Events associated with 1 WIRE inputs Clocks Events associated with TMR1 TMR4 timer flags Flags Events generated by the system internal processor Counte...

Page 57: ...tive event Binary inputs Events associated with binary inputs I1 I4 Analog inputs Events associated with analog inputs AN1 AN2 Inputs 1 WIRE Events associated with 1 WIRE inputs Clocks Events associated with TMR1 TMR4 timer flags Flags Events generated by the system internal processor Counters Events associated with counter s flags Connections Events associated with incoming telephone calls Defaul...

Page 58: ...ephone calls Default value None Comments N A 6 2 7 7 1 Triggering flag Function Defines the system flag and used to trigger an event Data type selection list Range Module power on reset module restart Default value Module power on reset Comments N A 6 2 7 8 Trigger source Counters Function defines resource to trigger event Data type selection list Range None Inactive event Binary inputs Events ass...

Page 59: ...1 WIRE Events associated with 1 WIRE inputs Clocks Events associated with TMR1 TMR4 timer flags Flags Events generated by the system internal processor Counters Events associated with counter s flags Connections Events associated with incoming telephone calls Default value None Comments N A 6 2 7 9 1 Connection from any authorized Function Determines whether the event it to be triggered by an inco...

Page 60: ...e criteria are defined by using same resources and conditions of application of the rule 6 2 8 1 Massage sending List of SMS sending rules can hold max 32 entries defining short text message transmission conditions Adding a new position is done in the context menu by right clicking mouse while one of positions on the list is highlighted Adding more rules is done by setting the parameter Number of ...

Page 61: ...SMTP server Data type Selection list Range No SMTP authentication is disabled Yes SMTP authentication is enabled In configuration two new parameters appear SMTP user name and SMTP password which are used to authenticate module on SMTP server Default value No Comments 6 2 8 1 6 SMTP user name Function Allows to enter user name which will be used during authentication process on SMTP server e g john...

Page 62: ...ry Data type selection list Range SMS message is delivered as SMS E mail message is delivered as e mail E mail or SMS message is delivered as e mail and if it is not possible e g no GPRS available as SMS Default value SMS Comments Value o which this parameter is set affects availability of other parameters within the same group 6 2 8 1 8 3 Recipient number Function Assigns a recipient of SMS from ...

Page 63: ...Syntax of commands for reading and writing data by SMS paragraph 6 2 8 2 CLIP calls The term CLIP call describes attempts to establish a phone connection to a defined number This connection is not supposed to be picked up by the recipient Identification of sending module s phone number is enough to convey the alert The meaning of alert should be agreed upon Notice that recipient does not have to b...

Page 64: ... number Function Selects CLIP call recipient number Data type selection list Range friendly names of recipients associated with phone numbers in Authorized number list Default value NUM 1 first number on the list Comments since recipient s phone number is selected from the list of friendly names it is important to enter unique unambiguous names facilitating identification 6 2 8 3 E mail sending Li...

Page 65: ... sending e g smtp company com Data type text Range 0 31 characters Default value Comments 6 2 8 3 4 SMTP server port Function declares port number which is used for communication with SMTP server Data type number Range 1 65535 Default value 25 Comments 6 2 8 3 5 SMTP authentication Function enables SMTP authentication if required by SMTP server Data type Selection list Range No SMTP authentication...

Page 66: ...ents 6 2 8 3 8 E mail sending rules 1 16 Each of rules residing on the list is defined by following parameters Triggering event Receiver e mail address E mail title E mail text 6 2 8 3 8 1 Triggering event Function Assigns which one of previously defined event will trigger sending of a particular text message Data type selection list Range None or names of events from the Events table Default valu...

Page 67: ... the module memory it has to be transmitted to the module For local configuration it is enough to secure a connection via RS232 cable Detailed description of local configuration is to be found in the MTM user manual Remote configuration can be realized via SMS commands It is necessary to enter the phone number on an authorized list except for the first configuration of the module Detailed descript...

Page 68: ...from 1710 MHz to 1785 MHz Receiver from 1805 MHz to 1880 MHz Frequency range PCS 1900 Transmitter from 1850 MHz to 1910 MHz Receiver from 1930 MHz to 1990 MHz Transmitter peak power GSM850 EGSM900 MHz 33 dBm 2W class 4 station Transmitter peak power DCS1800 PCS1900 MHz 30 dBm 1W class 1 station Modulation 0 3 GMSK Channel spacing 200 kHz Antenna 50 7 3 Power supply Power voltage range 9 30VDC Curr...

Page 69: ... 2 or 3 wired Wires resistance compensation yes applies only to 3 wire sensor Measurement range 40 200 C Accuracy 1 C Analog NTC input AN2 temperature measurement Sensor type NTC 10k Measurement range 25 55 C Accuracy 1 C depending on used sensor Analog inputs AN1 AN2 voltage measurement Measurement range 0 5V 0 10V Maximum input voltage 18V Input dynamic impedance 150k typ Accuracy 1 5 max Nonlin...

Page 70: ...67 7 7 Drawings and dimensions All dimensions in millimeters ...

Page 71: ... blinking quickly Module initialization 1 blink Modem initialization 2 blinks GSM network searching 3 blinks Module logged in GSM network 1 long i 3 short blinks Module logged in GPRS network SGN 1 4 blinks GSM signal strength ACT Tx on Sending SMS blinking Outgoing call ACT Rx on Receiving SMS blinking Incoming call ERR blinking quickly Updating module firmware 1 blink Unsuccessful SMS sending at...

Page 72: ... has to observe and comply to local legislation and regulations Using the telemetry module in places where it can cause radio noise or other disturbances is strictly prohibited 9 2 Electronic equipment Thou most of modern electrical equipment is well RF Radio Frequency shielded there is no certainty that radio waves emitted by the telemetry module s antenna may have negative influence on its funct...

Page 73: ...g to present values from 16 bit registers as numbers with decimal fraction SMS and E mail sending rules are merged into one block of Messages sending rules This allow to choose channel of communication from SMS e mail e mail or SMS where last option sends SMS where unable to send e mail for some reason e g no GPRS available added three new predefined symbolic names for use in SMS and e mail comman...

Page 74: ...lue It may be number or text depending on parameter type Text values should be put in quotes e g 48123456789 or Anna If equals sign and value are omitted module will treat command as an inquiry If in sent SMS command parameters were given values than module will make attempt to write them into configuration Result of this action will be send in response SMS If SMS was send with correct syntax and ...

Page 75: ...nt 1 1 32 SMST_ index from 1 to 32 SLIT SMS limit exceed information empty max 160 characters SFOD Date format YYYY DD MM max 31 characters SFOT Time format HH MN SS max 31 characters SFOO1 General format 1 YYYY MM DD HH MN SS max 31 characters SFOO2 General format 2 YY DD MM HH MN SS max 31 characters SREB Number of symbolic names 1 0 16 SREA_ Symbolic name IREG0 max 50 characters SRES_ Space 2 1...

Page 76: ...1 SMS_AUT Receiving voice calls 00000000 from 00000000 to FFFFFFFF Bits defining receiving calls authorization Bit 1 authorization granted Representation see reference 1 Resources group Parameter MTManager description Default value Range Definition Binary inputs I1 I4 counter inputs index from 1 to 4 IN_NAME_ Name I max 16 characters IN_MODE_ Input type 1 1 3 Binary input Counter input IN_DIR_ Cou...

Page 77: ... 1000 AN_HREF_ High reference internal units 1000 0 2000 AN_LENG_ Low reference engineering units 0 32757 32767 AN_HENG_ High reference engineering units 1000 32757 32767 AN_ALM_HH_ Alarm HiHi engineering units 32767 32757 32767 AN_NAME_ Name AN max 16 characters AN_ALM_HI_ Alarm Hi engineering units 32767 32757 32767 AN_ALM_LO_ Alarm Lo engineering units 32767 32757 32767 AN_ALM_LL_ Alarm LoLo en...

Page 78: ...7F from 00 to 7F Days of week when timer is active 1 Monday 2 Tuesday 4 Wednesday 8 Thursday 10 Friday 20 Saturday 40 Sunday e g Wednesday Thursday and Friday is 1C TMR_DOFM_ Days of month 00000000 from 00000000 to FFFFFFFF Days of month when timer is active Bit 1 day is selected Representation see reference 2 State logging group Parameter MTManager description Default value Range Definition STWS ...

Page 79: ... AN2 EV_FLAG_ Trigger input 63 63 71 AN1 AN2 EV_EDGE_ Trigger condition 1 1 2 3 4 Alarm HiHi Alarm Hi Alarm Lo Alarm LoLo 1 Wire inputs 1 2 EV_FLAG_ Trigger input 79 79 87 1 Wire1 1 Wire2 EV_EDGE_ Trigger condition 1 1 2 3 4 Alarm HiHi Alarm Hi Alarm Lo Alarm LoLo Clocks EV_FLAG_ Triggering clock 32 32 33 34 35 TMR1 TMR2 TMR3 TMR4 Flags EV_FLAG_ Triggering flag 48 48 Module power on reset Counters...

Page 80: ...racters TR_T_ Message text empty max 160 characters CLIP calls CRNO Number of CLIP calls rules 1 1 16 CR_TRIG_ Triggering event 0 0 32 0 None 1 32 event index from event list CR_N_ Recipient number 1 1 32 1 32 number index from Authorized phone numbers list Parameter MTManager description Default value Range Definition Message sending TRNO Number of message sending rules 1 1 32 References 1 Inform...

Page 81: ... you need to set parameter to 1000060 00000001 00000000 00000000 01100000 in binary notation Examples Setting new value of SIM card PIN number 0101 and new Configuration password ADMIN SPIN 0101 SMSP ADMIN Module response SPIN 0101 SMSP ADMIN Attention All changes to SIM card PIN number and Configuration password parameters are taking effect after module restart Reading telephone number stored on ...

Page 82: ... Syntax for reading and writing data in SMS mode Description of SMS command Internal application of a module is able to receive process and send short text messages SMS There is a set of command which can be put in SMS message allowing the user to read from and write to internal registers placed in module s memory Characters with special meaning Character Description starts a command ATTENTION put...

Page 83: ...alue read from holding register 0 If received SMS contains any other characters than correctly formatted commands these characters will be copied unaltered to message being sent back This allows user to freely compose text of return message and include register values together with some informational text For example if user sends containing Voice call was IR12 seconds long then module will answer...

Page 84: ...rs and to erase access to bit values For example if user has defined symbolic name output and assigned it to bit 321 of internal registers space which is equal to bit of HR20 register then sending a command output 1 causes module to write 1 to bit 1 of HR20 register There are several predefined internal symbolic names Apart from symbolic names user can define macros A macro is defined as a name an...

Page 85: ... follows bits 0 15 correspond to input register 0 bits 16 31 to input register 1 and so on Register symbols can be preceded by prefixes which can define amount of data being processed and data format Available prefixes Register space HR IR 16 bit registers Prefix Description B 1 4 Binary format 16 characters bits default bits from most to least significant Prefix can contain register count 1 4 bei...

Page 86: ... Amount of bits being displayed provided in prefix Bits are presented in order from least to most significant opposite to binary representation of whole register D 1 64 Decimal format Value presented is calculated from amount of bits provided in prefix with bit with lowest address being least significant little endian H 1 64 Hexadecimal format Value presented is calculated from amount of bits prov...

Page 87: ...xes LD UD Time format is used by time processing commands prefixes LT UT General format 1 and 2 are used by timestamp processing commands prefixes T1 and T2 respectively Format strings can contain specific character combinations related to date time information which will then be replaced with corresponding values during parsing Apart from this format strings can contain additional characters they...

Page 88: ...xpected data Other examples Read input registers 20 IR20 Write value 1 to holding register 0 HR0 1 Binary representation of input register 4 readout B IR4 Read flag bit 4 B IB4 Write hexadecimal value 01AC to holding register 0 H HR0 01AC 10 4 Memory map All accessible from remote resources of MT 021 module were collected in two address spaces analog inputs and internal registers ...

Page 89: ...f SMS messages sent today 9 144 Number of SMS messages which could not been sent 10 160 Lower 16 bits Module on timer s 11 176 Higher 16 bits 12 192 Time zone Sign Time zone quarters 13 208 Analog input AN1 internal units 14 224 Analog input AN2 internal units 15 240 Analog input AN1 engineering units signed 16 256 Analog input AN2 engineering units signed 17 272 Wire 1 OK Wire 1 SHORT Wire 1 No d...

Page 90: ...0 CALL 11 CALL 12 CA LL 13 CALL 14 CA LL 15 CALL1 6 Incoming calls flags 29 464 CALL 17 CALL 18 CALL 19 CALL 20 CA LL 21 CA LL 22 CA LL 23 CA LL 24 CALL2 5 CALL 26 CALL 27 CALL 28 CA LL 29 CALL 30 CA LL 31 CALL3 2 30 480 EVT1 EVT2 EVT3 EVT4 EV T5 EV T6 EV T7 EV T8 EVT9 EVT1 0 EVT1 1 EVT1 2 EV T1 3 EVT1 4 EV T1 5 EVT16 Event flags 31 496 EVT 17 EVT18 EVT 19 EVT20 EV T2 1 EV T2 2 EV T2 3 EV T2 4 EVT...

Page 91: ...88 Address Dec Bit address 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Description 43 688 Number of e mail sending errors zeroed on reset 44 576 Number of e mail sending retries zeroed on reset 88 ...

Page 92: ... ERROR Wrong PIN PIN CNT Wrong PIN Two attempts made No more attempts will be made 1 Wire line status register flags description Flag Description Wire 1 OK Successful communication with device on 1 Wire 1 line Wire 1 SHORT 1 Wire 1 line short Wire 1 No dev No device connected to 1 Wire 1 line Wire 1 CRC CRC error on 1 Wire 1 line Wire 2 OK Successful communication with device on 1 Wire 2 line Wire...

Page 93: ... 13 14 15 0 0x00 0 32 bit counter input I1 CNT_I1 Low 16 bits 1 0x01 16 High 16 bits 2 0x02 32 32 bit counter input I2 CNT_I2 Low 16 bits 3 0x03 48 High 16 bits 4 0x04 64 32 bit counter input I3 CNT_I3 Low 16 bits 5 0x05 80 High 16 bits 6 0x06 96 32 bit counter input I4 CNT_I4 Low 16 bits 7 0x07 112 High 16 bits 8 0x08 128 bits controlling outputs OUT_CTRL Q1 Q2 Q3 Q4 9 0x09 144 special function c...

Page 94: ...i preserving relation to hysteresis Alarm Hi Flag assuming value True if value if value of analogue or 1 wire input is higher than value set as Alarm Hi preserving relation to hysteresis Alarm LoLo Flag assuming value True if value of analogue or 1 wire input is lower than value set as Alarm LoLo preserving relation to hysteresis Alarm Lo Flag assuming value True if value of analogue or 1 wire inp...

Reviews: