Home

MT-021

image

Contents

1. 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 value None Comments N A 6 2 8 3 8 2 Receiver e mail address Function Allows to enter receiver e mail address e g jane brown other_company com Data type text Range 0 31 characters Default value Comments 63 6 2 8 3 8 3 E mail title Function Defines an e mail title Data type text Range 0 31 characters Default value Comments 6 2 8 3 8 4 E mail text Function Defines text of an message Data type text Range 0 160 characters Default value Comments Text may contain any string of characters except diacritical signs It may contain mnemonics dynamically replaced at run time by values drawn from the module e g time register or logical state of the bit The syntax of commands is described in detail in syntax of commands for reading and writing data by SMS paragraph 6 3 Configuration writing After required modifications and parameter settings the configuration is stored on the configuring PC s hard disk only In order to write it to the module memory it
2. v1 51 02 2012 08 01 added new prefix Fx x number of digits after dot to the SMS commands allowing 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 commands NAME gives name of device defined during configuration SERIAL gives serial number of device i IPADDR gives current IP address of module added GPRS testing address and Idle time parameters used for GPRS connection check added possibility to write to multiple registers at once using Monitoring software module of MTM v1 50 01 2012 04 16 added email sending functionality via SMTP server and GPRS service v1 00 12 2011 03 31 improvement in access to read write resources from memory map via USB port v1 00 11 2011 03 03 improvement in answer for blank SMS improvement in procedure of sending SMS with sign without answer improvement in roaming procedure added access to read write resources from memory map via USB port v1 00 First official version 10 2 Module configuration via SMS MT 021 can be configured locally using MTManager software tool for telemetry modules management and remotely via
3. 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 engineering units _ 32767 32757 32767 AN_ALM_HIST_ gk hysteresis Paa ago 2 CESSE ami IAN DBD Deadband engineering units 0 65535 Po 1 Wire inputs 1 2 index from 1 to 2 OW NAME_ 1 WIRE max 16 characters 1 Inactive OW_ACT_ Input mode 1 2 Temperature measurement OW_ALM_HH_ Alarm HiHi 125 225 125 ow_ALM_HI_ AlarmHi_____________ __ 5 25 125 _____ Ow_DBD_ Deadband 0 JOU BWN H O o Synchronous timers TMR1 TMR4 group index from 1 to 4 TMR_ON_ Active 2 1 gt 2 No TMR START Start HH MM 00 00 00 00 23 59 1 min 2 min 3 min 5 min 10 min 15 min 30 min TMR_PERIOD_ Period 1 hour 2 hours 3 hours 4 hours 6 hours 8 hours 12 hours 24 hours Days of week when timer is active 1 Monday 2 Tuesday 4 Wednesday TMR_DOFW_ Days of week from 00 to 7F 8 Thursday 10 Friday 20 Saturday 40 Sunday e g Wednesday Thursday and Friday is 1C OO Y O U1 UNA Days of month when timer is from 00000000 active Bit 1 TMR_DOFM_ Days of month 00000000 to FFFFFFFF day is selected Representation see reference 2 State logging g p rou STWS Start HH MM 00 00 00 00 23 5
4. 6 2 6 1 4 Inputs 1 WIRET 1 WIRE coi bate 47 6 2 6 1 4 b NM in NA a its 47 PPA a a RIA TTA SE E EA ee ne kaart 47 6 2 6 1 4 2 1 Temperature measurement AE a sts Es 47 6 2 6 1 4 2 1 1 Alarin Hill cial iii iii pio dedito tdci 48 6 2 6 1 4 2 ADAMO AAA AAA AAA te 48 6 2 6 1 4 2 4 3 Alar Oia AAA ea 48 6 2 6 1 4 2 1 4 Alarm LoLo sz 48 6 2 6 1 4 2 1 5 Alarm hystereSiS cis 48 6 2 6 1 4 2 1 6 Deadband ass iai powa cashes det dba bywa ad dada laicidad piola SE hs 49 6 2 6 2 Synehronous timersTMRL TMR coi iii ds 49 622 6 251 A a RN NON 49 6 2 6 2 1 1 Start HH MM 2er nent nn en en ne ent n 49 6 2 6 2 1 2 Period ses A A AO earn eae ee AO EIRE 49 6 2 6 2 1 3 Days of WEEK dawida dwany dia Ae ed ee eee ed es 50 6 2 6 2 1 4 Days of month i ca kai o is alii 50 6 2 6 3 State lOEgINE cai in litis 50 6 2 6 3 1 Start RR MM seca szali AAA AA ito 50 6 2 6 3 2 Period wk e AO o R R O O OE aah OWENA ASI 50 6 2 6 3 3 L geed inf rmatiO ai uszka cae W Ek ld 51 6 2 7 Events 6 2 7 1 Number of events 6 2 7 2 ON 51 6 2 7 3 Trigger source binary inputs o ea 51 62 73 Trigger ANPU LD Ad a SWE 52 6 2 7 3 2 Trigger Condition asia i ada ad O Ada bay Ga OO OE ondes et aaa ic dd sins etat tonne 52 6 2 7 4 Trigger source analitica 52 6 27 ITESO OU A A 53 A A O GA E EE Awa Ea 53 6 2 7 5 Trigger source inputs 1 WIRE Savia A A A onion nn RS en 53 CLA Trigger INPUT AO O enhance AE A a PYRA 53 6 2 7 5 2 lt tr
5. 6 2 6 3 1 Start HH MM Function Defines the synchronization point of period of logging device state to event logger with RTC clock Data type time Range 00 00 23 59 Default value 00 00 Comments 6 2 6 3 2 Period Function Defines interval of saving user defined message in the event logger of MT 021 module Data type selection list Range 10min 20 min 30 min 45 min 1 hour 2 hours 3 hours 4 hours 6 hours 8 hours 12 hours 24 hours Default value 6 hours Comments 50 6 2 6 3 3 Logged information Function Data type Range 3 Default value Comments 6 2 7 Events Defines text of message periodically put in event logger text 0 160 characters text may contain any string of characters except diacritical It may contain mnemonics dynamically replaced at run time by values drawn from the module e g time register or logical states of bits The syntax of commands is described in detail in Syntax of commands for reading and writing data by SMS paragraph Group Events defines status change of binary inputs flags inputs outputs bits as events Events are used to trigger recording events logger and sending SMS messages CLIP calls or to control relay outputs 6 2 7 1 Number of events Function Data type Range Default value Comments 6 2 7 2 Name Function Data type Range Default value Comments Defines the number of events in events t
6. Bistable 43 44 6 2 6 1 3 Analog inputs AN1 AN2 MT 021 module is equipped with two analog inputs operating in 4 20mA or 0 5V 0 10V standard and direct measurement of the temperature sensor PT100 AN1 or NTC AN2 Each mode has a set of specific configuration parameters 6 2 6 1 3 1 Name Function Defines input s user friendly name Data type Text Range Letters and numerals max 16 characters Default value Respectively AN1 AN2 Comments Assigning friendly names facilitates discrimination of inputs destination and required 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 3 3 Filtering constant s Function defines in seconds the value of the measurement averaging time of analog input Data type selection list Range 0 0 05 0 1 0 25 0 5 1 2 4 8 Default value 0 Comments N A 6 2 6 1 3 4 Signal range Function selection of voltage analog input range Data type selection list Range 0 10V or 0 5V Default value 0 10V Comments N A 6 2 6 1 3 5 Low reference internal units Fun
7. Function Defines HiHi alarm level for analog signal value in engineering units Data type number Range 32767 32767 Default value 32 767 Comments Upon exceeding the preset value by analog signal the HiHi alarm flag is risen The resetting level of the flag depends on Alarm hysteresis setting 6 2 6 1 3 10 Alarm Hi engineering units Function Defines Hi alarm level for analog signal value in engineering units Data type number Range 32767 32767 Default value 32 767 Comments Upon exceeding the preset value by analog signal the Hi alarm flag is risen The resetting level of the flag depends 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 Function Defines LoLo 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 LoLo alarm flag is risen The resetting level of the flag depends on Alarm hysteresis setting 6 2 6 1 3 13 Alarm hysteresis engineering units Function Defines hy
8. until the configuration is written to the module 6 2 8 3 2 Sender e mail address Function Data type Range Default value Comments Allows to enter sender e mail address e g john smith company com text 0 31 characters 6 2 8 3 3 SMTP server name Function Data type Range Default value Comments Allows to enter name of SMTP server which will be used for e mail sending e g smtp company com text 0 31 characters 6 2 8 3 4 SMTP server port Function Data type Range Default value Comments declares port number which is used for communication with SMTP server number a 1 65535 25 6 2 8 3 5 SMTP authentication Function Data type Range Default value Comments enables SMTP authentication if required by SMTP server Selection list 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 No 6 2 8 3 6 SMTP user name Function Allows to enter user name which will be used during authentication process on SMTP server e g john smith Data type text Range 0 31 characters Default value Comments 6 2 8 3 7 SMTP password Function Allows to enter password which will be used during authentication process on SMTP server e g jOh2ny m1th Data type text Range 0 31 characters Default value Comments
9. 22 The procedure for setting the SIM mode to allow its use without requiring a PIN e g Nokia model 6210 e Place the SIM card into the appropriate slot on the phone e Turn on the phone and enter the correct PIN number for your SIM card e From the available commands select Menu Settings Security Settings e Choose menu PIN code request then press Select you will be prompted for a PIN number Then select OFF response to a question PI N code request e At the end appears a message PIN code request is not active 5 Connections scheme The chapter shows standard configurations securing proper operation of MT 021 module s integral inputs outputs in all available 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 ee6e666 Q1 Q2 Q3 Q4 RELAY OUTPUTS 0000 11 12 13 14 BINARY INPUTS AN1 AN2 1 WIRE POWER leds 8 lvl Jsjvl 31112181 18 EEE Power Supply 12 24 vDC 23 5 2 Binary inputs I1 14 Internal optoisolated binary inputs marked as 11 14 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 Connection scheme 8666668 Q1 Q2 Q3 Q4 RELAY OUTPUTS Power Supply 12 24 VDC 24 5 3 Relay outputs Q1 Q4 Telemetry module has 4 normally open NO relay outpu
10. Heart Pacemaker is greater than 20 cm This distance is recommended by manufacturers of Pacemakers and in full harmony with results of studies conducted independently by Wireless Technology Research 9 2 2 Hearing aids In rare cases the signal emitted by the telemetry module s antenna may disturb hearing aids functions Should that occur one has to study detailed operating instructions and recommendations for that particular product 9 2 3 Other medical equipment Any radio device including the telemetry module may disturb the work of electronic medical equipment 69 When there is a need of installing telemetry module in vicinity of medical equipment one has to contact the manufacturer of this equipment in order to make sure that the equipment is adequately protected against interference of radio frequency waves RF 9 2 4 RF Marked equipment The restriction against installing telemetry modules in areas marked as radio frequency RF prohibition zones must be unconditionally observed 9 3 Explosive environment Installation of telemetry modules in the environment where explosion hazard is present is not permitted Usually but not always these places are marked with warning signs Where there is no marking do not install telemetry modules at liquid or gas fuels stores inflammable materials stores nor places contaminated with metal or wheat dust 10 Appendices 10 1 Register of changes 70 Current version v1 51 02
11. I R4 Read flag bit 4 B 1B4 Write hexadecimal value O1AC to holding register O H HRO 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 85 98 10 4 1 Analog inputs address space Pee ad ress 0 1 2 3 a4 5 6 7 8 9 10 n 12 13 1a 25 Description fo lo 1 Month ver Hour Day of month RTC Seconds Minutes 3 48 Event source Number of event in a second EEE 4 6 tif 12 i 14 f far oz Q3 aa digitani os_______________ fees GSM signal 0 31 _ GSM signal AO GSM signal 0 31 Number of SMS messages sent since power on Number of SMS messages sent toda Number of SMS messages which could not been sent Lower 16 bits Higher 16 bits Time zone Time zone quarters Analog input AN1 internal units Analog input AN2 internal units Analog input AN1 engineering units signed Analog input AN2 engineering units signed Temperature 1 Wire 1 signed Module on timer s Temperature 1 Wire 2 signed GSM LAC Location Area Code code GSM CID Cell ID Module restart code L8 ares O 1 2 3 a s 6 7 s 9 1o 312 12 13 14 15 Description 23 368 11 12 IS la cnt Pulse counters flags CNT CNT CNT Hee 0 O O O O O O 25 General flags RES RESET set to 1 after reset ET CALL AUTHORIZED set to 1 on inco
12. RX data reception e USB LED indicates USB port state Detailed description can be found in LED signaling subchapter of Problem solving chapter ANTENNA inVentia MT 021 GSMC SGNO OO C 0 11 12 13 14 3 5 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 RELAY OUTPUTS GSM antenna socket ACT GSMO SGNZ ocz 11 12 13 14 BINARY INPUTS AN1 AN2 1 WIRE POWER eeseseseseeee ee zo o o o The type and placement of antenna has significant influence 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 environment The applied solution complies with standard industrial requirements for DIN rail mounting 10 3 7 Resources MT 021 module s resources 11 14 binary inputs Optoisolated binary inputs Relay outputs can operate in one of two functional modes e monostable e bistable Q1 Q4 Relay outputs CNT Counters AN1
13. additional configuration parameters for each input 6 2 6 1 1 2 1 Counter input 6 2 6 1 1 2 1 1 Counting direction Function Data type Range Default value Comments defines counting direction selection list E Up A pulse on input increases value of counter register Down A pulse on input decreases value of counter register s Up N A 41 42 6 2 6 1 1 2 1 2 Counting range 32bits Function defines max value assumed by the counter Data type number Range 0 2 147 483 647 Default value 0 Comments N A 6 2 6 1 1 2 1 3 Triggering slope Function selects counting direction Data type selection list Range Bi 0 gt 1 The change of counter state occurs upon signal change from 0 gt 1 Bi 1 gt 0 The change of counter state occurs upon signal change from1 gt 0 Bi 0 gt 1 1 gt 0 The change of counter state occurs upon any change of signal Default value Bi 0 gt 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 U 163 83 s Default value 0 10 s Comments Setting value appropriate to contact characteristics eliminates disturbance caused by contact bounce thus preventing multiple registration of what is in reality one pulse 6 2 6 1 2 Outputs Q1 Q4 The MT 021 module is equipped in four relay outputs Q1 Q4 Out
14. 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 description of remote configuration is to be found in the chapter Module configuration via SMS 6 4 Verification of configuration Despite high reliability of both local and remote module configuration verify of it is important It is relevant if the module s behavior does not comply in accordance with the performed configuration For verification please read the configuration from the module and check parameters settings Reading of module configuration is described in details in MTM user manual and chapter Module configuration via SMS 64 7 Technical Data 7 1 General Dimensions height x width x length 105x86x58 mm Weight 300 g Mounting method DIN Rail 35mm Operating temperature O 55 Protection class IP 7 2 GSM Modem Cinterion TC63i GSM Quad Band 850 900 1800 1900 Frequency range GSM 850 Transmitter from 824 MHz to 849 MHz Receiver from 869 MHz to 894 MHz Frequency range EGSM 900 Transmitter from 880 MHz to 915 MHz Receiver from 925 MHz to 960 MHz Frequency range DCS 1800 Transmitter from 1710 MHz to 1785 MHz Receive
15. 0 20 characters MO N A 6 2 3 8 3 Macro s content Function Data type Range Default value Comments 6 2 4 GPRS The content that is inserted into the SMS message instead of macro name text 0 160 characters It irO ld irO N A GPRS group contains parameters related to GPRS transmission an logging 6 2 4 1 APN name Function Data type Range Default value Comments 6 2 4 2 APN user name Function Data type Range Default value Comments 6 2 4 3 APN password Function Data type Range defines APN name selected for GPRS transmission text letters numerals special characters max 63 characters empty absence of APN name disables login to GPRS network defines APN user name text letters numerals special characters max 31 characters empty Optional parameter used only if required by GSM network operator defines password for APN user account text letters numerals special characters max 31 characters 37 Default value Comments 6 2 4 4 Module IP Function Data type Range Default value Comments empty Optional parameter used only if required by GSM network operator allows user to define IP number for newly created module definition and displays IP number read from the module configuration that was assigned to the module during last login to GPRS network IP number field 0 0 0 0 255 255 255 255 0 0 0 0 If after reading the configuration or set
16. 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 provided in prefix with bit with lowest address being least significant little endian It is worth noting that use of D prefix to display more than 16 bits of data will return different results when combined with different access modes registers bits Such behavior is result of storage model used for multi register 32 or 64 bit data Most significant word is stored in register with lowest address big endian and consequently on bits with lowest addresses Register access obeys this storage model but bit access does not treating bits as linear space from bit with lowest address to bit with highest address So if one tries to read two registers using register access D2 1RO then such a command can return 134749453 but bit access to 32 bits from two registers D32 1BO will return 487393288 The same applies to H prefix and to write access 83 84 Predefined symbolic names Returns local time read from RTC registers the same as LT I RO command Returns local date read from RTC registers the same as LD IRO command TIME T1 1RO command NAME Returns module name A Returns module serial number Date and time formats User is allowed to specify date a
17. 1 Triggering event 6 2 8 22 2 R cipl nt number a CASEY 6 2 8 3 Ezmaill SENGING Aa z a O O NO 6 2 8 3 1 Number of e mail sending rules ss 61 6 2 8 3 2 Sender e Mail address sowie ie ad aa ido Wd coca cado a ba DA Pawa Pda cinc in deidad andina pias cias 62 6 228 373 SMTP Seea E a a aa nia tii 62 6 2 8 3 4 SMTP S rverport tey zizi AOL a 62 6 2 8 3 5 SMTP a th ntication 5 tree Aye ere ee de io a 6 2 8 3 6 SMTP USO name mei O A ein ca eae AUE Niven ete A aan 6 2 8 3 7 SMIP paSSWOTd e I ne mn ni rer ri te rl ds 6 2 8 3 8 E mail sending rules 1 16 6 2 8 3 8 1 Triggering QVENt a a ara aE aar ai Eb sind inerte lues poate PGE kd attente seen nie ss 6 2 8 3 8 2 ReceiVver E mail addFEsSS ea az i tO NOSA AA AA weed eg W AA 63 6 2 8 3 8 3 E mail title 6 2 8 3 8 4 E mail text 6 3 CONFIGURATION WRITING 5 55 te convene sabes E rin 6 4 VERIFICATION OF CONFIGURATION zai cexek cnt lances 64 7 TECHNICAL DATA A aia 65 RO a MARNE ETS EC e 4 2 GSM MODEM see e o ne nee A duces uses cece ere en ne re re TYPA A evens JS POWER SUPPLY SE RER os oz ZOE e co RZEKA FE R M AOC ZZO Pre A ee ee FAs BINARYINPUTS UL ss 1A is Za SE RE AO AA BACA A aa RS ME ne PRE coe es 7 5 RELAY OUTPUTSOL Od ised a tia peas 7 0 ANALOGUEJINPUTSANI AN 2 ein SOC AAAA Z AEO ZEW ce cs O AA a Me CU ones 7 7 DRAWINGS AND DIMENSIONS ALL DIMENSIONS IN MILLIMETERS 8 PROBLEM SOLVING cise idad 68 8 TEED SIGNALING zean ska cc AA A AE Z eee die 68 8 2 UNB
18. 9 i 2 5 ou B W NH NH D D O0 PB W NH 75 Events group t index from 1 to 16 Parameter MTManager description aa Definition EVNO Number of events PA None Binary inputs Analog inputs Inputs 1 wire Clocks Flags Counters Connections EV_TRIG_t Trigger source OANOUBWNE Binary inputs I 1 14 counter inputs EV_FLAG_t Trigger input EV_EDGE_t Trigger condition Analog input AN1 AN2 EV_FLAG_t Trigger input EV_EDGE_t Trigger condition Alarm HiHi Alarm Hi Alarm Lo Alarm LoLo EV_FLAG_t Trigger input EV_EDGE_t Trigger condition Alarm HiHi Alarm Hi Alarm Lo Alarm LoLo Clocks EV_FLAG_t Triggering clock Counters EV_FLAG_t Triggering counter Connections index from EV_NUM_t Dial in from number 1 1 32 Authorized phone numbers list Rules group index from 1 to 16 index from 1 to 32 Message sending TRNO____ _ Number of message sending rules _ 1 f 1 32 TR_SMF Sender e mail address empty _ max 63 characters TR_SMA SMTP servername__________ empty _ max 63 characters TR_SMP__ SMTP server pot 25 1 65535 ______ TR_SML TRAU SMTP user name empty max 31 characters TRAP SMTP password empty max 31 characters 0 None 1 32 event index from event list TR_TRIG_t Triggering event TR_TCH_t TR_N_t SMS recipient number index from Authorized phone numbers list TRA E
19. AN2 Analog inputs e 0 10V 0 5V e 4 20mA 1 Wire Inputs USB Port 3 7 1 Binary inputs MT 021 module is equipped with 4 optoisolated binary inputs marked as 11 14 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 Q1 Q2 Q3 Q4 RELAY OUTPUTS ANTENNA pa 2 iffentia MT 021 ACT RO OR GSM SGN 0 O0 0 0 1 12 13 14 AN2 1 WIRE POWER z vii 2 1 212 Binary inputs The change of the input signal sets the alarm flag connected with the corresponding binary input respectively as Bi 0 gt 1 Bi 1 gt 0 or Bi 0 gt 1 Bi 1 gt 0 11 Any of binary inputs 11 14 may operate as counter input This requires a change in the operating mode of input which is made during its configuration 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 flag for respective input These flags may be used in ev
20. Authorized numbers Group Authorized numbers comprises lists of phone numbers the module is going to communicate with 6 2 5 1 Number of phone numbers Function Data type Range Default value Comments Defines the length of phone numbers list authorized to exchange SMS messages Number 1 22 1 The value of this parameter may vary as the result of adding deleting when using the context menu operating directly on Phone number The module will communicate only with units with the phone 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 Data type Range Default value Comments Enables synchronization of Authorized numbersiPhone list with phone book saved on Defines the length of phone numbers list authorized to exchange SMS messages selection list Yes synchronization is on No synchronization is off No Synchronization is done after every reboot of the module after inserting the SIM card or when configuration is written to the module The module browses SIM card phone book and if it finds entries of the same name as defined in the Authorized numbers Phone it overrides the numbers from configuration with the numbers from the SIM card Those numbers are remembered till module restart 6 2 5 3 Phone number from SIM card always authorized Function Enables receiving voice calls autho
21. LOGKINGOE SIM GARDE r OE behave ct avo cases casters bunk o o conte A OCE 69 9 SAFETY INFORMATION uczuc wozu ceed ee alu dean Jada wz en www dw nent deda doda dose doi nnana 69 9 1 WORKING ENVIRONMENT sas 282 sb tarte Inrena EIA T E PORN Doa 69 9 2 ELECTRONIC EQUIPMENT 3 555085 en AE T E a 69 9 2 1 Heartpacemakers 5 RSR A AW AAA O AWARE 69 9 2 2 HEIN G e O 5 same ni nt AO to AE o OOOO AO JA a 69 9 2 3 Other medical equipment itinsinen tien G i E E Gi ld OLGA PY 69 9 2 4 RE Marked egquipment oai nadany td T diia dia idad 70 9 3 EXPLOSIVEENVIRON MEN Tronco a WAKAT W A PTA 70 10 APPENDICES ma aiar enanta aeaaeae nanea a ne trees ee 70 10 1 REGISTER OF CHANGES A A OE ATE ESL ADA Shaded 70 10 2 MODULE CONFIGURATION VIA SMS sssssssesseessssessseesssessrrrsssssssrrrestsstersteststetretstsssetstrnsssesttteeesssttteestessereeenessee 71 10 3 SYNTAX FOR READING AND WRITING DATA IN SMS MODE iii 79 104 MEMORY MAP ne a dE ep Set nt odd Ad op E odd AE Pai ao AE 85 10 4 1 Analog inputs address space sr 86 10 4 2 Internal registers address space 90 VOLAR OWA 91 1 Module s destination Telemetry Module MT 021 with built in GSM modem is a device dedicated for remote monitoring diagnostics and control of objects via short text messages SMS CLIP calls or e mail Configurable messages send from device with static text or dynamic text and measured values content are a convenient way of passing important information to the m
22. Module s design 3 1 Module s topography GSM antenna zo 0 0 0 0 00609099099 Q1 Q2 Q3 Q4 H REN OTS Relay outputs ra Configuration z GSMCJ SONO nO ZR ERCO PRO port Diagnostic wee Esse EE 11 12 13 14 BINARY INPUTS AN 1 AN 2 1 WIRE POWER DE EDU Na al 14218 518 supply Binary Analog inputs 1 Wire inputs inputs 3 2 Power supply MT 021 may be powered by 9 30 V DC ee Q1 Q2 Q3 Q4 RELAY OUTPUTS Oi iffentia MT 021 ACT GSMO SGNCI 0000 1 12 13 14 BINARY INPUTS a O Q o nhell i ENT ar essessessessessehe AN 1 AN2 1 WIRE POWER oann opo 3 3 SIM card MT 021 telemetry module is equipped with standard miniature SIM card holder for connecting card to GSM modem SIM holder 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 3 4 LED 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 11 14 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 Rx LEDs indicate GSM communication TX data transmission
23. NNECTIONS SCHEME 2 5 int asia sud diodes 23 A A A z E AR ATEST WORWO R 23 52 BINARY INPUT Da lA te 24 5535 RELAV OUTPUTS OE DA A A AB 25 SA ANALOG INPUTSANI5 AND waza SA O WE BA BO AGB AE PCO EB AA KASA 25 9 5 1 gt WIREINPUTS iis ve artero iaeiiai A A ne a EWA AA 27 6 CONFIGURATION io iii 28 6 1 GENERAL INFORMATION a eme bee ve te CAE D POS cep cvecd A rection PEPE ia SCW ele 28 6 2 PARAMETER GROUPS coso RE it MR WW WE AUTA A 28 6 2 1 Hedder rne wad R od b db a E Ra a 29 6 2 1 1 Module NAME A EA A At en M east 29 6 2 1 2 MOCUIE tyDE i adi zwy di a i 29 6 2 1 3 Modile fialiNUMPErM nysa a tdo aseo a ak A SRA e dido 29 6 2514 IME numbers dzi W AA AAA AAA WARAN 29 6 215 SIM card number ese wy i O NE WA A EA A ite 29 6 2 1 6 Modem s firmware versions dy EA ds 30 6 2 157 FILMWArEVErSION A w Oz w A Wi AA ia A A NA ads EE 30 6 2 1 8 Configuration file Versions ati a s id diia 30 6 2 1 9 Configuration identifica iia 30 6 2 1 10 Last c figiiratio date me b 30 6 2 1 11 Last reading UME nit A A AAA Ed nine 31 LS TA ion ot A OA 31 6 2 2 1 5IM catd PIN NUMBEf ies gea e Ae hod ld dto da e e dd 31 6 2 2 2 Configuration password 6 2 2 3 Use Of GPRS esis O 6 23 SMS ae ein A Lede A Adee le le ls ee 6 2 3 14DaIY SMS LIMIC sz Lea ota AO al de Moe tlt OW ol en ne 6 2 3 2 Roaming for SMS ia A uses vaca deca A Ne AN A rer 32 6 2 3 3 Number of SMS sending retries sh at
24. O A ae Ge ace e 41 6 2 6 1 1 INpUtS ON 6 2 6 1 1 1 Name 6 2 6 1 1 2 Input type 6 2 0 1 1 2 15C0unter iNPUE ni yk AA Ea D W NEI ainia 41 6 2 6 1 1 2 1 1 Counting directions id 41 6 2 6 1 1 2 1 2 Counting range 32bits ub st pto 241 42 6 2 6 1 1 2 1 3 Trig Bering SIO PO iia AAA ase A ii 42 6 2 6 1 1 3 Filtering constant li ia 42 6 2 6 1 2 QUEPUESQL ODA A AAA eee ale dY 6 2 6 1 2 1 Name 6 2 6 1 2 2 Output mode 6 2 6 1 2 3 Pulse duration ii aia ai 43 6 2 6 1 2 4 On event 6 2 6 1 2 5 Off event 6 2 6 1 3 Analog inputs AN1 AN2 6 2 6 1 3 4 NAM Ck ae a il iia ia cet WE A KA ah ces SR SA ji A iii a 6 2 6 1 3 2 InpUt typowa i a A A WEAR AAA W EKO WA 6 2 6 1 3 3 Filtering constant s 6 2 6 1 3 4 Signal range ei ii di A i A na O A GW O A Pw ci 6 2 6 1 3 5 Low reference internal UNItS wsz A O A A A OO A YA OLE AO WSE Aa 6 2 6 1 3 6 High reference internal units 6 2 6 1 3 7 Low reference engineering units 6 2 6 1 3 8 High reference engineering UNITS una nai os WGRA dida 45 6 2 6 1 3 9 Alarm HiHi engineering units usanne a n EOR A E A REREN 46 6 2 6 1 3 10 Alarm Hi engineering units 6 2 6 1 3 11 Alarm Lo engineering units 6 2 6 1 3 12 Alarm LoLo engineering UnitS a e eae aeaa aap an A a Ease Ei aaea 46 6 2 6 1 3 13 Alarm hysteresis engineering units 46 6 2 6 1 3 14 Deadband engineering units Z W si s 07
25. Range Default value Comments 6 2 8 1 5 SMTP authentication Function Data type Range Default value Comments Allows to enter name of SMTP server which will be used for e mail sending e g smtp company com text 0 31 characters declares port number which is used for communication with SMTP server number 1 65535 25 enables SMTP authentication if required by SMTP server Selection list No Yes No 6 2 8 1 6 SMTP user name Function Data type Range Default value Comments 6 2 8 1 7 SMTP password Function Data type Range SMTP authentication is disabled 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 Allows to enter user name which will be used during authentication process on SMTP server e g john smith text 0 31 characters Allows to enter password which will be used during authentication process on SMTP server e g jOh2ny m1th text 0 31 characters Default value Comments 6 2 8 1 8 Message sending rules 1 32 Each of rules residing on the list is defined by following parameters Triggering event Transmission type Recipient number Receiver e mail address E mail title Message text 6 2 8 1 8 1 Triggering event Function Assigns which one of previously defined event will trigger sending of a particular text message Data type se
26. SMS commands However you should note that the first SMS message with configuration commands is processed without sender authorization verification number of sender does not have to figure on Authorized numbers gt Phone list this allows to make first configuration via SMS Therefore it is strongly recommended to add at least one phone number to this list in first SMS command with allowed configuration changing Otherwise remote configuration will be disabled For system demanding high security configuration can be additionally protected by password parameter General gt Configuration password It will be needed for both local and remote configuration of the module Format of SMS configuration commands amp password parameter value parameter value parameter where password password protecting module given by General gt Configuration password parameter if module is not password protected this parameter should be omitted SMS should begin only with amp parameter predefined configuration parameter mnemonic value parameter value 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
27. Telemetry Module MT 021 User Manual eT a ACTA Q1 Q2 Q3 Q4 RELAY OUTPUTS ANTENNA SD im entia MT 021 ACT GSM EJ sa m M 2 13 44 BINARY INPUTS AN1 AN2 1 WIRE ulejs ufsjp yvl Ville 1 2 2 pa telemetria pl in entia CE 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 INVENTIA Sp z 0 0 v1 51 MT 021 2013 Inventia Ltd Wszelkie prawa zastrze one aden fragment niniejszego dokumentu nie mo e by powielany lub kopiowany w adnej formie bez wzgl du na stosowan technologi graficzn elektroniczn lub mechaniczn w czaj c fotokopiowanie i lub zapis cyfrowy r wnie w systemach przechowywania i wyszukiwania dokument w bez pisemnej zgody Wydawcy Nazwy produkt w wymienionych w niniejszym dokumencie mog by Znakami Towarowymi i lub zastrze onymi Znakami Towarowymi nale cymi do odpowiednich W a cicieli Wydawca i Autor o wiadczaj e nie roszcz do tych znak w towarowych adnych praw Pomimo e niniejsze opracowanie tworzone by o z zachowaniem wszelkiej nale ytej staranno ci zar wno Wydawca jak i Autor nie ponosz adnej odpowiedzialno ci za b dy lub pomini cia w jego tre ci jak r wnie za straty wynik e z wykorzystania zawartej w niniejszym opracowaniu informacji lub ewentualnie towarzysz cego jej oprogramowania W
28. able number 0 32 0 If the value is O events table is not displayed Defines events user friendly name Text Letters and numerals max 15 characters EVT1 EVT32 Entering user friendly names makes it much easier to distinguish events source and therefore choosing the correct event to trigger specific rule or action of module 6 2 7 3 Trigger source binary inputs Function Data type Range defines resource to trigger event selection list None Inactive event Binary inputs Events associated with binary inputs 11 14 Analog inputs Events associated with analog inputs AN1 AN2 Inputs 1 WI RE Events associated with 1 WIRE inputs 51 Default value Comments 6 2 7 3 1 Trigger input Function Data type Range Default value Comments 6 2 7 3 2 Trigger condition Function Data type Range Default value Comments 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 None N A select flag of binary input which can trigger an event selection list 11 14 11 N A Defines the flag associated with the selected binary input and used to trigger an event selection list Bi 0 gt 1 Bi 1 gt 0 Bi 0 gt 1 1 gt 0 Bi 0 gt 1 N A 6 2 7 4 Trigger source analog inputs 52 Function Data type Range defines resou
29. adnym wypadku Wydawca lub Autor nie b d odpowiedzialni za utrat zysku lub inne straty w tym handlowe spowodowane 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 trademarks and or registered trademarks of the respective owners The publisher and the author make no claim to these trademarks While every precaution has been taken in the preparation of this document the publisher and the author assume no responsibility for errors or omissions or for damages resulting from the use of information contained in this document or from the use of programs and source code that may accompany it In no event shall the publisher and the author be liable for any loss of profit or any other commercial damage caused or alleged to have been caused directly or indirectly by this document Publisher INVENTIA Sp z 0 0 ul Kulczy skiego 14 02 777 Warszawa Tel 48 22 545 32 00 inventia inventia pl www inventia pl Version 1 51 Warsaw Junuary 2013 MTC Compatibility 1 51 INDEX 1 MODULE S DESTINATION ii ii stone ee tte tenue tue ada 7 2 GSM REQUIREMENTS 0 O eco cee ondes den od Gie ge del
30. ared in previous steps connect MT 021 with PC using USB cable provided with module Proper USB connection is 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 gt Environment set correct COM port in USB cable option and press Write to save setting 20 Environment EJ Connection Appearance Da a Sounds Advanced Mode of operation RS 232 cable USB cable COM port 3 auto Network MTSpooler Next press Connect button Transmission gt Connect then Write button Transmission gt Write IN_FLR_3 Acknowledgement EJ e J Succesfull configuration writing At the end synchronize device RT using Set time button Configuration gt Set time Acknowledgement EJ e J Succesfull setting of time Now setting binary input in high logical state e g by connecting V cable with terminal 11 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 conf
31. bit registers IR O n Input registers space Read only 16 bit registers and so on Bit access to input registers space One can access individual bits IB 0 16 n or groups of bits Read only Bit mapping is as follows bits 0 15 S correspond to input register 0 bits 16 31 to input register 1 and so on Bit access to holding registers space One can access individual bits HB 0 16 n or groups of bits Read Write Bit mapping is as follows bits 0 15 correspond to holding register O bits 16 31 to holding register 1 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 Description Binary format 16 characters bits default bits from most to least significant Prefix can contain register count 1 4 being processed register symbol defines lowest register in resulting string rightmost character corresponds to bit with lowest number Decimal format 1 5 characters unsigned Prefix can contain register count 1 4 being processed register symbol defines lowest register number returned is decimal notation of n 16 bit value where most significant bit is placed in register with lowest address big endian Hexadecimal format 4 characters Prefix can contain register count 1 4 being processed returned string contains n 4 character groups leftmost group corresponds to regis
32. ccessful GSM log in attempt 68 8 2 Unblocking of SIM card Three failed attempts of entering PIN code locks the SIM card and requires entering the PUK code The fact that the SIM card locked is indicated by the ERR LED An attempt to unlock the module may be performed only when the right PIN code is known Necessary procedure turn the power supply off remove SIM card from the module insert SIM to ordinary mobile phone accepting cards from the operator that issued actual SIM start the phone and enter proper PUK code and correct PIN code if not accomplished before start the module insert appropriate PIN into configuration power the module off remove the SIM from the phone and place it in the module start the module Entering correct PUK code unblocks the card and resets PIN fault counter making the card operational 9 Safety information 9 1 Working environment When deploying telemetry modules one 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 function 9 2 1 Heart pacemakers It is recommended that the distance between the antenna of telemetry module and the
33. counter Group Formats contains parameters allowing user to define formats of date and time presented in SMS messages 6 2 3 6 1 Date format Function Data type Range Default value Comments 6 2 3 6 2 Time format Function Data type Range Default value Comments Defines date format used by date predefined symbolic name and by ld and ud macro prefixes Text 0 31 signs YYYY DD MM 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 placed in this format text automatically changed for day of month e g 31 Example Parameter is set to Date of measurement YYYY MM DD Macro result is providing today is 31st of January 2011 Date of measurement 2011 01 31 Defines date format used by time predefined symbolic name and by It and ut macro prefixes Text 0 31 signs HH MN SS In the text user can put any sign combination but predefined with special meaning listed below HH if placed in this format text automatically changed for current hour in 24h format e g 01 MN if placed in this format text automatically changed for current minutes e g 01 SS if placed in t
34. ction used along with other reference parameters for rescaling input signal range to engineering units range 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 O for voltage input 400 for current input Comments low reference point for internal units 6 2 6 1 3 6 High reference internal units Function used along with other reference parameters for rescaling input signal range to engineering units range 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 signal range to engineering units range Data type number Range 32767 32767 Default value 0 Comments Low reference for engineering units 6 2 6 1 3 8 High reference engineering units Function used along with other reference parameters for rescaling input signal range to engineering units range Data type number Range 32767 32767 Default value 1000 Comments High reference for engineering units 45 46 6 2 6 1 3 9 Alarm HiHi engineering units
35. e several predefined internal symbolic names Apart from symbolic names user can define macros A macro is defined as a name and a text assigned to this name Parsing of received message begins with macro expansion Parser looks for words beginning with sign and replaces such names with assigned strings Once macro expansions ends new message text is being interpreted and commands executed It allows user to place both commands and symbolic names in macro text Furthermore macros can contain another macro names nested macros but only those defined higher in macro list For example if configuration contains following macros in order shown no Macroname macro then macro mtime used in macro number 3 state will be correctly expanded and SMS text state after macro expansion before executing commands will be changed to 81 82 date time inputs B8 1B64 1R19 SMS sent but expansion of macro 1 will not contain text assigned to macro name mtime therefore text being executed after macro 1 was used will look like mtime input 0 counter D2 HRO which in turn causes module to send back SMS containing gt mtime input O counter 123 Register spaces Module s firmware distinguishes two register spaces input registers and holding registers Access to register space can be made by calls to 16 bit registers or by calls to individual bits HR 0 n Holding registers space Read write access 16
36. e zi si ki PORE 6 2 3 4 Answer for blank SMS mowia iin nement A WE AE NI YA nee einer P ee 33 6 2 3 5 SMS limit exceed information text sise 33 6 2 3 5 1 Phone number of info reCipie tenaz atwo O O O AAAA AA mt ends 33 6 2 3 5 2 SMS limit exceed information s i z s 34 A OA 34 OO DECO A a ee at 34 6 2 3 6 2 Time format ii a 6 2 3 6 3 General format 1 sk Pe fe 6 2 3 6 4 General format Z a a a A ada odka lads a ANS ns Miel pedal a d tek awk tte 6 2 3 7 Symbol MES o z lee A PW do o Leo dl ee 35 622 327 Number Of SYMbOlC NAMES ubica A AR it 35 6 2 3 7 2 Symbolic name s gt Re A O ENT 6 2 3 8 MACOS ii E EP I 6 2 3 8 1 Number of macros se e 6 2 3 8 2 Macro Name tz R AE AAA A ais 6 2 3 8 3 MaGrors CONTENT iii A W A SPE RE A A E Aa G 2 4 GPRS wid da A A eee tn Rata A Rata dA aaa 6 2 4 15APN NAME EO OOO a AE WASI 6 2 4 2 APN user name ng a ee 6 2 4 3 APN paSSWORdEn soi a A A caveat Ii 6 2 4 4 Module Piza iaa 6 2 4 5 GPRS login r try int rvali Sl z a adi A sd AE a Pd iia 38 6 2 4 6 GPRS testing address ping m coe ei sine 38 OLA 7 Idle time S oai A AO A AAA das 38 6 2 5 Author ed NUMDEFS iza tad AA iia arado idas 39 6 2 5 1 Number of phone n mbers siacys arias dit 39 6 2 5 2 Update phone numbers from SIM card iris 39 6 2 5 3 Phone number from SIM card always authorized sat bs 39 6 2 524 NS 40 6 2 6 AIA AEREE heh OH RE tee PARA alta eh eae aka aimed 40 6 2 6 1 Terminals e ies
37. ed sensor Analog inputs AN1 AN2 voltage measurement Measurement range 0 5V 0 10V Maximum input voltage 18V 150kQ typ 1 5 max 1 max Input dynamic impedance Accuracy Nonlinearity Analog inputs AN1 AN2 current measurement Measurement range 4 20mA 50 mA max 1000 typ 2V max 1 5 max 1 max Maximum input current Input dynamic impedance Voltage drop at 20mA Accuracy Nonlinearity 66 7 7 Drawings and dimensions All dimensions in millimeters ANTENNA infentia MT 021 1 WIRE POWER le g 13 BINARY INPUTS AN1 x efs u gfe v z vl 8 13 26 7 34 46 108 67 8 Problem solving 8 1 LED signaling LED indicators placed on MT 021 panel are a great diagnostic tool ACT GSM SeN 14 12 13 14 In table below are described all states signaled by LED diodes eo signans Description Module powered V and GND terminals se on USB connected module powered from USB Input activated Input deactivated Output activated Output deactivated 1 long i 3 short Module logged in GPRS network blinks 1 4 blinks GSM signal strength ACT Tx blinking Outgoing call ACT Rx blinking Incoming call blinking quickly Updating module firmware 1 blink Unsuccessful SMS sending attempt 2 blinks No SIM card or SIM card improperly inserted ERR 3 blinks Wrong PIN 4 blinks Wrong PIN No morePIN entering attempts or PUK needed 5 blinks Unsu
38. eee ds ie Gady memes eanta 7 3 MODULE S DESIGN fiers a odc en A a GEL ale eee 7 3 MODULES TOPOGRAPH Visserie im mean ns fase eine ont ete idas 7 ZA POWER SUPPLY ES och cat cod onus OC WR Z ZL CIE BO A EIO R ORA see ten a lt ne ie TOOL 8 3 93 SIMICARD zaa tee ne M E ba ve egies OOO EA late nn me tete de nette entr teens 9 3 4 LED DIODES ES mnt de ste Mn a AR it derbi 9 3 5 ANTENNA St en sa tnt WATA hy dan tan ea eme nee d Rene AO O AE ci ee ee tante GATE 10 3 6 HOUSINGS asia ten APA eee A mnt el mn nee en eee ne teen an en OPOLE Pad 10 Dal RESOURGES A On ZATO nent Pin te este ANY AE Peas ne 11 3 72 AE BINQUY INpUTS in he rite ht nn de td free dd PR sande tage iad 11 3 7 2 RelQV QUEUE A ANA ORO BOYZ AERO RD CT ta 12 ERTA OY Lo lolo A10 ATA i ao EA tested O dites dent Ka wara P lattes arte tree 12 3 74 Reahtime clock RTC selon cies dete Toston den tee tical ges ni entr anodes date lei esse ee 13 BETS USB DOM ii rend T are dede dde dde A its 13 3 7 06 EVehlJOGJEr zinio kod a OAK EW 14 AR AAIMOUS ne O E AOR ONA eva dent A E E 14 LIL VECES o aves reliant o OJO da des 14 4 STARTING THE MODULE ccoo a do a nent 16 4 1 CONFIGURING MT 021 USING MTMANAGER iii aaa aaa aaa aaa aaa aaa aece ewa 17 4 2 REMOTE CONFIGURATION VIA SMS ie aa aaa aaa aa aaa aaa a aa aa ae wa aaa aace oce 21 4 3 HOW DO I DISABLE A SIM PIN NUMBER sseceecececeeeeseeaeececeeeeauececececeeseaueaeceeceeaaececeeeceeseaaeeeeeeeseeaeeeeeeneneneea 22 5 CO
39. ents 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 e monostable e bistable The outputs operate independently and are isolated from each other Outputs are control by writing value to the internal register No 8 OUT_CTRL flag This can be made remotely via SMS or CLIP Relay outputs Qq1 Q2 Q3 4 RELAY OUTPUTS ANTENNA ZN Q AN2 1 WIRE POWER je 1 2 2 o o 65656898686586586588888 o 0 0 000 0 0 0 0 0 3 7 3 Analog inputs 12 MT 021 provides two analog inputs marked as AN1 AN2 which can operate in following modes AN1 e PT100 sensor temperature readout e voltage input 0 5V 0 10V e current input 4 20mA AN1 e NTC sensor temperature readout e voltage input 0 5V 0 10V e current input 4 20mA 666666 Q1 Q2 Q3 Q4 RELAY OUTPUTS ANTENNA 2 iffentia MT 021 ACT OOOO m 12 13 14 BINARY INPUTS Analog inputs AN1 AN2 3 7 4 Real time clock RTC MT 021 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 mprecise 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 z
40. eps you will see how to create basic configuration which can be described by following points e Entering PIN code e Adding telephone number to authorized phone list e Defining event for binary input 11 when it is changing its state from 0 to 1 rising edge e Defining SMS sending rule which will send SMS that reads ALARM to a predefined phone number when previously configured event is triggered e Setting RTC clock of the device 4 1 Configuring MT 021 using MTManager Install MTManager on your PC from CD provided with module Software MTManager 2 0 MTRestore MTSpooler 2 0 MTProg MTDataProvider 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 icon In newly created MTManager project add new module using main menu option General gt New gt Module 17 18 Parameter Value Enviroment Close Configuration file version 1 00 4 New project1 Choose MT 021 as type type module name e g ST_1 in name field and select firmware version firmware version is marked on the box Name ST_1 Module type MT 021 M Fimware version 100 In the next step set parameters essential for establishing GSM connection e SIM card PIN number required if PIN code request is on Configuration password to protect module from unautho
41. ery complex telemetry systems After adding a new module to the environment and selecting it all module parameters are available for editing Detailed description of functions and their applications are to be found in MTM user manual Each of the configuration parameters is also possible to set by SMS SMS schemes have been presented in Chapter Appendices Module configuration via SMS NOTI CE Availability 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 28 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 configuration General group contains basic parameters defining module s operating mode SMS group contains parameters for SMS services handling GPRS group contains parameters for GPRS logging Authorized numbers group contains lists of phone numbers of other terminals authorized for communication with configured module Resources group defines parameters for hardware and software resources related to reading and processing measurement data Events group contains list of defined events e g binary input state change used to trigger module s actions e g sending SMS or trigger CLIP Rules group contains lists
42. es does not delete settings until the configuration is written to the module 6 2 8 2 2 CLIP call rules 1 16 Each of rules residing on the list is defined by following parameters Triggering event Recipient number 6 2 8 2 2 1 Triggering event Function Assigns which one of previously defined event will trigger CLIP call rule Data type selection list Range None or names of events from the Events table Default value None Comments N A 6 2 8 2 2 2 Recipient 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 List of e mail sending rules can hold max 16 entries defining e mail 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 e mail sending rules 6 2 8 3 1 Number of e mail sending rules Function declares number of e mail sending rules Data type number Range 1 16 61 62 Default value Comments 1 diminishing the number of rules does not delete settings
43. esis Function Data type Range Default value Comments Defines hysteresis value for 1 wire signal thresholds number 0 50 2 Setting hysteresis relevant for signal fluctuations prevents excessive activations of alarm flags 6 2 6 1 4 2 1 6 Deadband Function Data type Range Default value Comments This parameter defines a minimal change of registered 1 wire signal to react on number Oia 50 2 When set to value O the flag will rise upon every detected signal change by minimum 1 unit Deadband flags are dedicated to continuous monitoring of 1 wire signal changes 6 2 6 2 Synchronous timers TMR1 TMR4 Synchronous timers group contains parameters set for four timers capable of cooperating with module real time RTC clock thus enabling triggering of events synchronized with defined time 6 2 6 2 1 Active Function Data type Range Default value Comments selection timer activity selection list Yes Inactive timer No Active timer No N A 6 2 6 2 1 1 Start HH MM Function Data type Range Default value Comments 6 2 6 2 1 2 Period Function Data type Range Default value Comments Defines the synchronization point with RTC Time 00 00 23 59 00 00 At time defined by this parameter the module will always generate a pulse One can make it generate pulse every hour 15 minutes after the hour elapses in that case the parameter Start should have value 00 15 Defines the
44. eter to 1000060 00000001 00000000 00000000 01100000 in binary notation Examples e Setting new value of SIM card PIN number 0101 and new Configuration password ADMIN amp SPIN 0101 SMSP ADMIN Module response gt SPIN 0101 SMSP ADMI N Attention All changes to SIM card PIN number and Configuration password parameters are taking effect after module restart Reading telephone number stored on second position on Authorized numbers gt Phone list amp ADMIN SMSN_ 2 Module response gt SMSN_2 48111222333 Number on this position is 48 111 222 333 e Setting new phone number 48 123 456 789 on second position on Authorized numbers gt Phone list SADMINASMSN_2 48123456789 Module response gt SMSN_2 48123456789 e Setting new phone number on sixth position on Authorized numbers gt Phone list Name parameter is Mark and Number parameter is 48 987 654 321 amp ADMIN LPHN 6 SMST_6 Mark SMSN_6 48987654321 Module response gt LPHN 6 SMST_6 Mark SMSN_6 48987654321 Setting HiHi alarm threshold of 1 Wire 2 input to 115 amp ADMIN OW_ACT_2 2 O0OW_ALM_HH_2 115 Module response gt HOW_ACT_2 240W_ALM_HH_2 115 e Setting new event on seventh position on event list Event is triggered by crossing LoLo alarm threshold on analog input AN2 amp ADMIN EVNO 7 EV TRIG_7 3 EV_ FLAG 7 71 EV EDGE 7 4 Module response gt EVNO 7 EV TRIG_7 3 EV FLAG 7 71 EV EDGE _ 7 4 Setting mod
45. etting Data type text Range compliant with Date and Time format Comments this field is useful in verifying last access time and checking internal module clock settings RTC 6 2 2 General General group encompasses parameters vital for whole module Contains data necessary for successful login to GSM network and password protection module configuration Note values set here have impact on module s behavior and in worst case when chosen improperly may even lock the module 6 2 2 1 SIM card PIN number Function Data type Range Default value Comments defines PIN access code for SIM module delivered by GSM operator For SIM modules not protected by PIN code the value is insignificant Number numerals from 4 to 8 characters empty wrong pin can cause locking of SIM module Procedure in case of blocked module as the result of the wrong PIN value 6 2 2 2 Configuration password Function Data type Range Default value Comments defines the password protecting access to configuration of the module The password will be required for both local and remote access thus protecting against unauthorized configuration alterations The password does not protect against reading current configuration or the module status text string letters and numerals max 32 characters n a since the only way of unlocking the module is resetting it to factory settings it is vital that the password
46. h 16 bits 2 0x02 32 32 bit Low 16 bits CNT_I2 counter input 12 3 0x03 48 p High 16 bits 4 0x04 64 32 bit Low 16 bits counter ON Pm input 13 5 0x05 80 p High 16 bits 6 0x06 96 32 bit Low 16 bits counter CENTA m input 14 7 0x07 p High 16 bits bits 8 0x08 controlling OUT_CTRL Q1 Q2 Q3 outputs special 9 0x09 function SPEC_FUNL code 10 5 Flags During operation MT 021 module governs a number of binary flags assuming value True or False that trigger rules processing and remote diagnostics The User has access to following flags 11 14 State of binary inputs 11 14 Flag assuming value True if value of analogue or 1 wire input is Alarm HiHi higher than value set as Alarm HiHi preserving relation to hysteresis Flag assuming value True if value if value of analogue or 1 wire Alarm Hi input is higher than value set as Alarm Hi preserving relation to hysteresis Flag assuming value True if value of analogue or 1 wire input is Alarm LoLo lower than value set as Alarm LoLo preserving relation to hysteresis AlarmiLo Flag assuming value True if value of analogue or 1 wire input is lower than value set as Alarm Lo preserving relation to hysteresis TMR1 TMR4 Synchronous timer flags Module poweran Flag informs about power on reset unit reset 91
47. he SMS is deleted from sending queue 6 2 3 4 Answer for blank SMS Function Data type Range Default value Comments defines the text of reply for empty SMS to the sender Text max 160 characters MO 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 Data type Range Default value Comments Decides whether the module may send alert that SMS limit was exceeded Selection list On module send SMS limit alert to defined phone number of info recipient Off disabled sending SMS limit alert Off This information is sent beyond standard messages queue and only once a day This message does not increment sent messages counter 6 2 3 5 1 Phone number of info recipient Function Data type Range Default value Selects the SMS limit alert recipient Selection list Authorized numbers list NUM 1 33 Comments The recipient must be previously defined in Authorized numbers gt Phone 6 2 3 5 2 SMS limit exceed information Function Data type Range Default value Comments 6 2 3 6 Formats 34 Contains the text of the SMS message sent upon reaching Daily SMS limit Text max 160 characters empty This information is sent beyond standard messages queue and only once a day This message does not increment sent messages
48. his format text automatically changed for current seconds e g 59 Example Parameter is set to Time of measurement HH MN SS Macro result is providing the time is 01 01 59 Time of measurement 01 01 59 6 2 3 6 3 General format 1 Function Data type Range Default value Comments Defines date format used by RTC predefined symbolic name and by T1 macro prefix Text 0 31 signs YYYY MM DD HH MN SS In the text user can use symbols available for parameters Date format i Time format 6 2 3 6 4 General format 2 Function Data type Range Default value Comments 6 2 3 7 Symbolic names Defines date format used by T2 macro prefix Text 0 31 signs YYYY MM DD HH MN SS In the text user can use symbols available for parameters Date format i Time format Symbolic names group contains names assigned by the user referring to the internal and input registers There can be defined up to 16 symbolic names In order to use a symbolic name in SMS put it name preceded by sign in SMS text send from mobile phone or defined in Rules SMS sending or as a component of user defined macros Using symbolic names makes composing SMS text much more convenient and user friendly 6 2 3 7 1 Number of symbolic names Function Data type Range Default value Comments declares number of user defined symbolic names number 1 16 1 N A 35 6 2 3 7 2 Symbolic name Function Data type Range Default
49. igger Condition saa Z A PA o ida 54 6 2 7 6 Trigger source Clocks z ai ini mn M A A Bice asia da A aa y A PA W A SAAS 54 6 2 7 6 1 Triggering CO kai nA net OO o A W tok La t 54 6 2 7 7 Trigger Source Flags asa ai WA NO YO W O WAP a A OWI 55 62227724 Triggering flag sise is a O 55 6 2 7 8 Trigger source Counters oai a oO A aa aiii 55 622277821 Mriggering COUNtEF aid ii bado as 56 6 2 1 9 Triggersource CONNECTIONS sie ida A I OWE ad iia 56 6 2 7 9 4 Co nectio from any authorized waz od A da da 56 6 2 7 9 1 1 Dial in from number 6 2 8 Rules 6 2 8 1 Massage SENJINE eizo A O O a ini entr e 57 6 2 8 1 1 Number of message sending rules 57 6 2 8 1 2 Sendere mail address saa i aie O AL fs 57 6 2 8 1 3 SMIP serveEname ia Aa a 58 6 2 8 1 4 SMIP SerVer Port air 58 6 2 8 1 5 SMTP authentications e e I EE 6 2 8 1 6SMTP USC name z EA AAA a 6 2 8 1 7 SMTP pasSWord is A A A A A AAA AAA 6 2 8 1 8 Message sending rules 1 32 6 2 8 1 8 1 Triggering QVE t ei a I Lee AA zarz 6 2 8 1 8 2 Transmission type seta as w Ay io 6 2 8 1 8 3 Recipient n mbe net e e W A OWA do e do 59 6 2 8 1 8 4 Receiver ema Ms ii dd A ESO 60 6 2 8 128 5 E mail tithe ices oie ee OSS ARA oe 60 6 2 8 1 8 6 Message tE A 60 6 2 8 2 CLIP calls iii A oe Aaa eee 60 6 2 8 2 1 Number of ELIP callsirules si ai ada Ar ii ati adi ABE da Eea Eri 61 6 2 8 2 2 CLIP GalrUleS LT a dd bl ed bet dd audit 6 2 8 2 2
50. iggering various actions like establishing clip calls setting binary outputs and other 3 7 8 1 Wire inputs 14 Telemetry Module MT 021 is equipped with two 1 Wire inputs for connection sensors using this interface for transmission of measured temperature value and Dallas l button used for identification There is possibility of creating individual 1 Wire solutions to suit special application needs For more information please contact your local distributor 666666 Q1 Q2 Q3 Q4 RELAY OUTPUTS ANTENNA ifentia MT 021 ACT m 12 13 14 e6es 15 4 Starting the module 16 Starting MT 021 module requires few basic activities There are two methods of configuring module e locally using MTManager e remotely via SMS Using one method does not exclude using of the second as the can be used interchangeably Starting MT 021 1 Connect GSM antenna 2 lnstall SIM card If plan to make first configuration of module via SMS turn off PIN code request 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 turned off module should log on to the GSM network Successful GSM network logon is indicated by three blinks of GSM LED and signal strength presented on SGN LEDs In next st
51. iguration via SMS Below you can find sample configuration SMS 21 amp SPIN 2323 CONF_PSW PASS SMSN_1 48111222333 EVNO 1 EV_TRIG_1 2 EV_FLAG_1 0 EV_EDGE_1 1 TRNO 1 TR_TRIG 1 1 TR_TCH_1 1 TR_T_1 ALARM TR_N_1 1 That SMS sets e SIM card PIN number 2323 e Configuration password PASS e First telephone on Authorized gt Phone list 48111222333 e Event EVT1 triggered when binary input 11 changes its logical state 0 gt 1 e SMS sending rule 1 which will send SMS saying ALARM to previously defined telephone number each time event EVT1 is triggered As an answer to this SMS module will send back the same text preceding it with gt sign After first configuration it is good to adjust module RTC SMS below sets time to last second of 2010 amp PASS CRTC 2010 12 31 23 59 59 SMS begins new password set by previous configuration SMS preceded by amp sign First configuration can be done from any phone 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 11 and power GND with binary inputs GND will result in sending SMS that reads ALARM to 48111222333 4 3 How do I disable a SIM PIN number
52. interval module s clock should measure selection list 1min 2 min 3min 5 min 10 min 15 min 30 min 1 hour 2 hours 3 hours 4 hours 6 hours 8 hours 12 hours 24 hours 12 hours N A 49 6 2 6 2 1 3 Days of week Function defines days of week when the timer is active Data type Multiple choice field Range Mo Tu We Th Fr St Sn Default value Mo Tu We Th Fr St Sn all week days selected Comments The timer s activity is depending on logical sum of days of week and days of month Selecting all week days will make the timer active all of the time If no days of week are selected the activity of the timer will depend only on days of month selection 6 2 6 2 1 4 Days of month Function Selects days of month when the timer is active Data type Multiple choice field Range 1 2 30 31 Last Default value No day selected none of month days is selected Comments The timer s activity is depending on logical sum 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 module This allows to periodically record measured values
53. is stored in a safe way and available when needed 31 6 2 2 3 Use of GPRS Function Data type Range Default value Comments 6 2 3 SMS enables GPRS usage required for e mail sending Selection list No GPRS is disabled Yes GPRS is enabled No When GPRS is enabled new group of parameters called GPRS is visible Group SMS contains parameters related to sending and receiving of text messages by MT 021 module 6 2 3 1 Daily SMS limit Function Data type Range Default value Comments Defines max number of SMS the module may send during one day The parameter protects against uncontrolled sending of SMS messages and consequent high running expenses Number 1465 535 0 unlimited N A 6 2 3 2 Roaming for SMS Function Data type Range 32 Decides whether the module may send SMS when roaming in foreign network Selection list No When roaming in foreign GSM network no SMS are sent Answer The module can only respond to queries from authorized numbers Default value Comments 6 2 3 3 Number of SMS Function Data type Range Default value Comments Yes All SMS messages are sent regardless of the GSM roaming Answer In order to be able to sent SMS in roaming the SIM card in the module has to have roaming option active sending retries Defines max number of retries of failed SMS transmission Number 0 255 10 After reaching the defined value t
54. lection list Range None or names of events from the Events table Default value None Comments N A 6 2 8 1 8 2 Transmission type Function selection of method of textual message delivery 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 list defined in Authorized numbers gt Phone 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 59 6 2 8 1 8 4 Receiver e mail address Function Data type Range Default value Comments 6 2 8 1 8 5 E mail title Function Data type Range Default value Comments 6 2 8 1 8 6 Message text Function Data type Range Default value Comments 6 2 8 2 CLIP calls 60 Allows to enter receiver e mail address e g jane brown other_company com text 0 31 characters Defines an e mail ti
55. mail receiver address empty max 48 characters _ TRS E mail tite empty max 31 characters mo CE ct P calis _ E d O 0 None 1 32 event index from event list CR_TRIG_ Triggering event index from Recipient number hs Authorized phone numbers list MTManager description __ Default value _____Range_____ Definition Message sending rules References 1 Information about configuration authorization query authorization and receiving calls authorization is stored in one 32 bit digit in which each single bit corresponds to position on Phone list according to table below Bit on position 30 29 28 27 26 25 24 23 22 21 SB Position on Phone list position Position on Phone 24 23 22 21 20 19 18 32 31 30 29 28 27 26 25 list 77 78 For example to enable authorization for eighth and ninth phone on the list you need to set parameter to 80010000 10000000 00000001 00000000 00000000 in binary notation 2 Information about days of month is stored in one 32 bit digit in which each single bit corresponds to one day of month according to table below z a 30 29 28 27 26 25 24 A 20 19 18 32 p ZES of ZES position Day of 24 23 22 21 20 19 18 17 au 31 30 29 28 27 26 month For example to enable timer for first and last day of month 30th and 31st you need to set param
56. max 160 characters SLI SMS limit exceed information text A SMST_ SLIN Phone number of info recipient index fom 1 to SLIT SMS limit exceed information max 160 characters at SFOD _ Date format YYYY DD MM max 31 characters SFOT HH MN SS max 31characters YYYY MM DD 5Fool DN HH mN 5s MX 3 characters Sa YY DD MM sroo pe aes HH MN 5S 05 3 characters EE SREB Number of symbolic names 0 16 SREA_ IREGO__ max 50 characters Hreg SRES_ Space he SREN_ Register bit number i EE SMAS Number of macros 1 0 16 _______ SMAN max 20 characters GPRS group APN_ NAME max 63 characters APN_USR max 31 characters APN_PSW APN password max 31 character GLBR GPRS login retry interval s 10 3600 Authorized numbers group index from 1 to 32 LPHN Number of phone numbers a 1 32 Update phone numbers from SIM 1 No always authorized 2 Yes SMST_ Name _ nNum max 16 characters SMSN_ Number 48 max 14 characters Bits defining configuration access from 00000000 authorization Configuration FFFFFFFF Bit 1 authorization granted Representation to FFFFFFFF see reference 1 Bits defining data polling authorization from 00000000 Bit 1 to FFFFFFFF authorization granted Representation see reference 1 Bits defining receiving calls authorization from 00000000 Bit 1 to FFFFFFFF authorizatio
57. ming authorized call 26 416 AN1 AN1 AN1 AN1 AN2 AN2 AN2 AN2 Analog inputs alarm flags HiHi Hi Lo LoLo HiHi Hi Lo LoLo 27 432 iw r a i WIR MIR 1 Wi 1 wi 1 WI 1 WIRE inputs alarm flags REL Ea REL E2 RE2 RE RE2 HiHi e HiHi Hi LoLo 28 448 CA CA CA CA Incoming calls flags GAL KSH MAJ A u n i cano CALL CALL CALL CALLI 1 3 10 11 12 ve 6 29 cart carr cau cau CA ch Ch ch CALL2 CALL CALL CALL CA cariz 17 18 19 20 lea 26 27 28 aed ane 21 22 23 24 31 30 Event flags EVT1 EVT2 EVT3 EVT4 24 Ey gt a sa EVT16 T6 E a 31 EV EV EV EV F 8 32 512 ET Higher 16 bits Reserved Reserved Reserved Reserved reset Number of successful GPRS logins zeroed on reset Reserved Reserved Number of sent e mails zeroed on reset 88 Address Dec Bit address Number of e mail sending errors zeroed on reset Aaa EE ES A CE e ERC HERE reset GSM Status register flags description m Bam 1 Wire line status register flags description mes m 89 vo 10 4 2 Internal registers address space Internal registers address space read 03H write 06H or 10 Not zeroed at reset Bit Address DE LOW byte HI GH byte Dec Hex addr Description Symbol 9 10 11 12 13 14 15 S o a 2 s3 3 4 s 6s 7 Ls s 10 u 12 13 1a 15 0 0x00 0 32 bit Low 16 bits counter GN mMM 1 0x01 16 input 11 Hig
58. n granted Representation see reference 1 00000000 SMS_AUT Receiving voice calls 00000000 Resources group Binary inputs I 1 14 counter inputs index from 1 to 4 IN_NAME_ Name max 16 characters 1 Binary input IN MODE INpUE type Counter input IN_DIR_ Counting direction 1 E Up 2 Down IN RANGE Counting range 32bits o 0 2147483647 I Bi 0 gt 1 IN_EDGE_ Triggering slope 1 2 Bi 1 gt 0 3 Bi 0 gt 1 1 gt 0 IN_FLR_ Filtering constant s 10 16383 ARE oo Relay outputs Q1 Q4 index from 1 to 4 OUT_NAME_ max 16 characters o 1 Monostable OUT_IMPLEN_ Pulse duration s 1 3600 unit an 0 None 1 EVT1 OUT_ONEVT_ On event 16 EVT16 index from 1 to 16 73 74 0 None 1 EVT1 OUT_OFFEVT_ Off event 16 EVT16 index from 1 to 16 Analog inputs AN1 AN2 index from 1 to 2 AN_NAME_ max 16 characters 1 Voltage input 2 Current input AN_ MODE Input type 1 3 PT100 AN1 or NTC AN2 IAN_FLR_ Filtering constant s E 0 5V Low reference internal units Er 0 500 fe Low reference internal units AN LREF Low reference internal units 0 0 2000 AN_HREF_ MOZE internal units 1000 ATE AN_HREF_ O internal units 1000 Section 4 AN HREF High reference internal units 1000 0 2000 AN_HENG_ ZI OS AA 1000 32757 32767 EE AN_ALM_HH_ Alarm HiHi engineering units _ 32767 32757 32767 AN_NAME_
59. n to register s Prefix is optional when not present data is interpreted according to preset defaults Basic read command 4 HRO When module receives and parses the SMS message containing this command command string will be replaced with value of register O read from holding registers space noted in decimal format and this value will be put in SMS sent back to user Answer to this command sent back will be gt 10 where 10 is value read from holding register O 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 1R12 seconds long then module will answer with gt Voice call was 15 seconds long where 15 is a value read from input register 12 It should be noted that answer from module begins with gt sign it means that this SMS was generated by module If module receives SMS beginning with gt such message will be ignored not parsed This prevents endless looping of messages in case they are being exchanged between modules Writing to register is archived by expanding basic command with sign and value that should be written HR20 2 User should be aware that writing is allowed only to holding register space When module receives SMS
60. nd time formats which will be used in SMS messages when timestamp processing commands are used Module s configuration contains four format strings Date format is used by date processing commands prefixes 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 will be copied to resulting timestamp string unchanged Available specifiers are Replaced with year four digits e g 2010 YY year two digits e g 10 M month two digits 01 12 day in month two digits 01 31 HH hour two digits 00 23 N SS minute two digits 00 59 second two digits 00 59 For example if user defines General format 1 as DD MM YYYY HH MN SS and when it will be applied to RTC registers by a SMS command TLIRO returned string will look like gt 25 02 2010 08 51 33 User should define at least Date format and Time format strings this will ensure that use of LT UT LD and UD prefixes return expected data Other examples Read input registers 20 1R20 Write value 1 to holding register 0 HRO 1 Binary representation of input register 4 readout B
61. nge Default value Comments Function Data type Range Default value Comments displays GSM modem s firmware version text n a read only parameter n a the field updates automatically after downloading the firmware displays the identifier of current firmware version text n a read only parameter e g 1 00 the field updates automatically after downloading the firmware 6 2 1 8 Configuration file version Function Data type Range Default value Comments displays version identification of configuration file used for actual configuration text n a Read only parameter e g 1 00 C 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 Data type Range Comments displays identification of current configuration hexadecimal n a read only parameter the value of this parameter increases automatically by 1 after each successfully stored configuration 6 2 1 10 Last configuration date 30 Function Data type Range Comments displays time and date of last successful configuration change text n a read only parameter the value changes automatically with successful configuration change Useful in tracing unauthorized configuration changes 6 2 1 11 Last reading time Function displays internal module time recorded during last configuration reading or during last time s
62. of transmission tasks to be carried out upon occurrence of activating criteria 6 2 1 Header Header of parameter structure describes MT 021 telemetry module It holds basic information unique to the module the configuration contained by module and configuration file version Information displayed is not user editable and solely used for verification and information purpose 6 2 1 1 Module name Function Data type Range Default value Comments 6 2 1 2 Module type Function Data type Range Default value Comments displays name assigned to module during configuration text n a read only parameter New module n a displays the type of configured telemetry module text n a read only parameter MT 021 n a 6 2 1 3 Module serial number Function Data type Range Default value Comments 6 2 1 4 IMEI number Function Data type z Range Comments 6 2 1 5 SIM card number Function Data type Range Comments displays serial number configured telemetry module text n a Read only parameter n a this field displays module serial number assigned during manufacturing This number is static and unique identifier of the unit displays GSM modem s IMEI number text n a read only parameter n a displays SIM card s serial number Number n a read only parameter n a 29 6 2 1 6 Modem s firmware version 6 2 1 7 Firmware version Function Data type Ra
63. one of the module s placement 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 equipped with one USB port This port is intended for the local configuration of the module s parameters and readout event logger The port should be connected to an external PC computer with the configuration program running MTManager or software for reading event logger MT Log Reader 13 RELAY OUTPUTS ANTENNA 22 K gt iWentia MT 021 ACT GSM SNO OO TE 1 12 13 14 USB Port BINARY INPUTS AN1 1 WIRE POWER AN 2 o a o a 2 jrzjisjiajg P v i glv 8 1 2 8 BE 3 7 6 Event logger MT 021 automatically registers events like analog inputs measurement time interval being counted by timer GSM logon making an outgoing call one of analog values exceeding an alarm thresholds value module power on and other Logger can store up to 48000 records This allows to reconstruct the history of module operations Logger records can be read via USB using MT Log Reader application 3 7 7 Timers MT 021 provides four synchronous timers TMR1 1MR4 that enable cyclical time measuring from 1 min to 1 month with synchronization with module z RTC clock Timers can be used for tr
64. onitoring center or directly to the defined phone numbers SMS messages sending can be triggered by change of binary input state reaching alarm thresholds marker state change counters and clocks Industrial design practical set ofl O resources easy to use software tools as well as the ability to configure the module from remote via SMS commands are significant advantages of MT 021 in the wireless telemetry systems Direct connection of temperature 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 e Alarm systems e Access control e Preventive diagnostic e Remote meter reading AMR e Remote control of various devices by CLIP call or SMS gates pumps heating lighting etc 2 GSM requirements For proper operation of the module a SIM card provided by a GSM operator with SMS CLIP option enabled is essential Enabled GPRS communication allows device to send e mails A paramount condition for operation is securing the adequate GSM signal level in the place where module s antenna is placed Using the module in places where there is no adequate signal level may cause breaks in transmission and thereby data loss along with generating excessive transmission costs 3
65. puts can operate in one of two functional modes e monostable e bistable Each mode has a set of specific configuration parameters 6 2 6 1 2 1 Name Function Data type Range Default value Comments 6 2 6 1 2 2 Output mode Function Data type Range Default value Comments 6 2 6 1 2 3 Pulse duration s Function Data type Range Default value Comments 6 2 6 1 2 4 On event Function Data type Range Default value Comments 6 2 6 1 2 5 Off event Function Data type Range Default value Comments Defines output s user friendly name Text Letters and numerals max 16 characters Respectively Q1 04 Assigning friendly names facilitates discrimination of outputs destination and required settings selection of binary output mode selection list Monostable binary output is set for time given by Pulse duration parameter Bistable state of output is defined by user Monostable N A defines length in seconds of impulse on binary output in monostable output mode number 0 1 214748364 7 0 1 N A Allows selection of predefined event from the event list which is to be used to turn on output selection list None or names of event from the Events table None N A Allows selection of predefined event from the event list which is to be used to turn off output selection list None or names of event from the Events table None Parameter is only available when Output mode is set to
66. r 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 33 dBm 2W class 4 station EGSM900 MHz Transmitter peak power DCS1800 30 dBm 1W class 1 station PCS1900 MHz 0 3 GMSK Channel spacing 200 kHz 7 3 Power supply Power voltage range 9 30VDC Idle 0 05 Current for 12 VDC Max 1 00 Current for 24 VDC Idle 0 03 Max 0 70 CAUTION Due to high momentary current consumption the power supply must be capable of delivering gt 1A of current Inappropriate power supply may result in faulty operation or cause damage to MT 021 module 65 7 4 Binary inputs I1 14 Signal voltage range 0 30VDC Input resistance Input ON 1 voltage Input OFF 0 voltage 7 5 Relay outputs Q1 Q4 Output type Relay optoisolated NO 250VAC 300VDC 6A 230VAC 6A 24VDC 15A 20ms lt 100mQ Maximum voltage between contacts Load current Maximum switching current u Vin wlolx lt lt O Resistance 7 6 Analogue inputs AN1 AN2 Analog Pt100 input AN1 temperature measurement Sensor type PT100 2 or 3 wired yes applies only to 3 wire sensor 40 200 C Accuracy 1 Analog NTC input AN2 temperature measurement Sensor type NTC 10 Wires resistance compensation Measurement range o O Measurement range 25 55 C Accuracy 1 C depending on us
67. rce to trigger event selection list None Inactive event Binary inputs Events associated with binary inputs 11 14 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 Default value Comments 6 2 7 4 1 Trigger input Function Data type Range Default value Comments 6 2 7 4 2 Trigger condition Function Data type Range Default value Comments None N A select flag of analog input which can trigger event selection list AN1 AN2 AN1 N A Defines the alarm flag associated with the selected analog input and used to trigger an event selection list Alarm HiHi Alarm Hi Alarm Lo Alarm LoLo Alarm HiHi N A 6 2 7 5 Trigger source inputs 1 WIRE Function Data type Range Default value Comments 6 2 7 5 1 Trigger input Function Data type defines resource to trigger event selection list None Inactive event Binary inputs Events associated with binary inputs I1 14 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 sy
68. rforms temperature reading from the DS18B20 sensor connected to a 1 Wire bus Configuration parameters associated with that operation mode allows to set alarm thresholds hysteresis and deadband 47 48 6 2 6 1 4 2 1 1 Alarm HiHi Function Data type Range Default value Comments Defines HiHi alarm level for 1 wire value number 25 125 125 Upon exceeding the preset value by 1 wire signal the HiHi alarm flag is risen The resetting level of the flag depends on Alarm hysteresis setting 6 2 6 1 4 2 1 2 Alarm Hi Function Data type Range Default value Comments Defines Hi alarm level for 1 wire signal value number 25 125 125 Upon exceeding the preset value by 1 wire signal the Hi alarm flag is risen The resetting level of the flag depends on Alarm hysteresis setting 6 2 6 1 4 2 1 3 Alarm Lo Function Data type Range Default value Comments Defines Lo alarm level for 1 wire signal value number 25 125 25 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 Data type Range Default value Comments Defines LoLo alarm level for 1 wire signal value number 25 L25 25 Upon exceeding the preset value by 1 wire signal the LoLo alarm flag is risen The resetting level of the flag depends on Alarm hysteresis setting 6 2 6 1 4 2 1 5 Alarm hyster
69. rization for all phone numbers stored in SIM card phone book 39 Data type selection list Range Yes authorization is on No authorization is off Default value No Comments If set to Yes all mobile phones stored on SIM card are treated as if they were placed on Authorized numbers Phone list with tick next to Receiving voice calls option The name assigned to him on the SIM card cannot be empty Phone book entries with empty name won t be analysed 6 2 5 4 Phone Ip Index number Name Friendly name facilitating identification of the module while defining Rules Max length 16 characters Number Phone number assigned to list index Max 14 characters Configuration Depending on configuration settings incoming configuration SMS will be processed or ignored Default value Y Allowed 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 x not allowed Receiving voice The module receives calls and can use these signals for trigger calls event depending on selected setting When Receiving is not allowed all calls from that phone number will be ignored Default value x not allowed Entries on phone list may be easily added and deleted by using context menu activated by right mouse button click on any position of the list in parameters window Idx Name Number Config
70. rized access View Transmission Configuration Help E W New project ST_1 MT 021 Je ST_1 MT 021 General SMS Authorized numbers Resources Events Rules Parameter Configuration password Open Authorized numbers gt Phone and add to the list new telephone number which will be receiving SMS messages from device e g 48111222333 Number Configuration Query EJ W New project E ST_1 MT 021 f 7 E E ST_1 MT 021 General E SMS B Authorized numbers Phone Resources Events m Rules Create Event EVT1 in this example event will be triggered by binary input 11 when changing it will change logical state 0 gt 1 Parameter W New project ST_1 MT 021 Trigger source g ST_1 MT 021 General Trigger input SMS Trigger condition Authorized numbers Phone Resources 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 19 Parameter E W New project ST_1 MT 021 Triggering event e ST_1 MT 021 General SMS B Authorized numbers Phone Resources B Events EVT1 Rules SMS sending SMS sending rule 1 CLIP calls To write into module configuration prep
71. sociated with the configured counter input and used to trigger an event selection list 11 14 11 N A 6 2 7 9 Trigger source Connections 56 Function Data type Range Default value Comments defines resource to trigger event selection list None Inactive event Binary inputs Events associated with binary inputs 11 14 Analog inputs Events associated with analog inputs AN1 AN2 Inputs 1 WI RE 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 None N A 6 2 7 9 1 Connection from any authorized Function Data type Range s Determines whether the event it to be triggered by an incoming call from particular number or with a group of numbers from authorized number list selection list Yes Event will trigger by any connection from authorized numbers and selected permission for Receiving voice calls parameter No Event will trigger by connection from selected phone number defined Dial in from number parameter Default value Comments 6 2 7 9 1 1 Dial in from Function Data type Range Default value Comments 6 2 8 Rules Yes N A number select phone number name from authorized list which can trigger event selection list friendly names of recipients a
72. ssociated with phone numbers in Authorized number list NUM 1 first number on the list N A Rules group contains lists of transmission tasks performed by internal program when criteria defined in rules are met Tasks are divided into two groups e rules concerning transmission of SMS messages e rules concerning transmission of CLIP calls e rules concerning transmission of e mail messages In both cases the 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 SMS sending rules 6 2 8 1 1 Number of message sending rules Function Data type Range Default value Comments declares number of SMS or e mail sending rules number 1 32 1 diminishing the number of rules does not delete settings until the configuration is written to the module 6 2 8 1 2 Sender e mail address Function Data type Range Default value Comments Allows to enter sender e mail address e g john smith company com text 0 31 characters 57 58 6 2 8 1 3 SMTP server name Function Data type Range Default value Comments 6 2 8 1 4 SMTP server port Function Data type
73. stem internal processor Counters Events associated with counter s flags Connections Events associated with incoming telephone calls None N A select flag of 1 WIRE input which can trigger event selection list 53 6 2 7 6 Trigger source Clocks 54 Range Default value Comments 6 2 7 5 2 Trigger condition Function Data type Range Default value Comments Function Data type Range Default value Comments 6 2 7 6 1 Triggering clock Function Data type Range Default value Comments 1 WIRE1 1 WIRE2 1 WIRE1 N A Defines the alarm flag associated with the selected 1 WIRE input and used to trigger an event selection list Alarm HiHi Alarm Hi Alarm Lo Alarm LoLo Alarm HiHi N A defines resource to trigger event selection list None Inactive event Binary inputs Events associated with binary inputs 11 14 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 None N A Defines the flag associated with the selected Clock and used to trigger an event selection list TMR1 TMR4 TMR1 N A 6 2 7 7 Trigger source Flags Function Data type Range Defa
74. steresis value for analog signal thresholds The value is set in engineering units Data type Range Default value Comments number 0 32767 100 Setting hysteresis relevant for signal fluctuations prevents excessive activations of alarm flags 6 2 6 1 3 14 Deadband engineering units Function Data type z Range Default value Comments This parameter defines a minimal change of registered analog signal to react on number 0 32767 100 When set to value O the flag will rise upon every detected signal change by minimum 1 engineering unit Deadband flags are dedicated to continuous monitoring of analog signal changes 6 2 6 1 4 Inputs 1 WIRE1 1 WIRE2 MT 021 module is equipped with two 1 WIRE inputs which allow connection of external transducers e g temperature sensors 6 2 6 1 4 1 Name Function Data type Range Default value Comments 6 2 6 1 4 2 Input type Function Data type Range Default value Comments Defines input s user friendly name Text Letters and numerals max 16 characters Respectively 1 WIRE1 1 WIRE2 Assigning friendly names facilitates discrimination of inputs destination and required settings selection of 1 WIRE input mode selection list Temperature measurement Temperature measurement by DS18B20 sensor Inactive Input switched off Inactive N A 6 2 6 1 4 2 1 Temperature measurement In this mode the input module pe
75. syntax and values within allowed range or SMS was an inquiry no values than response is built from list of parameters with corresponding values gt parameter value parameter value parameter If there was at least one wrong parameter name module will not change any configuration parameter and will send following response gt parameter parameter If there was at least one of parameter values will not be within accepted range or will be of wrong type change any configuration parameter and will send following response gt parameter Err parameter Err The following tables list all available configuration parameter mnemonics their allowed parameter value range and default value Please note that some of the parameters and parameter values are depending on other parameter values e g number entered on sixth position on Authorized numbers gt Phone list is active only if Authorized numbers gt Number of phone numbers parameter is set to six or more Parameters in bold accept only text values 71 72 General group from 4 to 8 SIM card PIN number empty characters or empty CONF_PSW___ Configuration password _ empty __ max 32 charactersf ___ 2000 01 01 YYYY MM DD 1 No SMS group index from 1 to 16 Parameter MTManager description pol Range Definition MAXS Daily SMS limit LO 0 65535 L No 3 All SREP Number of SMS sending retries 0 255 o SPAT Answer for blank SMS
76. ter with lowest address big endian Local time fetched from three consecutive registers Rn Rn 1 Rn 2 where n corresponds to register symbol used Time format according to Time format string in configuration UTC time fetched from three consecutive registers Rn Rn 1 Rn 2 where n corresponds to register symbol used Time format according to Time format string in configuration Local date fetched from three consecutive registers Rn Rn 1 Rn 2 where n corresponds to register symbol used Date format according to Date format string in configuration UTC date fetched from three consecutive registers Rn Rn 1 Rn 2 where n corresponds to register symbol used Date format according to Date format string in configuration UTC timestamp fetched from three consecutive registers Rn Rn 1 Rn 2 where n corresponds to register symbol used Timestamp format according to General format 1 or General format 2 strings in configuration Decimal format 1 5 characters with sign when needed signed Access to single register treated as 16 bit signed value F 1 3 Converts decimal value to floating point number Number next to prefix defines number of digits after dot Bit access to register spaces HB IB Description B 1 64 Binary format 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
77. ting device time this parameter value is different from 0 0 0 0 it means that module is logged into GPRS network with this particular IP address assigned to it 6 2 4 5 GPRS login retry interval s Function Data type Range Default value Comments Defines interval in seconds between retries of GPRS logon attempts after GPRS login failure number 10 3600 s 10 s 6 2 4 6 GPRS testing address ping Function Data type Range Default value Comments 6 2 4 7 Idle time s 38 Function Data type Range Default value Comments sets IP address which is used to test GPRS network connection in case it is lost IP address field 0 0 0 0 255 255 255 255 0 0 0 0 This parameter sets recipient address for ping data frames testing GPRS transmission channel Leaving recipient address at 0 0 0 0 turns off GPRS testing functionality which is not advised Defines interval in seconds for sending data frame ping testing GPRS network in case it is lost number 0 21600 s 6h 0 s in case of inactivity longer than the value defined in this parameter the module sends a control frame in order to check whether transmission is still possible The frame is sent to the address specified by parameter GPRS testing IP address if different than 0 0 0 0 Lack of reply to sent ping frame after exercising defined timeout and number of retries is considered as GPRS connection loss and resets modem 6 2 5
78. tle text 0 31 characters Defines text which will be send as an e mail or SMS message text 0 160 characters Messages text may contain any string of characters except diacritical signs It may contain mnemonics dynamically replaced at run time by values drawn from the module e g time register values or logical state of bits Syntax of commands is described in Syntax of commands for reading and writing data by SMS paragraph 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 be a GSM network subscriber but must have a phone able to identify and display caller ID The function corresponds to sending 1 bit of information triggered by event occurrence free of charge The list of rules holds max 16 rules allowing to establish a connection with selected phone number 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 CLIP calls rules to desired value 6 2 8 2 1 Number of CLIP calls rules Function declares number of CLIP calls rules Data type number Range dale Default value 1 Comments diminishing the number of rul
79. ts marked as Q1 Q4 The outputs operate independently and are isolated from each other Connection scheme RELAY OUTPUTS ANTENNA 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 25 26 Pt 100 2 wire AN1 only BINARY INPUTS Voltage output sensor BINARY INPUTS Current 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 Q1 Q2 Q3 Q4 RELAY OUTPUTS ANTENNA PON 2 iffentia MT 021 GSMC SGN i O0 0 0 0 1 12 13 14 BINARY INPUTS AN 2 1 WIRE POWER eldo JE HE DS18B20 27 6 Configuration 6 1 General information The configuration of MT 021 module as is the case for other modules in the MT series is carried out using the MTM MT Manager program portal delivered free of charge to users of our telemetry solutions The portal is a specialized environment providing full control of the entire telemetry system regardless of the system s size The possibility of dividing hardware resources into Projects and Folders facilitates efficient management of v
80. ule RTC clock to 2010 12 31 23 59 59 S ADMI N CRTC 2010 12 31 23 59 59 Module response gt CRTC 2010 06 17 08 27 40 10 3 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 putting two hash signs one after another will prevent module from processing command following it However after sending one of hash signs will be deleted this allows to control resources of one module from another e g set binary output Q1 to l HB128 1 used as first character in SMS text inhibits parsing of SMS used as first character in SMS text inhibits answering to this SMS 79 80 After reception of SMS message internal application tries to parse SMS text and execute command enclosed in it Parsing process generates new message text which is send back to user if module is allowed to either by configuration or by presence absence of sign Commands are formatted as follows prefix symbol value where prefix defines data representation and register count symbol defines register address and register space being accessed value defines data to be writte
81. ult value Comments 6 2 7 7 1 Triggering flag Function Data type Range Default value Comments defines resource to trigger event selection list None Inactive event Binary inputs Events associated with binary inputs 11 14 Analog inputs Events associated with analog inputs AN1 AN2 Inputs 1 WI RE 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 None N A Defines the system flag and used to trigger an event selection list Module power on reset module restart Module power on reset N A 6 2 7 8 Trigger source Counters Function Data type Range defines resource to trigger event selection list None Inactive event Binary inputs Events associated with binary inputs I1 14 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 55 Default value Comments 6 2 7 8 1 Triggering counter Function Data type Range Default value Comments Connections Events associated with incoming telephone calls None N A Defines the flag as
82. uration Query Receiving voice calls 1 NUM 1 I 3 NUM 3 6 2 6 Resources Resources group contains user defined hardware configuration Particular sub groups contain fields allowing fast and intuitive preparation of the module to perform measurements and evaluations of external parameters binary states counters temperature and air humidity as well as internal timers flags 40 6 2 6 1 Terminals Sub group Terminals gathers all inputs and outputs Depending on type of accepted input they are binary and analogue Final functionality of each input depends on settings and configuration parameters connected 6 2 6 1 1 Inputs I1 14 Module MT 021 has four identical binary inputs Inputs can operate in one of two functional modes e standard binary input e counter input Each mode has a set of specific configuration parameters 6 2 6 1 1 1 Name Function Data type 7 Range Default value Comments 6 2 6 1 1 2 Input type Function Data type Range Default value Comments Defines input s user friendly name Text Letters and numerals max 16 characters Respective 11 12 13 14 Assigning friendly names facilitates discrimination of inputs destination and required settings Defines binary input s operating mode Selection list Binary input Operates as binary input Counter input Operates as counter input Binary input According to selected mode MTManager displays
83. value Comments 6 2 3 7 3 Space Function Data type Range Default value Comments 6 2 3 7 4 Register bit number Function Data type Range Default value Comments 6 2 3 8 Macros Macros group contains up to Defines user friendly name Text 0 50 characters IREGO IREG15 N A Selection of register address space assigned to symbolic name selection list HReg Internal registers address space registers readout Reg Analog input address space registers readout HB Internal register address space bits readout IB Analog register address space bits readout Reg N A This parameter together with the parameter Space defines the register address or bit assigned to symbolic name number 0 65535 0 15 N A 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 put it name preceded by sign in SMS text send from mobile phone or defined in Rules SMS sending or other macro Using macros makes composing complex SMS texts and queries much more convenient and user friendly 6 2 3 8 1 Number of macros Function Data type Range 36 declares number of user defined macros number 1 16 Default value Comments 6 2 3 8 2 Macro name Function Data type Range Default value Comments N A Defines macro s user friendly name Text
84. with write command it executes the command and sends back value written For example sending to module SMS with text HR1 1234 causes module to write value 1234 to holding register 10 and send back SMS with text gt 1234 Both read and write commands can be expanded by adding a prefix which defines data format notation Prefix should be placed between mark command start and register symbol and should contain one or more characters ended with a dot For example to read an input register 4 in hexadecimal format one should use a command H I R4 and module s answer will be gt 1FC8 Prefixes can also be used with write commands Command can operate on more than one register Register count can be included in prefix after character denoting data format which is then mandatory For example command D2 HR2 123456 causes write 123456 to two registers HR2 and HR3 32 bit variable Full list of available prefixes is enclosed below User can define in MTManager own symbolic names in module s config and assign them to registers Then such names can be used instead of register symbols It allows user to define friendly names for registers 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 Foutput 1 causes module to write 1 to bit 1 of HR20 register There ar

Download Pdf Manuals

image

Related Search

MT 021 mt 021 mt02120234 mt021bk mat 021b uc davis mat 021a mat 021c mat 021 usm mat 021c uc davis mat 021m uc davis my 0213 0924 mt 020 mt 010 yamaha mt 210

Related Contents

Tank FT48 B5382 Service Engineer`s Manual  LA CHARTE Lectures Vagabondes  Training Program User Manual      Thèse professionnelle Louise Devresse 290911  さらに進んだ使い方  消研輯報第65号[PDF 8.6MB]  Yamaha MY16-MD64 Network Card User Manual  Beknopte bedieningshandleiding Mode d`emploi - Euphonic EX-218  

Copyright © All rights reserved.
Failed to retrieve file