Home

MT-100-user-manual

image

Contents

1. The icon N on the toolbar performs same function e Function Write and disable read This function writes the program from the table into the module disabling the reading function The only way of modifying the program in the module is to write it again or import previously stored programs and modify it The icon pa on the toolbar performs same function Function Connect This function toggles between ON Line and OFF Line mode In first case MTprog exe application sends cyclically queries about module s interpreter state and on the base of received response displays status information in lower left corner of main window The menu item Help Transmission opens transmission window displaying sent commands and replies ON Line OFF Line differentiation is important during connection via modem in GPRS mode Leaving the application connected with the module for longer time results in higher costs of transmission since transfer may be roughly estimated to 2 kB per minute In ON Line mode the serial port connecting the computer with the module or GPRS modem is occupied by MTprog exe application and cannot be used by other applications In OFF Line mode serial port is released and may be used by any other application Ch The icon el on the toolbar performs same function e Function Start This function starts the command interpreter of the module To start the interpreter the module has to be in ON Line mode This function does not h
2. 0 2kHz Pin 12 engineering units 0x002B Converter F U 0 2kHz Pin 13 engineering units Converter F U 0 2kHz Pin 14 engineering units Converter F U 0 2kHz Pin 15 engineering units Converter F U 0 2kHz Pin 16 engineering units AT A A EN NE COM o o GPRS statistics Transmission Number of frames Type O retries not accounted low 16 bits GPRS statistics Reception Number of retries low 16 bits GPRS statistics Transmission Number of not delivered not confirmed frames low 16 bits GPRS statistics Reception Frames Type 0 low 16 bits GPRS statistics Reception Frames Type 1 low 16 bits GPRS statistics Reception Rejected frames Type 0 module busy low 16 bits Ox007E_ Number of attempts since powerup o Ox007F Last attempttime Year firming on 0x0080 Last attempt time Month st access 0x0081 Lastattempttime Day vaa 0x0082 Last attempttime hous mora 0x0083 Last attempt time minutes 0x0084 GSM signal strength Max value 188 SGN _LEV word 0x0085 Firmware version y xx y High byte xx Low byte CAE A a 0x00BB_ Reserved OxOOBC Number of program lines executed in previous cycle PRG CLINE word OxOOBD Elapsed program execution time in previous cycle PRG CTIME word OxOOBE Help register for function in user program _RET1 word OxOOBF Help register for function in user program _RET2 word 0x00CO PAR_1 word OxOOFF Parameter 64 PAR_ 64 word
3. 8 1 General 96 Protection class 2 E Max potential on any connector 60Vrms max referenced to GND Humidity 5 95 non condensing 8 2 Modem GSM GPRS Modem type CINTERION TC63i GSM Multiband GSM module 900 1800 or 850 1900 MHz GPRS Class 10 Frequency range EGSM 900 MHz Transmitter from 880 MHz to 915 MHz Receiver from 925 MHz to 960 MHz Frequency range GSM 850 MHz Transmitter from 824 MHz to 849 MHz Receiver from 869 MHz to 894 MHz Peak transmitting power EGSM 900 MHz 33 dBm 2W class 4 station amp GSM 850 MHz Frequency range EGSM 1800 MHz Transmitter from 1710 MHz to 1785 MHz Receiver from 1805 MHz to 1880 MHz Frequency range PCS 1900 MHz Transmitter from 1850 MHz to 1910 MHz Receiver from 1930 MHz to 1990 MHz Peak transmitting power EGSM 1800 30 dBm 1W class 1station MHz amp PCS 1900 MHz 0 3 GMSK Channel spacing 200 kHz 8 3 Power supply Direct Current DC 12V 24V 9 30V Input current A for 12V DC Idle 0 07 Active 0 40 Max 1 90 Input current A for 24V DC Idle 0 04 Active 0 18 Max 1 00 CAUTION Due to high momentary current consumption the power supply must be capable of delivering gt 2A of current Inappropriate power supply may result in faulty operation or cause damage to MT 100 module 8 4 Binary inputs I1 18 Input voltage range 36 36V Input resistance 5 4 KQ Input voltage ON 1 gt 9V or lt 9V Input voltage O
4. MT2MT buffer enables creation of system where MT 100 101 102 202 modules may exchange information Internal Registers with each other without any relaying instance Data transmission from one module to another goes like this 1 In sending module the event triggered sending of the buffer has to be defined 2 In receiving module switch the MT2MT buffer on and define its placement and size so that it encompasses the area of sent registers 3 Upon reception of event triggered data frame registers from event reporting module are copied into receiving module s registers and MT2MT_x bit informing about modification of MT2MT buffer with data from respective IP is set Bit number reflects the index of IP address in GPRS Authorized numbers in configuration MT2MT_x bits are set for 1 program cycle immediately after reception and recording it in MT2MT buffer 4 Data transmission in this system copies registers of sending module into the exact same register in receiving module When designing communication between larger numbers of modules separate register areas have to be sent and appropriately large areas define for MT2MT receiving buffer in receiving modules 3 3 7 Constant parameters In MT 100 module max 128 constant parameters that are loaded into module memory during initialization of the module can be defined These constants are stored in 16 bit registers and have numerical values ranging from O 65535 Constant parameters may be used fo
5. 0x0100 ff O OxOIFF fn o 0x0500 Parameter 65 PAR_65 word 0x053F Parameter 128 PAR_128 word 115 10 9 4 Internal registers space Internal registers space read command 03H write O6H or 10H Not zeroed at reset LOW 0x0001 32 bit counter input Q1 te 16 0x0003_ 32 bit counter input Q2 Low16 bits 0x0005 32 bit counter input Q3 Low 16 bits 0x0007 32 bit counter input Q4 Low16 bits PaO 37 oit counter input o 16 oits 0x000B 32 bit counter input Q6 fon 16 TE Ox000D 32 bit outa pa O los 16 pits 0x000F__ 32 bit counter input Q8 Low 16 bits 0x0011 32 bit counter inputIl Low16 bits 0x0013_ 32 bit counter input 12 Low 16 bits 0x0015 32 bit counter input13 Low 16 bits 0x0017 32 bit counter inputl4 low16bits 0x0018 32 bit counter input I5 CNT I5 High 16 bits 0x0019 32 bit counter inputI5 Low16bits 0x001B_ 32 bit counter inputl6 Low16 bits 0x001D_ 32 bit counter inputI7 Low 16 bits Ox001F_ 32 bit counter CIAO flow 16 bits ae 16 bit counter C8 threshold value 16 bit_ Timer T8 threshold value 116 w 16 bit counter C5 current value 16 bit counter C6 current value 16 bit_Timer T2 current value 16 bit Timer T4 current value 16 bit Timer T5 current value 16 bit Program register unsigned value REG2 J16 bit value 16 bit Program register unsigned value REG
6. Buffer size Function Defines size of internal registers space sent in transmission triggered by defined rule Data type number Range 1 700 Default value 16 Comments nia 5 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 has to be transmitted to the module The method of transmission depends on whether we configure it locally or remotely via GPRS 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 For remote configuration it is vital that the computer running the configuration application has access to the APN where the configured module resides Detailed description of remote configuration is to be found in the MTM user manual 5 4 Verification of configuration Despite high reliability of both local and remote module configuration verify of it is important It is relevant if the modules 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 users manual 6 Programming 6 1 General information Modules from the MT 10x and MT 202 series and EX 101 expansion allow downloading user defined int
7. Q 65535 engineering units 0 engineering units Sets An Hi flag used for rules processing The reset level for this flag depends on Alarm hysteresis value Alarm Lo Defines Lo alarm level in engineering units for analog input signal number Q 65535 engineering units 0 engineering units Comments Sets An Lo flag used for rules processing The reset level for this flag depends on Alarm hysteresis value 5 2 5 3 2 2 2 9 Alarm LoLo Function Defines LoLo alarm level in engineering units for analog input Signal Data type number Range Q 65535 engineering units Default value Q engineering units Comments Sets An LoLo flag used for rules processing The reset level for this flag depends on Alarm hysteresis value 5 2 5 3 2 2 2 10 Alarm hysteresis Function Defines hysteresis for analog input alarm thresholds The value is in engineering units Data type number Range 1 65535 engineering units Default value 10 engineering units Comments setting proper hysteresis value for variable signal source prevents frequent activation of alarm flag when signal source is unstable 5 2 5 3 2 2 2 11 Deadband Function Defines size of deadband for values of analog input in engineering units Data type number Range Q 65534 engineering units Default value 10 engineering units Comments Insensitivity band spans symmetrically with last recorded value in ce
8. Virtual mep gisters VREG BIO BIO VREG_BI1 VREG BI2 TT O 0x0030 F_CNT_Q1 F_CNT_Q2 F_CNT_Q3 F_CNT_Q4 F_CNT_Q5 F cnt Q6 F cnt o7 F cnr Qa counter flip over for eee asa A AS AS A ROS zie inputs Q1 Q8 EEES 0x0038 F_CNT_I1 F_CNT_12 F_CNT_I3 F_CNT_I4 F_CNT_IS F_CNT_IG F_CNT_I7 F_CNT_I8 nearer aa tor 0x0040 Counter outputs C1 C8 REG ary 0x0048 Timer outputs T1 T8 Threshold bits for AQ1 and All Threshold bits for MA DO 0x0058 AQ2 LoLo AQ2_Lo AQ2_Hi AQ2_HiHi Al2_LoLo Al2_Lo Al2_ Hi Al2_HiHi frequency analog inputs AQ2 and Al2 Threshold bits for 0x0060 AQ3_ LoLo AQ3_Lo AQ3_Hi AQ3_HIHi Al3_LoLo Al3_Lo Al3_ Hi Al3_HiHi frequency analog inputs AQ3 and Al3 VREG BIG Threshold bits for 0x0068 AQ4 LoLo AQ4 Lo AQ4 Hi AQ4_HiHi Al4_LoLo Al4_Lo Al4 Hi Al4_HiHi frequency analog inputs AQ4 and Al4 Threshold bits for 0x0070 AQ5_LoLo AQ5_Lo AQ5_ Hi AQ5_HiHi Al5_LoLo Al5_Lo Al5_ Hi Al5_HiHi frequency analog inputs AQ5 and Al5 Threshold bits for YREGOB 0x0078 AQ6_LoLo AQ6_Lo AQ6_Hi AQ6_HiHi Al6_LoLo Al6_Lo Al6_ Hi Al6_HiHi frequency analog inputs AQ6 and Al6 Threshold bits for 0x0080 AQ7_LoLo AQ7_Lo AQ7_Hi AQ7_HiHi Al7_LoLo Al7_Lo Al7_Hi Al7_HiHi frequency analog inputs AQ7 and Al 7 l VREG_BI8 Threshold bits for Ox0088 AQ8_ LoLo AQ8_Lo AQ8 Hi AQ8_HIHi Al8_LoLo Al8 Lo Al8_Hi Al8_HiHi frequency analog inputs AQ8 and Al8 Dead band cross over bits 0x0090 AQ1 Dbd AQ2_Dbd AQ3_Dbd AQ4_Dbd AQ5_Dbd AQ6_Dbd AQ
9. this field is useful in verifying last access time and checking internal module clock settings RTC 5 2 2 General Contains data necessary for successful login to GSM network and parameters defining module operating mode Note values set here have impact on module s behavior and in worst case when chosen improperly may even lock the module NOTICE Availability of parameters described in following chapters depends on firmware version and the superior parameters they depend on 25 5 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 text letters and numerals max 8 characters n a wrong pin can cause locking of SIM module CAUTION Caution ts vital when setting the PIN code value Entering faulty PIN code may cause module start up to be impossible and lock SIM card In latest versions of the module attempting to enter wrong PIN code twice renders a third attempt impossible Procedure in case of blocked module as the result of the wrong PIN value 5 2 2 2 Access to configuration Function Data type Range Default value Comments defines configuration access restrictions The user can decide whether access to configuration will be allowed for all or only selected IP addresses selection list All Unrestricted access for any IP addre
10. value 53 5 2 6 1 1 Number of SMS sending rules Function Data type Range Default value Comments declares number of SMS sending rules number 1 32 1 diminishing the number of rules does not delete settings until the configuration is written to the module 5 2 6 1 2 SMS sending rule 5 2 6 1 2 1 Trigger input 5 2 6 1 2 2 Trigger flag 54 Each of the rules residing on the list is defined by following parameters Function Data type Range Default value Comments Function Data type Range Trigger input Trigger flag SMS text Recipient number Sending additional information defines resource to observe selection list None the rule is inactive 11 18 binary inputs Q1 Q8 binary outputs Al A2 analog inputs FS1 ups FS1_ q FS1 gprs system trigger inputs PL P32 user program inputs TMR1 TMR2 TMR3 TMR4 synchronous and asynchronous clocks trigger inputs None more about trigger inputs and flags in chapter Appendices defines event triggering flag associated with selected trigger input selection list None rule inactive Bi ln 0 gt 1 Bi In 1 gt 0 Bi In Chg binary input state change Bi Out Err discrepancy between the forcing and output state Counter counter flip over up or down An LoLo An Lo An Hi An HiHi An DB alarm threshold flags for analog inputs signals Default value None Comments more about trigger inputs and flags in chapter Appendices 5 2 6 1 2 3 SMS
11. 2 5 3 1 2 2 10 Alarm Function Data type Range Default value Comments Defines LoLo alarm level in engineering units for analog input signal number 0 65535 engineering units O engineering units Sets An Lo flag used for rules processing The reset level for this flag depends on Alarm hysteresis value hysteresis Defines hysteresis for analog input alarm thresholds The value is in engineering units number 1 65535 engineering units 10 engineering units setting proper hysteresis value for variable signal source prevents frequent activation of alarm flag when signal source is unstable 5 2 5 3 1 2 2 11 Deadband Function Data type Range Default value Defines size of dead band for value of analog input in engineering units number 0 65534 engineering units 10 engineering units Comments Insensitivity band spans symmetrically with last recorded value in center Upon crossing this value the new value is recorded and insensitivity band is moved The An DB flag in binary inputs space is raised and may be used for rules processing 5 2 5 3 1 2 3 Counter input 5 2 5 3 1 2 3 1 Counting direction Function Data type Range Default value Comments Yo ES ACE Function Data type Range Default value Comments defines counting direction selection list Up A pulse on input increases value of counter register Down A pulse on input decreases value of counter reg
12. 2 5 3 2 2 2 3 Low reference engineering units Function used along with other reference parameters for rescaling input signal range to engineering units range 43 44 Data type Range Default value Comments J2 Deol Ziel Function Data type Range Default value Comments 5 2 5 3 2 2 2 5 Function Data type Range Default value Comments SES EC ALA Function Data type Range Default value Comments 5 2 5 3 2 2 2 7 Function Data type Range Default value Comments 5 2 5 3 2 2 2 8 Function Data type Range Default value number Q 65535 400 low reference point for engineering units High reference internal units used along with other reference parameters for rescaling input signal range to engineering units range number 1 65535 65535 high reference point for internal units High reference engineering units used along with other reference parameters for rescaling input signal range to engineering units range number 1 65535 2000 high reference point for engineering units Alarm HiHi Defines HiHi alarm level in engineering units for analog input signal number Q 65535 engineering units 0 engineering units Sets An HiHi flag used for rules processing The reset level for this flag depends on Alarm hysteresis value Alarm Hi Defines Hi alarm level in engineering units for analog input signal number
13. 3 BINARY OUTPUTS OQ Ll dt NS ASE yar 98 9 07 ANALOGINPUTSA LAZOS A E AAA oT a aa da AS 98 327s DRAWINGS AND DIMENSION Sinatra RADIO iia 99 9 SAFETY INFORMATION idos 100 OL WORKING ENVIRONMENT astas 100 9 2 ELECTRONIC EQUIPMENT os 100 OD A ARCO E pce makel S ia 100 92 2 NENO A O E de PON II T ceva eaana ee waa ureal cis ese 100 DL Other medicaleguiP men AA AAA AA AAA pa dace lt a AA 100 ODA GRE Matked e ODM Ea A A E 100 D3 EXPLOSIVE ENVIRONMENT tasca 100 TO APPENDICES sata pionaiaio 101 TOA DATA TRANSMISSION INCO SIV SYSTEMS a A A 101 YES aes ea sss ato A A N 101 TOAD CSD IS CSD ikea acento aa ia aaa 101 OT NGG aS tt pde 101 10131 Advantages OF GPRS technolo ni ic 102 101 32 GPRS 11 Telemetry aD DIICALIONS erkein iran adriana ire 102 O O O OO 102 DIS lr 103 TOO ASDPA A A A A A 103 10 2 SYNTAX FOR READING AND WRITING DATA IN SMS MODE ssscesecosecssccsecoesccsscosecseccsscesseasecseceesecseceeessecesecessseseeseeeesees 103 10 3 UNLOCKING WRITING TO INTERNAL REGISTER Si aii A AA AAA 104 10 4 WORKING WITH DYNAMIC IP ADDRESSING ccccecececcceccscscececcceceacecececeaencecececeacecacececeeeaencscseeaeacecsceaeasaeacscecsetaeececeeeass 105 TUS DATA FORMATS uaren A A NS dosed raneiwouiataianes 106 106 FORMATOFMODULE STATUS ist os 106 TO TRIGGER INPUT aiii io dicicia 107 A O 108 10 9 MEMORY MAP cea AAA AAA AAA AA AAA ASS 109 TIT BINOY IMPUS S PACA a 109 TOR LILY QUEDUESS AC o a 113 102953 ANGIOG IPU SOC A AAA a he
14. A one one eee n ee 80 6 10 SIGNABIEVELS OR EDESA A US ONES 80 611 FILLING AND MODIFYING PROGRAM TABLE ii A A A AA A AS 80 6 12 DOWNLODING THE PROGRAM ccsccscosccvscersasscsccsrsuusasccscceccespersuseascesceaueasccsccescersensaseesecssceacasccuscessersausascessouscerscsce senses 81 IS VERIFYING THE PROGRA Mini E rea ToOd 82 61 4 PROGRAM EXAMPLES riada Ad icibdoa 82 Oe CHIRON AR A O A taste osaceteeaneaetseate 82 614 DTS COMI aru AEE E IAEE AEO EE OEE ashe cena sedate AE O Livamuniceed teases cuesualsteen 82 pA oP E GENTA ON aeniea T TRS 83 6 1442 DUIMPS alternating A side 83 Bd PUMPS LOO GIS OCHO nirien sce asta socayrsa a do 85 6 14 6 CRECKING DIE VGIUCTN the TOS TV A A A lc 85 OLA RIOR ECO AUN AA A AAA A A ido 86 6 1438 MOON AC tec a tan 87 ATT MOTE PEO cas Ati 87 Te PROBLEM SOLVING tanta cosa 88 PL LE SIGNAL BING dis 88 PL LIN PUES OU TUES E OS ccna A daa alan A A A E A 89 A NS A ation eae wats eased tec ate E E andere ahaa E E EE E E E sane a ant E E 89 PAS GSM STOUSS dd AAA AS AAN AAA AAA AAA EA AA Asia 90 AE A O A nt aakconienesse fetane 91 ESA GSIVE SIGIVG SOV Chics sciacascs oe aoe cera a ee Sea eRe a aaa aa eI ata ta as 91 LAO Module Stal US ii iia 92 LL TENORIO a A A A A A E 93 ETA Stand AUG error da NS A a 94 ANO ETO Sara e 0 ECO ONO 95 TZ UNBLOCKING DESIERTA A AA AA 96 8 TECHNICAL DATA ou E a 96 SU GENERAL ida sons 96 3 2 MODEM GSM iio oi a 97 SO POWER SUPPIY tao 97 Oe BINARY INPUTS saldria iaa is 97 3
15. Data type number 36 Range 0Q 254 Default value 1 Comments setting Modbus ID to O zero makes access to module internal module resources impossible 5 2 5 2 Internal resources Modbus ID number Port 1 Function Defines Modbus ID number for internal resources of the module on Port 1 Data type number Range Q 254 Default value 1 Comments setting Modbus ID to O zero makes access to module internal resources impossible 5 2 5 3 Terminals Subgroup Terminals gathers all inputs and outputs Depending on type of accepted input they are binary and analog Final functionality of each input depends on settings and configuration parameters connected 5 2 5 3 1 Binary tnputs 11 18 Module MT 100 has eight identical Binary inputs Inputs can operate in one of three functional modes e standard binary input e counter input e analog input with conversion of frequency to analog value Each mode has a set of specific configuration parameters 5 2 5 3 1 1 Name Function Enables entering a friendly input name e g connected to the function performed The name is displayed on list of terminals Data type text Range letters and numerals max 16 characters Default value Name of resource 11 18 Comments Using friendly names facilitates recognition of destination and appropriate settings 5 2 5 3 1 2 Input type Function defines operating mode for inputs 11 18 Data type selection
16. Dead band threshold AN2 RDBD AN2 16 bit value Registers holding last received via GPRS status of remote module 10x0273 Remote module ID_ output space RMT ID OUTID____Q8 Q1_ Counter of sent SMS 0x0276 Counter of sent SMS CNT SMS 16 bit value Activity time counters on module s inputs 0x0281 32 bit activity time counter on input Q1 sI Llow16bits 0x0283 32 bit activity time counter on input Q2 sl Low 16 bits A PA A FA 32 bit activity time counter on input Q8 s ICNT ON Q8 High 16 bits 0x028F 32 bit activity time counter on input Q8 sI Low16bits 0x0290 32 bit activity time counter on input 11 s 0x0291 32 bit activity time counter on input 11 sI Low16bits FIN AA ag PODA Pee OxO29E 32 bit activity time counter on input 18 S ICNT ON 18 High 16 bits 0x029F 32 bit activity time counter on input 18 s l Low 16 bits Device status Mirror Ox03E4 Inputs space________________MT_IN 18 11 Q8 1Q1 Ox03E5_ Outputs space_________________ IMT_OUT o o Q8 Q1 copy of input register 0x0004 copy of input register 0x0005 Additional registers can be used e g for logger program see example in Programming chapter 0x0800 Additional registers 16 bit value fags aie MAA NEC Ox1FFF Additional registers 16 bit value Registers for module time modification for block writing only command 0x10 0x2705 RTC month 1 12 16 bit value 0x2706 RTC
17. M123 value of M123 flag H R80 H R81 value of 32 bit Register DREG1 memory map 16 bit activation of output Q1 R 0 255 setting Register R70 to value of 255 H R O FF setting Register R70 to value 255 R1000 2 faulty resource address replay Err R70 100000 faulty value reply R O Err FS R64 text coded in ASCII beginning in internal register which address is 64 decimally and ending in first following register with NULL sign 0x0000 An example of SMS composed by the user may look as follows Coolant temperature FAN1 or take other form consisting of fixed and variable content dependent on variable registers values Notice Valid syntax will be replaced in received SMS with current value of particular variable or else unchanged text will be returned One SMS may read several variables If length of received SMS text length of variables replacing mnemonics exceeds 160 characters along with time stamp and optional status the SMS will be truncated so that it ends with time stamp and optional status Syntax is not case sensitive e Addresses in commands should be in decimal notation e 32 bit Registers occupy two cells in 16 bit register space Access to 32 bit registers goes through 16 bit Registers Commands modifying internal resources values are executable only for received SMS e Upon reception of SMS starting with sign activates silent mode and no confirmation is sent to originato
18. X If get X gt get Y than store result get Y Search for max value in table The function scans the table beginning with register get X for length defined by register get Y The highest value found in search is written to store result register Both 16 and 32 bit registers can be searched If the value found exceeds the range of store result register the error flag is set Example 1 Table from XREG1 1 5 0 100 23 340 1 25 340 5 560 23 get X register XREG1 get Y register 10 store result register REG1 The result is REG1 340 Example 2 Table from DREG1 1 5 0 12000 23 340 1 25 340 5 65000 23 100000 65000 get X register DREG1 get Y register 12 store result register REG1 The result is REG1 65000 If register had the value of 13 for get Y the function would have returned REG1 value equal to 100000 Search for min value in table 75 76 The function scans the table beginning with register get X for length defined by register get Y The lowest value found in the search is written to store result register Both 16 and 32 bit registers can be searched If the value found exceeds the range of store result register the error flag is set Example 1 Table from XREG1 1 5 6 100 23 340 1 25 340 5 560 O get X register XREG1 get Y register 10 store result register REGI1 The result is REG1 Example 2 Table from DREG1 1 5 0 1
19. along with other reference parameters for rescaling input signal range to engineering units range number dei DOoso 65535 high reference point for internal units High reference engineering units used along with other reference parameters for rescaling input signal range to engineering units range number 1 65535 2000 high reference point for engineering units Alarm HiHi Defines HiHi alarm level in engineering units for analog input signal number Q 65535 engineering units 0 engineering units 39 40 Comments Sets A HiHi flag used for rules processing The level of reset for this flag depends on Alarm hysteresis value 5 2 5 3 1 2 2 7 Alarm Hi Function Data type Range Default value Comments Defines Hi alarm level in engineering units for analog input signal number 0 65535 engineering units O engineering units Sets A Hi flag used for rules processing The reset level for this flag depends on Alarm hysteresis value 5 2 5 3 1 2 2 8 Alarm Lo Function Data type Range Default value Comments Defines Lo alarm level in engineering units for analog input signal number 0 65535 engineering units O engineering units Sets An Lo flag used for rules processing The reset level for this flag depends on Alarm hysteresis value 5 2 5 3 1 2 2 9 Alarm LoLo Function Data type Range Default value Comments 5
20. are to be transmitted but would be extremely expensive in real time monitoring since it occupies the channel all of the time 10 1 3 GPRS General Packet Radio Services a technology of transmitting data as addressed digital packets Seen from user s point of view it is identical to Internet technology The technology uses packet data protocols particularly UDP IP and TCP IP This technology is radically different from technologies employed by standard modems using GSM CSD commuted mode The main difference is the inability to transmit the stream of data directly in traditional serial protocols For transmission by GSM GPRS modem it is necessary to package data in frames compatible with employed protocol All procedures necessary for login to GPRS have to be completed so connecting GSM GPRS modem to the data source operating in serial protocol MODBUS PPI SNP M Bus incompatible with packet transmission specification is impossible even if it has a serial interface After completing login sequence we have a connection equal to virtual wired connection available all of the time 101 10 10 1 3 1 Advantages of GPRS technology The absolutely greatest advantage of GPRS technology is the possibility for maintaining a permanent connection with the network while paying only for the volume of transmitted data with no charge for maintaining the connection This makes establishing of on line services for minimal expense
21. bit counter with capacity of 2 147 483 647 31 bits counting direction bit events The counter can count up or down and the range can be freely defined in range of 1 to 2 147 483 647 Counting up means that the counter value is increased by 1 for each detected pulse and after reaching the value set as counter length 1 is reset to 0 Counting down diminishes the counter value by 1 for each detected pulse and after reaching the value set as counter length 1 is reset to 0 to resume the value of defined maximum Crossing the value of counter length sets Counter alarm flag for respective input The flag can be used in the internal controlling program or for triggering transmission on event 11 3 3 5 Logger MT 100 Telemetry Module is equipped with internal Recorder storing state changes on binary inputs outputs and on analog inputs The Recorder has a volume of 140 data records New records are written to memory after change of state on binary inputs outputs or at crossing of dead band defined for analog inputs Records are stamped with time stamp from module internal real time clock RTC It is recommended to set module RTC compliant to UTC for preserving data integrity Data written in the recorder is transmitted accordingly to configured options to defined IP address Confirmation of reception removes records from the recorder NOTICE The recorder function is available only in GPRS mode 3 3 6 MT2MT buffer
22. causes a list of available functions to drop down However the function can also be selected from standard functions grouped around the numerical keypad from the list placed above the numerical keypad or by entering the name of the function manually In case of manual entering a warning message will appear if the name entered manually is not identical to one of the available functions For the columns Take X or Take Y double clicking with the left mouse button unfolds a box with a list of variables which may be used as arguments of the function selected earlier These will be either arithmetic or logical variables The same discrimination will be visible on the numerical keypad in the right side of the window In case of logical variables only the O and 1 buttons will be active Of course the names of variables or values can be entered from the computer keyboard If the function can only accept one argument it will be impossible to select and enter a second one The Store result column is filled out in a similar way A list of modifiable variables drops down after double clicking on the column with left mouse button Logical and analog inputs will not be displayed The type of variables is correlated with the previously selected function The optional selection in the If error column is limited to logical variables whose modification is possible Manipulation of program rows is possible after activating cont
23. eliminates disturbance caused by contact bounce thus preventing multiple registration of what is in reality one pulse 5 2 5 3 2 2 2 Analog inputs Function Data type Range Default value Comments Defines filter filtering constant number 0 0 25 5 s 0 for 0 zero value filtering is off Setting high time value influences stabilizing of result after signal value change but allows better precision of measuring noisy signal It is recommended to set filtering constant to values 6 4 and higher to provide satisfying precision of measurements Assuming that measured value will raise from minimum to maximum value unit step value from measurement will achieve X of real value within time specified by table Time of measurement Percent of real value 1 filtering constant 63 2 2 filtering constants 30 5 3 filtering constants 95 0 4 filtering constants 98 2 5 filtering constants 99 3 5 2 5 3 2 2 2 1 Engineering units Function Data type Range Default value Comments Defines a name for engineering units text letters and numerals max 16 characters X inserted text does not have any influence on the value of measured analog signal 5 2 5 3 2 2 2 2 Low reference internal units Function Data type Range Default value Comments used along with other reference parameters for rescaling input signal range to engineering units range number 0 65535 0 low reference point for internal units 5
24. emptied upon buffer filling Note that in timed flushing frames are sent only when buffer has at least 1 record 51 5 2 5 6 5 Recipient IP address 5 2 5 7 MT2MT Buffer Function Data type Range Default value Comments defines IP address of device to send Datalogger buffer to selection list friendly names of IP of devices declared as Authorized to communicate with module IP1 first number on the list of authorized numbers since IP address of recipient is selected from list of friendly names assigning unambiguous unique descriptive names is beneficial MT2MT Buffer enables creation of system where modules may exchange information internal registers with each other Using buffer requires activation and defining register Space where exchange is going to take place More in chapter Internal Resources MT2MT Buffer 5 2 5 7 1 Active 5 2 5 7 2 Buffer address Function Data type Range Default value Comments Function Data type Range Default value Comments 5 2 5 7 3 Buffer size 52 Function Data type Range Default value Comments defines state of employing MT2MT Buffer selection list Yes MT2MT Buffer active No MT2MT Buffer inactive No n a Defines start address of internal register space used for events reception number 0 8191 64 received events registers laying outside defined space are not copied Defines the size of internal regi
25. functions comparing arithmetical values ER Next 2 buttons represent assignment of arithmetical and logical values L JO Right column of numerical keyboard represent 4 standard arithmetical operations HUE 6 6 Numeric keyboard 68 Numerical keyboard has all keys active only when selected function allows arithmetic input 7 jis JLo 4 JL 5 JLo EE FEFE If selected function allows only logical input only keys 0 and 1 meaning respectively False Never and True Always When selected function does not allow numerical input the keyboard is grayed out inactive 6 7 Auxiliary functions Some modules types and versions may implement auxiliary functions Access to these functions is possible via the drop down menu just above numerical keyboard O a LO EJ Ly Enter copy Read value from table Verte value into table Difference between r and Y Copy bigger value Copy lower value search for max value in table search for trin value in table werarch for value in table Convert text into number Convert number into text Detailed description of standard and auxiliary functions is located at chapter Description of program functions 6 8 Description of Program functions Boolean AND X Y store result bit store result bit 69 70 Boolean XOR X Y store result Boolean NOT X get X get Y store result bit bit Is X greater than Y get X get Y store result register reg
26. ip header_receiver 010 004 006 002 ip header_sender 255 255 255 255 timeout 10 retries 4 add_crc true csv_msg_log true debug false enable true gt lt modbus name id13 id 13 type registers address 0 size 5 interval 25 debug false enable true gt lt modbus name id13 id 13 type binary_ inputs address 8 size 8 interval 25 debug false enable true gt lt modbus name id13 id 13 type binary_outputs address 0 size 8 interval 25 debug false enable true gt lt network gt lt Opc gt lt ip header_receiver 010 004 006 002 remote device serial number gt lt ip header_sender 255 255 255 255 MTDataProvider identifier gt 105 10 5 Data formats MT 100 module gives the user a choice of data frame format e Standard standard operating mode The units communicate directly with each other in the APN using static IP addresses allocated permanently to used SIM cards In this mode IP addresses of communicating modules are written into authorized units lists e Open The only difference from Standard is lack of frame protection and opened header format of UDP frame allowing the user to create his own user access system UDP data frame format port 7110 Data block 4 bytes OOH Frame identifier 16 bit Data block size in bytes Data marker 2 bytes H L 2 bytes H L 1 Frame identifier is used for data flow control f e elimination of repeated fram
27. le menu item File Function Red 5 menu item File Function Write El menu item Module Function Select Lel menu item Module Function Connect Disconnect a menu item Module Function Read program N menu item Module Function Write program menu item Module Function Write and block reading E menu item Help Function Transmission IN menu item Help Function Settings menu item File Function Exit 6 4 Program editor table The table has six columns Each column has specific role assigned to be performed by the command interpreter if execute get get store set if expression X Y result error ela a aja pa a lo es o Ra a Fa Plea fe If defines the condition for the table row to be executed If not met the line will be skipped Execute expression defines the function to be performed Get X holds the first argument of interpreted function Get Y holds the second argument of interpreted function Store Result points to where to store the result of the function Set if error holds the optional flag to be set if the function fails due to e g division by zero or overflow 67 6 5 Standard functions Most commonly used functions are grouped with numeric keyboard on the right side of the main window lol E cs ec 7 Js lo JU LajL2jJi3 JL KE Top button row groups 4 logical operations of true false type Next group represents 6
28. paz fere pis feo papa es Pza Program flags enabling rule based data 0x0048 transmission on event VREG_BO4 0x0050 BU80 A UR General purpose user fags OS 0x0058 BU88 BU89 BU9O a ses a Ta o General purpose user fags 0x0038 PS1_stop MLOG_act GPRS_data MLOG rd a tee Ox00FO BU240 BU241 BU242 BU243 BU244 BU245 BU246 BU247 General purpose user fags VREG BO OxO0F8 BU248 BU249 BU250 BU251 BU252 BU253 BU254 BU255 General purpose user fags 5 ZE po A was o gt e Te e o TA 113 10 114 9 3 Analog inputs space Input Registers 16 bit command 04H Symbol 0x0000 analog input AN1 converter directly after averaging 0x0001 analog input AN2 converter directly after averaging analog input AN1 calibrated value in range 4 20 mA 16 bit value 0x0002 16 bit value analog input AN2 calibrated value in range 4 20 mA 16 bit value 0x0003 16 bit value Number of sent bytes for GPRS since power up 32 bit unsigned value oie Number of received bytes for GPRS since power up 32 bit ih 16 bit a unsigned value low low 16 bit low 16 bit Converter F U 0 2kHz Pin Q3 engineering units Converter F U 0 2kHz Pin Q5 engineering units Converter F U 0 2kHz Pin Q6 engineering units Converter F U 0 2kHz Pin Q7 engineering units Converter F U 0 2kHz Pin Q8 engineering units 0x0029 Converter F U 0 2kHz Pin 11 engineering units 0x002A Converter F U
29. propram editor File Edit Module Help i tie a Select o write program x Y result 0 REG o F Y write and disable read RTC Sec REC RTC Sec REGA gi RTC Sec REG2 SH LE BW Buffer copy AREG AREGA copy 2 value ANI AREG Module dissconnected ala Come imbentia and after connecting to the module with internal program running Notice the green dot in lower left corner of the status bar MT program editor File Edit Module Help 14 i Select eg Read program store A Write program o a Write and disable read 104 102 el tadas RTC Sec RTC Sec RTC Day RTC Mon Delete ANI poe PDE JOE b C L Program is running ala Come in erties 63 64 e Function Select Presents the list of defined modules for selection of the desired module The list has the option of selecting transmission mode via either RS232 cable or wireless GPRS connection using the module s IP address MT module selection bb ala Osowiec PS 20060405 Mew module Jedlicze F01 B Nowy modal k5221 MT 101 KEN module 1 W aa eo MiT 101 PLC13_JOZEFIAKA 172 29 102 51 module module IP type name address 11 The table shows data written in system registers by MTManager application MTProg application can only access modules previously defined and configured in active Project by MTManager The icon on the toolbar performs same function e Function Read program Reads the content of modul
30. purposes Exit The function ends the program execution for a particular cycle Bit test This function verifies whether at least one bit in get X register is set according to mask defined by get Y register If confirmed the function returns value 1 in store result column else O Example hexadecimal binary get X register 04D2 0000 0100 1101 0010 value get Y register 1820 0001 1000 0010 0000 mask store result bit 0 0 get X register 04F2 0000 0100 1111 0010 value get Y register 1820 0001 1000 0010 0000 mask store result bit 1 1 Mask test This function verifies whether all bits in get X register defined in mask get Y are set If confirmed the function returns value 1 in store result column else 0 Example hexadecimal binary get X register 04D2 0000 0100 1101 0010 value get Y register 1820 0001 1000 1110 0010 mask store result bit 0 0 get X register 04F2 0001 1100 1111 0010 value get Y register 1820 0001 1000 1110 0010 mask store result bit 1 1 Buffer copy This function copies value of source buffer starting at register get X to destination buffer defined in store result The length of copied buffer depends on the value in get Y register The function stops when buffer length value is negative writing attempted beyond the buffer space Copied value exceeds allowed value of destination buffer For instance an attempt to copy 1 from
31. text Function allows entering text sent in message triggered by defined rule Data type text Range letters numerals special characters max length 160 characters Default value Comments If the message will include the status of the module total length of SMS text and the status may not exceed 160 characters If the length is greater the text will be truncated so that full status is sent 5 2 6 1 2 4 Recipient number Function selects message recipient number Data type selection list Range friendly names of recipients associated with phone numbers in Authorized numbers 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 5 2 6 1 2 5 Sending additional information Function selects whether module status is to be attached to the message Data type List Range Status and timestamp Status and timestamp attached to SMS Timestamp Timestamp attached to SMS None Only SMS text is send Default value Status and timestamp Comments Total length of SMS text and additional information may not exceed 160 characters If the length is greater the text defined by user will be truncated so that additional information will be sent 5 2 6 2 Data sending List of SMS sending rules can hold max 32 entries defining data transmission conditions A
32. the PUK code In order to prevent this the module controls the number of failed attempts written into SIM card by allowing only two attempts making a third attempt impossible even if the third attempt was correct A double unsuccessful attempt is perceived as a fault requiring user intervention An attempt to unlock the module may be performed only when the right PIN code is known Necessary procedure turn the power supply off e remove SIM card from the module e insert SIM to ordinary mobile phone accepting cards from the operator that issued actual SIM e start the phone and enter proper PIN code e if not accomplished before start the module insert appropriate PIN into configuration power the module off e remove the SIM from the phone and place it in the module start the module The described procedure reset SIM card s fault counter and allow using the card in MT 100 module In older versions of GSM modems without implemented protection procedures the SIM card may get blocked after 3 failed attempts and the only method of unblocking it is to supply the right PUK code Unfortunately this cannot be performed in the MT 100 module The PUK code may by inserted only after taking the SIM card out of MT 100 module and placing it in a standard GSM mobile phone The phone will demand entering of PUK code at power up Entering correct PUK code unblocks the card and resets PIN fault counter making the card operational Technical data
33. to log in to select APN This mode requires SIM cards with enabled GPRS access No The Module works in GSM mode The only way of remote communication is SMS messaging In this mode pre paid type SIM cards with no GPRS work without problems Default value Yes Comments n a 5 2 2 9 Use of SMS Function defines working sub mode of module operating in GPRS Data type selection list Range Yes Module operating in GPRS mode has SMS services active As a result the GPRS session is suspended every 12 min and the module checks for incoming text messages Event triggered SMS transmission is instantaneous No Module operates in GPRS mode and SMS services are inactive Default value Yes Comments This parameter is available only in GPRS mode Setting this parameter to No may result in filling the SIM card with received messages that are not processed by internal logic 5 2 2 10 Monthly SMS limit Function Defines maximum amount of SMS messages module may send during 1 month in order to prevent uncontrolled number of sent messages thus saving on running expenses Setting the parameter to O removes the limit Data type number Range 0 65 535 Default value 0 Comments This parameter is available in no GPRS and in GPRS mode with Yes option for use SMS chosen CAUTION Reaching the limit set by this parameter results in unconditional without warning stop of SMS sending Note that no SMS will be sent unti
34. unavailable in that operating mode 10 6 Format of module Status 106 Status frame of MT 100 module is a sequence of four 16 bit registers from internal registers space read command 03H write 06H or 10H 0x03E5 Outputs space__________________ MT OUTP O Q8 Q1 Ox03E6 Input AN1 copy of input register 0x0004 MT AN1 16 bit value 0x03E7 Input AN2 copy of input register 0x0005 MT AN2 16 bit value A call upon this coherent area in memory gives optimal access to all physical inputs outputs of MT 100 This information about modules I O resources is used when sending SMS with status information defined by sending additional information parameter It should be noticed that SMS text length including device s status and time stamp should not exceed 160 characters If overall SMS text length exceeds this value module will truncate SMS text typed by user to send complete timestamp and status lt message text gt lt module status gt lt time stamp gt where status Is 11 18 01101011 Q1 Q8 01101011 AN1 143 AN2 1780 Binary values are represented bitwise Analog values are represented in engineering units 10 7 Trigger inputs During operation the internal system of MT 100 module creates a number of variables related to its inputs outputs and to module diagnostics Triggering inputs and triggering flags in conjunction with rules processing enable instantaneous reaction in occurring states User has access to f
35. year 2000 2099 16 bit value 0x2707 RTC Dit negation 1 RTC registers sum 16 bievalue preventing unintended time modification 118 119
36. 2000 23 340 get X register DREG1 get Y register store result register 1 4 REG1 The result is since REG1 cannot hold the value of 12000 Search for value in table The function scans the table buffer starting with register get X searching for value defined in get Y register The table is searched for first occurrence of searched value or to the end of the memory space If the value is found the function returns an index to the register Indices are calculated from 0 If not found the function sets an error flag NOTICE The function can search tables of 32 bit registers though one has to be aware that index returned is a 32 table index and not equal to the offset in the address space as is the case for 16 bit tables Example 1 Table from XREG1 1 5 0 100 23 340 1 100 340 5 560 23 get X register XREG1 get Y register 100 store result register REG1 The result is REG1 3 Example 2 Table from DREG1 1 5 O 12000 23 340 1 100 get X register DREG2 get Y register DREG1 store result register REGI1 The result is REG1 5 Convert text to number The function converts decimal value from text to binary Get X defines start of the text buffer to convert Text characters are written to low order bytes of 16 bit registers Get Y defines max number of characters registers to convert The function after successful conversion writes the result in store result registe
37. 32 bit register to 16 bit register Example 73 74 get X register XREG10 get Y register REG1 store result register DREG2 If REG1 4 to function copies 4 values DREG5 XREG13 DREG4 XREG12 DREG3 XREG11 DREG2 XREG10 CAUTION The function starts copying from the last buffer register and ends at the first register It creates an easy way to create a logger keeping the history of selected resources in internal registers In section Examples of programs a Logger program illustrates using this function Copy block quickly The function copies data among blocks in internal registers space Following parameters are used register get X source block address register get Y block size register store result destination block address Destination and source block may overlap When block size exceeds the size of internal register space the data is not copied and the function rises an error flag Example REG1 0x60 REG2 0x100 REG3 0x600 get X register REGI1 get Y register REG2 store result register REG3 The function copies data from source block 0x060 0x15F XREG1 XREG256 to destination block 0x600 0x6FF P2SND_B1 P2SND_B256 Read value from table This function takes the numerical value from table starting with get X register The value from table cell defined by index register get Y is copied to store result register Table cells are indexed from 0 stor
38. 4 J16 bit value 16 bit Program register unsigned value REG5 J16 bitvalue REG6 l6bitvalue 16 bit Program register unsigned value REG7 J16 bitvalue 16 bit Program register unsigned value REG8 J16 bit value 16 bit Program register unsigned value 16 bit Program register unsigned value 16 bit Program register unsigned value 16 bit Program register unsigned value 0x004F_ 16 bit Program register unsigned value REG16 16 bit value 0x0050 DrEG1 Hiah 16 bits 0x0051 32 bit Program register signed value DREG1 Low 16 bits w 16 bit Program register unsigned value a 16 bit Program register unsigned value Ox 003B 003C 003D 003E 003F 0040 0041 0042 0043 0044 0045 0046 0047 0048 0049 004A 004B 004C 004D 004E 004F 025F w 0x005C prec High 16 bits 0x005D 32 bit Program register signed value DREG7 Low 16 bits Ox005E precs High 16 bits Ox005E 32 bit Program register signed value DREG8 Low 16 bits 0x0060 16 bit Program register unsigned value XREG1 16 bit value FE FAA ee CI 16 bit Program register unsigned value XREG512 16 bit value 0x0260 Dead band threshold AQ1 RDBD AQ1 116 bit value A Ni aie ee NN 0x0267 Dead band threshold AQ8 RDBD AQ8 6 bit value 0x0268 Dead band threshold Al1 RDBD All 6 bit value E 11 N 0x026F Dead band threshold Al8 RDBD Al8 16 bit value 0x0270 Dead band threshold AN1 RDBD AN1 16 bit value 0x0271
39. 7_Dbd AQ8_Dbd for frequency analog inputs AQ1 AQ8 VREG_BI9 Dead band cross over bits gt 0x0098 All Dbd Al2_Dbd Al3_Dbd Al4_Dbd Al5_Dbd Al6_Dbd Al7_Dbd Al8_Dbd for frequency analog inputs Al1 Al8 TT e E E E E E E O ak O O O O O m1 per lee ee ee eee la Fo o 0x02D0 EPEE TT modification with values O x0320 received with unsolicited 0x0328 MT2MT_113 MT2MT_114 MT2MT_115 MT2MT_116 MT2MT_117 MT2MT_118 MT2MT_119 MT2MT_120 Messages The bit ARIAS o IES o A a 0x0340 in the module s ae 0x0348 MT2MT_ 145 MT2MT_ 146 MT2MT 147 MT2MT_ 148 MT2MT_ 149 MT2MT_150 MT2MT_ 151 MT2MT_ 152 configuration thus x0350 MT2MT_153 MT2MT_154 MT2MT_155 MT2MT_156 MT2MT_157 MT2MT_158 MT2MT_159 MT2MT_160 referring to the sending 0 VREG_BI53 0x0358 MT2MT 161 MT2MT 162 MT2MT 163 MT2MT 164 MT2MT 165 MT2MT_166 MT2MT 167 MT2MT_ 168 Module s IP address Bits 0x0360 MT2MT_169 MT2MT_170 MT2MT_171 MT2MT_172 MT2MT_173 MT2MT_174 MT2MT 175 MT2MT 176 a RUTERE aea 0x0368 MT2MT_177 MT2MT_178 MT2MT_179 MT2MT_180 MT2MT 181 MT2MT_182 MT2MT 183 MT2MT 184 0x0370 MT2MT_185 MT2MT_186 MT2MT 187 MT2MT_188 MT2MT_189 MT2MT_190 MT2MT_191 MT2MT_192 VREG_BI55 0x0378 Wares MIRE 0x0388 MT2MT_209 MT2MT_210 MT2MT_211 MT2MT_212 MT2MT_213 MT2MT_214 MT2MT 215 MT2MT_216 E VREG_BI57 Ox03A0 MT2MT_233 MT2MT 234 MT2MT 235 MT2MT_236 MT2MT_237 M
40. Bit copy The function copies selected bits from a register get X to register store result Only bits from positions where there are values of 1 in register get Y Other bits remain intact Example decimal hexadecimal binary get X register 1039 040F 0000 0100 0000 1111 get Y register 4915 1333 0001 0011 0011 0011 store result 3925 0F55 0000 1111 0101 0101 register before operation store result 3143 0C47 0000 1100 0100 0111 register after operation This function is very handy when copying values between register space and bit addressed memory space Virtual registers from bit addressed memory spaces VREG_Blx binary inputs and VREG_BO binary outputs enable access from functions operating on registers to bit variables Virtual register mapping is sequential first register holds first 16 bits the next following 16 and so on For example wees Biofign hoz hos hoa fos hos hor ios VREG_BO Q1 Q2 Q3 Q5 Q7 0 1 CECI FUMA 2 iia ida is it Cid VREG_BO P1 P2 P3 P5 P7 0 VREG_BO CLK_C1 CLK_C2 CLK_C3 CLK_C4 CLK_C5 CLK_C6 CLK_C7 CLK_C8 1 NOP No operation performed Goto The function jumps to specified in parameter get X location program line CAUTION The number of instructions carried out in one program cycle is limited to 2000 Upon reaching limit the execution stops Next cycle starts from line number 0 Reaching the limit is signaled by ERR LED for diagnostic
41. C A as 32 SA O AGS pa A PP DUE NO o ER E 32 iz GPRS TESNE Pa AAA AAA AA AAA 32 525 42 NUMBER OF OEI TES sivsvacninvavedednves tri Bei Ni ii NN Ed 33 52 3 13 Walbtimea ter dis connect aa 33 523 1d Data tame to Matan dd E 33 D2 Sok PON SEI EPR ii A AAA AAA 34 23 107 CRC COMP ALONE nio ro 34 523 UD DOE Gaba sra 34 S2 NDS lo dio US A O Po O A 34 2h INUMDER OF phone MUO GUS aia AS 35 2 di2 Number or IP TAU CUS sca a AAA AA aneeeectbaees 35 O A A passe uecanoeauaseancauaerwenseeaneseanaeuetermene raion 35 APAA EN 36 LO MC SOULCE oda 36 5 2 5 1 Internal resources Modbus ID number GPRS siii aeatass 36 5 2 5 2 Internal resources Modbus ID number Port 1 ceeccccccccsesseccceceeeeeeesececceeeeeeeeccceeseeeaeeseeceeeeeaegeeeeeeeeeuagseeeeeeeeeeas 37 SP Roto al agate meen eee ne eee atta ORE A PERT An RERUN ERT E A Ca arate er eae aE neo ae ee een ne ene 37 52 0 dde Binary INPUES TL AS EA AA EA EEE ETE 37 A L AN AIMS seta cepa tc tatters a E begets eae esos vane oa ea eine omen see A AA 37 AS lA e uce A T E T E 37 SAna E2 BINARY MOU o PU 0 ON 38 2 RAL FENNE CONSTE a 38 PARREZ LANIE INOUE erene r E A E RRN 38 2 dz 2 e ENCON o ae ees tas 38 52 d 22 2 LOW references internal UN ais 39 5253 12 23 LOW referente engineering UNS ii oda 39 5253 122A HIM Treterences Nte LUNES aia A eters essere cad 39 zoo iden Treterence s engineer UNES rr deste epesaanstodestesceea aria ges abuemeava AEAT 39 Ae L2 A A VAI Fl ea A A A nee anaes 39
42. E Er ET E F E to To weak GSM signal may render log in impossible 22 5 Configuration 5 1 General informations The configuration of MT 100 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 very 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 NOTICE Availability of different functions and parameters depends on module s firmware version and the settings of parameters they may be dependent on 5 2 Parameter groups For clarity and ease of use the operating parameters of MT 100 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 GPRS group contains necessary parameters to log in to GPRS network and defines parameters vital for transmission reliability Authorized
43. FF 0 3V 3V Frequency range in analog mode 0 2kHz Min pulse length 1 5ms 97 8 5 Binary outputs Q1 Q8 Operating as binary output Recommended mean current for single 50mA output Single output current 350mA max Mean current for all outputs 400mA max Voltage drop for 350mA Operating as binary input counter Input voltage range O 36V Input resistance 5 4 KQ Input voltage OFF 0 lt 3V max Frequency range in analog mode 0 2kHz Min pulse length 1 8 6 Analog inputs Al A2 98 Dynamic input impedance 250 typ A D converter 10 bits 8 7 Drawings and dimensions 105 99 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 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 Re
44. False T copy boolean X False T copy boolean X False Module dissconnected ala Comi 6 14 6 Checking bit value in the registry In case of MT 10X to MT 10X communication cascade communication system it is necessary to test values of receiving module registers holding status received last via GPRS from sending module MTProg recognizes it as RMT_IN input space RMT_ID_OUT sender s ID output space RMT_AN1 and RMT_AN2 input AN1 respectively AN2 As the result the value of binary input 11 at sending module will be mirrored by receiving module s binary output Q1 Line O copies the bit 9 of RMT_IN into REG1 Line 1 compares REG1 to 256 value of bit 9 and sets Q1 accordingly to the actual value 85 MT propram editor File Edit Module Help Beeb Janr UN E execute ge store expression result bitwise AND RMIT IM 236 is egual to Y FEGI 256 E os ER HUGE BW Module dissconnected ala Comi intentia The same effect can be obtained in more elegant way employing function Bit test lt 2 MT program editor File Edit Module Help Den Jaan AKA E execute store expression result Bit test AM WILE aad WWE b Ea C Module dissconnected ala Com in entia 6 14 7 Alarm with confirmation The program generates cyclic transmission of SMS messages until 15 declared as alarm confirmation is activated or the alarm condition ceases 11 0 When binary input 11 is activated o
45. Function This parameter sets CRC calculation for systems requiring full Modbus RTU compatibility Data type selection list Range Yes For compatibility of Modbus RTU Slave mode Modbus RTU Master mode and Modbus RTU Mirror mode with remaining modes enabling the creation of systems consisting of modules working in transparent modes and Modbus RTU modes This mode ensures compatibility with MT DP communication software No for maintaining compatibility when expanding existent systems operating in MODBUS modes or cooperating with old versions of OPC driver Default value Yes Comments in new systems it is recommended to leave the option at default value Yes 5 2 3 17 UDP port data Function Defines number of UDP port used for data transmission excluding configuration data frames Configuration data frames are send on the same port which was used to write or read configuration Data type number Range 1024 65535 Default value 7110 Comments 5 2 4 Authorized numbers This group holds lists of telephone numbers and IP addresses authorized to communicate with the Module 34 Lists form the basis for assignment of privileges for configuring receiving data and sending commands Numbers on lists are the only ones allowed to be used for Rules processing 5 2 4 1 Number of phone numbers Function Data type Range Default value Comments Defines length of phone number list that will receive SMS mess
46. LE E E E E E T T 46 SA A O peratine MOUE iniciara 47 A e Se MILLEN COM e AR A N O O rA E Earran A EIRT 47 O EN ICE CLS a iS A A toa mas EAER 47 529 339 LOW A A O NEE A E A E 47 5 2930 LOW reterence ENEINGEFING UNS E 48 522 92917 IBN reterence internal UNS Niania aA cian 48 52 9 5 5 05 High TETEreEnCe engineerine UNITS aia ai AAA 48 LS AA ai iS EAN A 48 A RE 48 A A E A E E a ea sandy daveb aaa aa enw Wi onal atc deacons Cantatore 49 D2 NS fe 0 reams teas O sora aca Cae dient ieee T sean cane eo nee 49 B22 A AMES COM ESIS ca sscutsia PP A O 49 zi 3 1d DOA DANG O IN AAA AS AAA A 49 TS AS MEN TONOUS COCKS rada 49 Si CIO CS EMRI TMIR Zi ia 49 SRAL Pet Od IPPO o0 gen R PU Un E o E naar OEE 50 SAR NC OMOUS OE Si A ita 50 SA O a EE A E ane 50 DL dd aaa 50 AS A A A A O 50 o AAA O O IO IN A II O A E EN 50 iz AC A A A A AAA A A A ears 50 SADA AMO MAI A A A AAA AAA ADA A AAA A 51 DASG DU eE US MO 51 5 25 64 B ffer fl sh interval ororena rec Fw sca rey Te PVE ts ee PE VRS CEC ry ee Caer ep eer ce 51 572 5 67 5 RECIPIONL PPAGOFESS aa o 52 Big oe A A A A E OT 52 SN EAC UN erari lea A A O A A A aada 52 52 92r DU Ae ilatina 52 5 25 DUES AOS AAA AENA Aa 52 3 2 or CONSAN Parametros iudoa 53 5220 Okt NUDE OF parameter rossi dar a A E ii 53 IES OR Parameter A A veneduetabenbenoancnasttanaiusdaukeadectelcaaGeencaenmneosees 53 5 26 RUES ic acre Sn a ac Basher de aE E Dt lca 53 2 Ov es IMSS NI a AA AA A A A 53 ZAG LL Number ors MS sendi
47. SA POS AL 2 al PCR ER E ro E O LT 40 SFP es Pe ad IA A A Tenet rca TE N T am VRE Cts am eT Ce CT eer ERT OTe en Toe 40 AS DN Biker NE LOU Of A e nn OR ease 40 ES A NON EN A TA 40 525 3 JA Dag DE ACD o A ROO 40 DL Zi COUN ETNO Tanna ais erin scenes A A IA ere ee 41 Bi 2 0 2 COURTING direction AA AAA A ES 41 PE ME AS O 41 AS A A satraiid sa Sake nc aca te Panes daca eau apamned saa ANANA 41 SAE A A a a S NA 41 LO BNV OUES UI AO A AA A 42 ES A AZ O SEE RR R 42 232 2 Peace MOS A tl 42 A A O AS 42 iz 22d AO MUS A A E da 43 5293 2 22 Lo EMS MEC UNE UNITS AAA AA 43 5 2 5 3 2 2 2 2 LOW reference internal UN iaa deaseporiidedemnatansidedened dnbsunerildadunes iidida 43 5 2 5 51212 2225 LOW reference engineering Nits id As 43 5 253 22 2A HIS hETerence Intend UNES ina 44 5 2 5 3 2 2 2 0 HIgh reference ENBIMEEM INS UNITS do 44 PPAS A A 44 AS OR E A IU PO A eo 44 AS RS ee ONE A A O 44 O ao PORO Ed ay dag ale a PCC un E RR O 45 2 AAN NP ubsnewikedasdore suabben tate ive culdiaen ved eap tau Muse metas 45 Be Pa NO Lo o ANC A PMPn_ PI atone 45 Dee A O O O 45 BZ Ste Ol COUNUING ATEC ON cuian a A alens A een 45 520 el 2 Se COUNUING FINE an vegans ecrdasctv nteGancede A cv onds etl estaweatedethenuaehancn us beseincesuomeces 46 Dips IATA Ds Y id AA O O ENEN AA AAE 46 S2 22 30d Fene const tiara A AAA 46 525 3 22A BNI VOUDUS a SES ES 46 5A 9 Analog NPU ANT ANZ zonrn EE E E EE E AE EE 46 EIAs Ao LN AOS A A A E A E E A A E
48. T2MT 238 MT2MT_239 MT2MT_240 VREG BI58 0x03A8 MT2MT_241 MT2MT_242 MT2MT_243 MT2MT_244 MT2MT_245 MT2MT_246 MT2MT_247 MT2MT_248 0x03B0 MT2MT_249 MT2MT_250 MT2MT_251 MT2MT_ 252 MT2MT_ 253 MT2MT 254 MT2MT_255 MT2MT_ 256 VREG_BI59 E E E TT N FS2_new informs on downloading of new program This flag is reset at every program stop or power up 0x03B8 FS2_apn FS2 new FS2_ stop dee teat EIR This flag is reset only on power up or download of new program FS2_apn 1 reflects APN login state O logged out 10 9 2 Binary outputs space Binary outputs bit addressable command read 01 write 05 or OF Registers 0x0008 S ps Program flags enabling rule based data oxoo10 po Pro Pada pia pia p15 P16__ transmission on event vaes eor VREG_BO1 0x0018 CLK_C1 CLK_C2 CLK_C3 CLK_C4 CLK C5 CLK_C6 CLK_C7 CLK_C8 Counting inputs C1 C8 raising edge 0x0020 rsTc1 RST_ C2 RST C3 RST c4 Rst c5 RSTIC6 RST_C7 RST_C8 as ha Cee See ae encore VREG_ BO2 0x0028 EN Tl EN T2 EN T3 EN 1T4 EN 15 EN T6 EN T7 JEN_T8 Strobe inputs for timers T1 T8 active state 1 0x0030 RST_T1 RST_T2 RST_T3 RST T4 RST_T5 RST _T6 RST _T7 RST_T8 Reset inputs for timers T1 T8 active state 1 PS1_ stop 1 Program stop MLOG act 1 activate MiniLogger VREG BO3 GPRS_ data bit set at every reception of a g data frame via GPRS MLOG_ rd 1 force MiniLogger readout reset after readout oxo0a0
49. a the serial port or remotely via GPRS network Basic features of MT 100 module e compact design e rich set of integral I O e local measurements logging e possibility of implementation user written programs up to 100 lines of code e possibility of sending unsolicited messages on user defined events We encourage getting acquainted with the modules configuration and modes of operation along with examples of application in different configurations described in appendices 2 GSM requirements For proper operation the module needs a SIM card supplied by a GSM operator providing GPRS and or SMS services The GPRS enabled SIM card has to be registered in the APN with static IP addressing The unique IP address of the SIM card is identification for the module within the APN This enables module to module and module to server communication within the APN structure A good and strong GSM signal in the place where the module antenna is located is imperative for the proper function of the module Using the module in places where the signal is weak may lead to interruptions in transmission and possible loss of transmitted data along with increased costs generated by transmission retries 3 Module design 3 1 Topography Detachable 8 binary input output terminal blocks counter frequency input positive logic GSM signal strength LED indicators Input output state LED indicators GPRS logon LEG indicator SMA soc
50. ages Each phone number has defined privileges for SMS querying number 0 32 1 The range value defines required volume of phone numbers used in SMS Rules processing See more in Phone 5 2 4 2 Number of IP numbers Function Data type Range Default value Comments 5 2 4 3 Phone l dx Name Number SMS request Defines length of IP numbers list authorized to communicate with the module via GPRS Particular IP addresses have defined privileges for access to configuration and sending data queries number 0 128 1 The range value defines required volume of IP addresses used in Rules for Data transmission See more in IP list Index number friendly name of the number facilitating identification in Rules processing Max length 16 characters phone number assigned to index and name Max 23 characters Phone number may be a stored in the internal registers which allows dynamic changes of SMS recipient number Number should be stored in the form of ASCII characters string Characters are stored only on the younger byte of register String should be ended with NULL character 0x0000 In MTManager you should put decimal address of first register of string instead of telephone number e g 64 for number stored in REG1 and following registers depending on check mark incoming SMS requests will be processed or ignored The list may be edited using context menu activated by right mouse click Available operations depe
51. ametrv Module Telemetry MT 100 TESA VENIEL C luc a arg 0 a7 al o COTAS oy es a csm E PSS laa y ae y Ah A DD j j gt A MHentia MT T GSM ACTIVITY STATUS STENNA kE p Rx E ERR over aaa ANA F 16 17 13 in entia telemetria pl CE Telemetry Module MT 100 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 48 MT 100 2011 Inventia Ltd Wszelkie prawa zastrzezone Zaden fragment niniejszego dokumentu nie moze by powielany lub kopiowany w adnej formie bez wzgl du na stosowan technologie 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 opro
52. ave a corresponding icon on the toolbar e Function Delete This function deletes data from the module s data memory space Areas deleting Internal registers Binary outputs 3 Flags ML Flags The areas selected for deletion should be checked in Pressing the OK button resets selected areas 65 6 3 1 4 Help lt MT program editor File Edit Module Help sks e H g Transmission if oh Settings get get store e x Y result E oan aes 0 REG copy 2 value RTC Sec REG2 is A not equal to Y RTC Sec REGA 1 hl Exit copy 2 value RTC Sec REG2 F Exit Buffer copy AREG AREGA copy A value AHI HE a 00g LE FAE Module dissconnected ala Come e Function Transmission toggles transmission preview window Lacal port Comi ar aF og d 00 05 le oF aF o9 24 00 05 le The title bar displays transmission type and recipient address while status bar displays connection status The tool bar displays the icon closing the window The main window s tool bar icon El toggles transmission window display e Function Settings opens environment configuration window described in Starting to work section The icon EN on the toolbar performs same function e Function About opens window displaying version number and Manufacturer s address data 66 6 3 1 5 Toolbar The main window s toolbar holds icons corresponding to following menu functions D menu item File Function New
53. bout the APN that the module is going to operate within when GPRS mode is turned on The parameters are ATM HTML Manager General Edt view Transmission Configuration Help Li q d ni gr x y oeo 3 y Device e Tree List Find Favores _ F Value Ele i Tes eS HTIDD Test MT100 KT 100 fri a Al Linde eral gt Beneral SH MT 702 IWS ir Ho HE Test E ji Es na DUE El Authorized numbers E i op ial Konfiguracja testowa MT 713 Resources Yes ao Test MT100 MT 100 H Rules ves 3 On rl SMS local ime ae 48123456783 Test MT100 gid In General group PIN code for SIM card insert PIN code of the SIM card intended for the module unless the card is configured not to ask for PIN code Use of GPRS Yes if SMS and GPRS packet transmission is intended o if the module is to work in SMS mode only In GPRS group visible if Use of GPRS is set to Yes APN name insert name of APN in which GPRS transmission is to take place APN user name insert user name if required by Network Operator APN login password insert password if required by Network Operator These parameters are all that is needed to be able to log in GSM GPRS network One has to remember that modules with basic configuration cannot send any information Therefore after verifying that module logs in to GPRS network one has to perform full configuration of module parameter
54. card 4 Restart of the module 4 1 Connecting antenna Connecting external GSM antenna is an essential condition for proper module operation The type of antenna depends on the desired mounting type and power of GSM signal in antenna placement area As previously mentioned the antenna has to be attached at every power up because it is a necessary transmitter load and absence endangers the module s transmitter part Even with no SIM inserted the module exchanges information with available GSM networks in order to secure possibility of sending emergency calls 112 The antenna is connected to MT 100 module via SMA connector placed on the front panel of device 19 GSM antenna connector m IE ee The choice of antenna type depends on GSM signal propagation at place where the module is installed In most cases a standard small size antenna is sufficient Where GSM signal is weak using multi segment directional antenna may be necessary 4 2 First configuration 20 First configuration of MT 100 is necessary for setting up basic parameters making logging to GSM network possible and optionally servicing GPRS To configure the module connect it via RS232 cable to a computer running MTManager Comprehensive information about installation use and attachment of MTM program to configured modules can be found in MTM User Manual Logging into GSM GPRS network requires basic information about the SIM card in use and optionally a
55. configured to work in the binary input mode For design related reasons those inputs work exclusively in positive logic The change of the input signal sets the alarm flag connected with the corresponding binary input 11 18 Q1 Q38 respectively as Biln0 gt 1 Biln1 gt 0 and Bi ln Chg The flags may be used in rules processing Each of the binary inputs I1 18 Q1 Q8 may be configured independently also to work in the counter or analog mode The use of binary inputs in these additional modes will be presented further in respective sections of this manual 3 2 2 Analg inputs The MT 100 Telemetry Module is equipped with two 4 20 mA analog inputs marked as AN1 and AN2 The inputs are isolated both from each other and from the rest of the device enabling the easy connectivity of the signal sources with different ground potentials Additionally users may create up to 16 analog inputs by reconfiguring binary inputs 11 18 and binary outputs Q1 Q8 to work in quasi analog mode After reconfiguration all inputs work in input signal frequency to analog conversion so for proper operation one has to connect analog signal source via analog to frequency converter which outputs a square wave of frequency proportional to analog signal Input signal conversion range is O 2kHz During configuration of analog inputs the user can set engineering units and precisely rescale the input signal The alarm levels and the time of input signal integratio
56. ctual value Binary outputs ss space PV_Cx 16 bit Pinay REA threshold value space akel OLL LS HH H H oi ee et l I Ii OBS l I I l I 4 l I I sh bo rra css scada rpl EST Ex O ea 4 a a E ls ds 4 ta key l REG Cx IR RARA RT TO Far E 1 tad a a sa eo RA pa E Ed EN gy EN Ya Ro SEEI Caf poi A A A a ET pa Ta WEA a I tp l 5 Ft E 5 I I l Program cycles 100 ms 6 10 Signal levels or edges All logical input values may be additionally affected by a level or edge condition Of 9 EJ The default value is a positive signal level However the user can change each of the input signals Condition Parameter X or Parameter Y so that the program reacts to inverted value rising edge falling edge or change of state 6 11 Filling and modifying program table The program table has to be filled out with subsequent lines starting with the left column and moving towards the right column Double clicking on any given field in the table unfolds a list of variables or functions available to the given column In the Condition column double clicking unfolds a list of logical variables whose state can be checked The name of the variable can also be entered directly by keyboard or by clicking on 80 the 0 1 values on the numerical keypad After selecting the name of the variable it is also possible to define the level or edge condition the execution of the function Double clicking with left mouse button
57. d is missing or the circuit is shorted 7 1 2 Inputs 1 18 a A pen LEVEL ES 22 O Chi i gt E E MO 09 e pa MT 100 ATI i SIAT mtn mma s En BAT POWER BINARY INPUTS ANALOG INPUTS IEA VINO iii Te allie LED indicators of Inputs 11 18 signal high state of binary signal connected to 11 18 inputs It takes place regardless of whether the module operates in positive or negative logic Visual evaluation of current input state makes working with the module much easier 89 7 1 3 GSM status o1 02 03 04 05 06 a7 08 BINARY QUTPUTS INPUTS E E E E E a eS E it tt 13 bh 15 16 if ji BAT POWER BINARY INPUTS 8 ANALOGINPUTS IEA WIN J 1 la alg rs 9 2fis 1a105 15 17 15 3 8 2 ENE E mm be e del e del dea de de dl de ee a da de e m GSM Status LEDs indicate GSM LED reflects current GSM network login state e single long pulses LED on for 0 6s and off for 0 6s the module not logged into GSM no SIM searching for network wrong PIN e single short pulses LED on for 0 075s in 3s period module logged into GSM e double short pulses LED on two times for 0 075s with 0 075s gap between pulses in 3s period module logged into GPRS e long pulses LED on for 0 5s with 0 05 gaps between pulses GPRS data transmission in progress GPRS LED when lit signifies proper login to APN LED indicators for GSM Status group reflec
58. d quick retransmission of faulty data The HSDPA technology allows transmission from the network to device with 14 4 Mb s speed 10 2 Syntax for reading and writing data in SMS mode Basic syntax Reading representation internal resource space address Writing representation internal resource space address value The value may be variable or constant It is for example possible to send an SMS resulting in assigning the state of 11 to Q1 Q1 I1 or Q1 11 Using second form replaces 11 with the current value eg Q1 1 In first version the proper execution will be confirmed with identical syntax Value representation the way of displaying or interpreting of the value or none decimally hexadecimally for registers always in four digits f e OO2F binary for registers always in 16 digits f e 0000000000010111 string read only Presents ASCII text stored in registers NULL 0x0000 character should be used as end of string marker MN uTU Internal resource Qx state of output Qx x in range 1 8 Anx analog input x in range 1 6 space address access to internal variables bits in binary inputs space bits in binary outputs space Input Registers 16 bit Internal Registers 16 bit internal flags Not deleted and zeroed during module reset internal flags deleted and zeroed during module reset NZWDOT 103 Examples of syntax that may along with simple text be a part of the SMS
59. d selected communication channel MT program editor Bx File Edit Module Help DGA HAN R AN E A TAE expression result copy 2 value copy 2 value OEE is A not equal to Y RTC Sec T Exit copy A value RTC Sec 7 Exit Buffer copy AREG copy 2 value ANHI Module dissconnected ala Come 6 3 1 Menu items 6 3 1 1 File MT program editor Fie Edit Module Help Barns EN E 1 2S leslee expression result error copy X value copy A value NOE E is A not equal to Y RTC Sec REGA OM F Exit copy 2 value RTC Sec REG2 hl Exit Buffer copy AREG AREGA copy 2 value ANI AREG BIBIE wig SUE HUE Hue Module dissconnected ala Come e Function New Erases the program visible in the table and the table is ready for editing of a new program The icon D on the toolbar performs same function 61 e Function Import Writes a program previously stored on the hard disc into the table Programs have a default extension MTp The icon on the toolbar performs same function e Function Export Stores the program from the table on the hard disc with default extension MTp The icon on the toolbar performs same function e Function File Stores the program from the table on the hard disc in clear text creating good documentation e Function Exit Closes the application after confirmation The keyboard shortcut for this function is Ctrl X The icon E on the toolbar performs same functi
60. defined data block or Status will be sent to appointed IP address Adding a new position is done in the context menu by right clicking mouse while one of positions on the list is highlighted 55 Device New module MT 100 General GPRS Authorized numbers Resources I Rules Adding more rules is done by setting the parameter number of data sending rules to desired value 5 2 6 2 1 Number of data sending rules Function declares number of SMS sending rules Data type number Range 1 32 Default value 1 Comments diminishing the number of rules does not delete settings until the configuration is written to the module 5 2 6 2 1 1 Data sending rule Each of rules residing on the list is defined by following parameters Trigger input Trigger flag IP Address Send Buffer address Buffer size 5 2 6 2 1 1 1 Trigger input 56 Function defines resource to observe Data type selection list Range None the rule is inactive 1 18 binary inputs Q1 Q8 binary outputs A1 A2 analog inputs FS1_ ups FS1_ q FS1_ gprs system trigger inputs A F32 user program inputs 5 2 6 2 1 1 2 Trigger flag Default value Comments Function Data type Range Default value Comments 2 6 2 1 1 3 IP address Function Data type Range Default value Comments 2 6 2 1 1 4 Send Function Data type Range Default value Comments TMR1 TMR2 TMR3 TMR4 synchrono
61. e Edit Module Help Bebb gaari AA E execute store expression result copy A value copy boolean X copy boolean A a boolean AND X Y B ODA 0 Module dissconnected ala Comi 6 14 3 Pulse generator Simple example of pulsing output Q1 The interval of switching on off is 1 second E MT program editor File Edit Module Help Bebb FAN KR HUN E execute z a store expression j Modulo is A equal to Y Module dissconnected ala Comi 6 14 4 2 pumps alternating action Next example illustrates alternating work of 2 pumps activated by respective Q1 and Q2 output When water level makes sensor on input 13 close start level the program turns resting output Qx on If the water level does not decrease and the sensor on 14 gets activated the resting pump is switched on and stays on until the level drops to under stop level 12 There is an auxiliary security measure in the program in case of the I2 sensor hanging where the program turns both pumps off if Dry run 11 level is crossed Note that in order to start the pump 11 and 12 have to be ON when 13 gets activated 83 Qi and Q2 1 Q1 1 or Q2 1 Q1 0 and Q2 0 Q1 0 and Q2 0 Stopped value 1 shifts between Q1 and Q2 depending on their state in last working cycle if Q1 1 and Q2 0 then in next cycle it will shift to Q1 0 and Q2 1 The first program line resets REG1 to O executed only on first scanning of program later on omitted since the condition is n
62. e aes 114 1094 Interno NREQIsters SIO CC it aaa 116 1 Module destination Telemetry Module MT 100 provides unmatched price to possibilities ratio It provides the Same known for high quality and reliability input output resources as MT 101 binary inputs The difference is that MT 100 does not have buttons used for manual setting of additional fifth alarm level on analog inputs It is also equipped with one configuration communication Modbus RTU slave RS 232 port It provides possibility of creating local autonomous system thanks to PLC functionality Program limited to 100 lines is enough to create simple control and alarm algorithms MT 100 connectors and I Os position are compatible with MT 101 allowing easy upgrade of created control and monitoring system MT 100 allows building modern wireless alarm systems monitoring measurement diagnosis and control based on GPRS data packet transmission and or SMS text messaging technologies An important feature of MT 100 module is ability to transmit data not only by querying but also when user defined event occurs e g when logical state of binary input output changes or value measured by analog input changes significantly The module is equipped with event recorder with a resolution of 100ms which can be used for data logging The module is fully configurable and programmable by intuitive user friendly software environment MTManager Both program and configuration can be written locally vi
63. e operation The module accepts only SIM cards operating in low potential technology 3 3V 3 6 Antenna Attachment of antenna is essential for proper operation of MT 100 telemetry module SMA socket is placed on module front panel The attached antenna has to secure appropriate radio signal level enabling login to GSM network The type and placement of antenna has significant influence on module sender receiver circuits GSM signal level is reflected by SGN LEVEL LEDs on module front panel When GSM signal level is not sufficient for reliable operation LED is not lit In that case the use ofa directional antenna should be considered 13 e _ GSM signal strength GSM antenna connector a O dono El E m E E mm E a aE iZ 13 4 IF Ik IT i BiT POWER 0 1213 1a 15 16 17 DE giz a s 2 e 00060900609000609066060060608 aO OC oO OC O O O O0 O O 0000 O O O O O 3 7 Power supply MT 100 may be powered by 9 30 V DC The module may work with auxiliary battery supply securing operation for some time after main supply failure In order to discriminate whether the module is powered from battery or from main supply the module has a binary input marked UPS where the signal informing that main supply has failed Main supply voltage drop below 10 8 V raises the FS1_ups system flag The flag may be used for rules processing The input may be used to signal main supply failure and switch over to batter
64. e protection Function Data type Range Default value Comments blocks writing of data into internal module registers protecting data significant to proper operation of module selection list Yes Data writing is possible when password is provided No Data writing to internal registers not protected No This parameter protects the module against accidental or intended intrusion into internal resources without preventing users authorized by password to make changes 5 2 2 6 Data write protection password Function Data type Range Default value Comments defines password for Data write protection parameter text field letters and numerals max 32 characters n a when Data write protection parameter is active writing to module is possible only after providing valid password The procedure to be followed in this case is to be found in chapter Appendices Unblocking writing to internal registers 5 2 2 7 Error display time Function Data type Range Default value Comments Defines in seconds error display time on Status GSM and SGN LEVEL and on ERR LED groups number 1 60 s 30 s setting of too small value makes error code identification difficult while too long value extends the restart time after error code display 27 5 2 2 8 Use of GPRS Function defines means of communication for the module Data type selection list Range Yes The Module works in GPRS mode Upon power up module tries
65. e result get X get Y The function rises error flag when copied value exceeds the range of destination register or cell address lays beyond the space Example get X register XREG10 get Y register REG1 store result register DREG2 If REG1 4 than function performs the operation DREG2 XREG14 Write value to table The function writes numeric value to table starting with register store result The value from register get X is copied to table cell defined by index register get Y Table cells are indexed from 0 store result get Y get X The function rises error flag when copied value exceeds the range of destination register or cell address lays beyond the space Example get X register REG2 get Y register DREG1 store result register XREG100 If DREG1 5 than function performs the operation XREG95 REG2 Difference between X and Y This function calculates the integer difference between X and Y no matter which value is higher Exceeding the valid range rises the error flag store result register integer value of get X register get Y register Copy bigger value The function verifies which value X or Y is higher and copies the higher one If get X gt get Y than store result get X If get X lt get Y than store result get Y Copy lower value The function verifies which value X or Y is lower and copies the lower one If get X lt get Y than store result get
66. e s program interpreter into the table If the application is connected to the module the control in the left side of the status bar is lit in red or green depending on the state of the program interpreter The text displayed close to the control reflects the actual state and the function Read program is active O Program is running Program is stopped If the connection is not established or broken the control is gray and reading from the module is impossible O Module dissconnected In case of serial cable connection the queries about sequential program lines are sent Lines are continuously read and displayed in the table In GPRS mode there is a couple of seconds delay between the query and response arrival In order to speed the function up queries are sent without waiting for response Upon arrival of response the value is displayed in the table The icon on the toolbar performs same function e Function Writing to module This function writes the program from the table to the module If the table is empty the effect of using this function will be erasing a program existing in the module All introductory remarks concerning the connection and password protection of Read function are valid in this case as well The process of writing program into module s interpreter is similar The only difference appears in GPRS mode After verification of privileges all lines of program are sent and the application waits for confirmations
67. ed range the function does not perform the conversion and raises an error flag Examples eer ee Logical shift left 77 78 Function shifts left bits in argument X Number positions to shifts is defined by parameter Y The bits that are shifted out are discarded and zeros are shifted in Get Y should be gt O otherwise operation will not be completed and error bit will be set Error bit will be set also when bit set high 1 will be shifted out Examples 0x0000 0x0000 xaos fis foreso o 0x0001 gt 32 0x0000 1 wo f COTTON CO ECO EEN o oxaanie000 o rec ono0oo ia Logical shift right Function shifts right bits in argument X Number positions to shifts is defined by parameter Y The bits that are shifted out are discarded and zeros are shifted in Get Y should be gt O otherwise operation will not be completed and error bit will be set Error bit will be set also when bit set high 1 will be shifted out Examples OX0000 A TT RR CR RR joan h bos ooo vono fos id wens jis oresoao o oxooo f ooo id waooo o Toreso o oxaonie000 o feco ia 6 9 Description of internal function blocks 6 9 1 Timers T1 T8 EN Tx Tx RST Tx Binary inputs Space 16bit L 3 5 8 O 2 2 100Hz clock Binary outputs space nn ae Ma Sa threshold value PV Ex X x 10ms 79 6 9 2 Counters C1 C8 CLK Cx 16 bit Cx RST Cx counter REG Cx 16 bit a
68. ed with one serial port PORT1 PORTI works only in RS232 mode and is used for local configuration of parameters In order to perform local configuration connect this port to a PC class computer with running MTM program Operating parameters of this port are not modifiable and the length of the connecting cable should not exceed 3 m This port is not isolated PORTI can also be used as Modbus RTU Slave port without need of changing modules configuration Transmission parameters are speed of 9600bps 8 data bits no parity 1 stop bit hardware handshake RTS CTS This port is ideal for connecting external graphical or text panel supporting Modbus RTU Master 3 2 5 Real time clock 10 MT 100 Module is equipped with astronomical time clock RTC The clock is a base for defining working cycles of module timers and time stamps for measurement results recorded in registers Imprecise clock setting results in faulty time stamping and subsequent loss of vital information For that reason it is recommended to set the clock to UTC time instead of the local time zone of the module placement Setting the time is described in configuring mode documentation for the MTM program 3 3 Internal resources 3 3 1 Registers MT 100 Telemetry module has in its internal resources 16 bit input registers and 16 bit internal registers Remote access to these areas is possible using standard Modbus commands Internal Registers are not r
69. epsinaeete cucu OEA E E OE E E O aun aiwetaemmeeneuesares 23 SZ PARAMETER GROUPS G a ra a N A A AAA A E AS 23 A A DEEP EN A EA EOR ate Sao PEETI ENEE aad ata PEA EE E EOE EE EA T PAET 23 5 2 ke Module NAME ia 23 52L Mod le A O ideea IA O AEAT 24 A Sy Mod le serial VOIR We ese a A EE E E A 24 S2 ke Modem firnware VOTOS AA A AAA AAA A 24 Sd MEL UIT E eae a A E E eee 24 S2 h6 Internal FOC FAN r Ver O ina N NA N E N N EAN 24 52 Cone uratontle Ve ON a ias 25 Dip 2 LS COMME A ON 25 Dee boo ASU COM SUL AOC ON 25 Sale Os Last fea dina Mesa 25 A O A A ca sai area ase we a ae a ae 25 ee ea SIL PIN TUNDET ae DA SS 26 Dil a2 iZ ACES TO CONN E UAE OM a A NNE A AE NEN A NN AA AI 26 2 2 3 CONME tOna SS WONG as ASA ee dees 26 522 COMME UVa OM read disaDlE sareni aE acto ila tape lala Sass pace E AAEN 27 zz 9 Data Wte Protec A eit eee ee ne ee 27 5272 01 Data write Proteccion DASS WONG 2 AA A erences 27 LI EMOS Ay CIC A EA 27 Si SUSE O ORAR ta 28 Bi 2d USOS AAA ia 28 5 22 105 MONTAY S MSI ecos 28 zz ON ia ida 29 2222 TIME Sync roniza ON raid 29 522 13 Module phone number PIANO A a a 29 DAS ORSAI A A A dida 30 A o O es ee a ee 30 Dele ARI USC MO AIR A AA AR AAA AAA aioe 30 SAS APN aS SW ONG SENA A 30 O 30 iO MP PASSION CN a ea a O eon sa versa mconanuolcanenie cates vaneasmie ecaraemioncinens 30 LO FOr CE Pr ae dena nse etn wd os leet women aes 31 Bee Sta Static aes sb si 31 52 38 05 PRS transmission FEOS NUDE id das 31 Dz a SS ION IM
70. equency in defined range 3 9 2 Binary inputs outputs Q1 Q8 Integral outputs Q1 Q8 may operate depending on selected mode as inputs or outputs In both cases only positive logic applies Binary outputs Q1 Q8 in positive logic 15 BINARY OUTPUTS INPUTS Binary inputs Q1 Q8 in positive logic Q1 Q2 Q3 Q4 05 06 Q7 Q8 BINARY OUTPUTS INPUTS Any of binary outputs Q1 Q8 may operate as counter input or analog input with frequency conversion to analog value The change of input operating mode is done during configuration Typical connection for counting input is identical to standard input connection for positive logic The only difference lies in counting of pulses appearing on the input and storing the result in a 32 bit register assigned to this input Binary input operating in analog mode has a slightly different connection It is assumed that the signal is a square wave with variable frequency in range 0 2kHz where momentary frequency corresponds to measured analog value The wave comes usually from a converter that exchanges measured analog value to proportional frequency in defined range 3 9 3 Analog inputs Al A2 16 Integral analog inputs A1 A2 cooperate with active as well as passive converters Sensors Analog inputs A1 A2 connection with active output converter BINARY INPUTS ANALOG INPUTS 12 24 V IN in noisy environment use independent supply for input output circu
71. eriod Function Data type Range Default value Comments Defines in seconds asynchronous timer counting period number 0 8640000 s O s O zero value switches the clock off 5 2 5 5 Synchronous clocks Synchronous clocks group contains parameters set for two clocks capable of cooperating with module real time RTC clock thus enabling triggering of events synchronized with defined time 5 2 5 5 1 Clock TMR3 TMR4 5 2 5 5 1 1 Start Function Data type Range Default value Comments 5 2 5 5 1 2 Period 5 2 5 6 Datalogger Function Data type Range Default value Comments synchronizes timer s clock setting start point and counting period time HH mm 0 00 23 59 0 00 n a defines synchronous clock counting period in minutes number 0 1440 min O min O zero value switches the clock off This section s parameters define operation of internal Datalogger recording state changes on binary inputs outputs and analog inputs state The capacity of internal buffer is 140 records New records are written into memory after changes of state on binary inputs outputs or at crossing of dead band for analog inputs 5 2 5 6 1 Active 50 Function Data type Range defines Datalogger status selection list Yes Datalogger active No Default value Comments Datalogger inactive No During MT 100 module operation the state of Datalogger may be remotely altered by MLOG_act bit in binary output
72. ernal programs thereby expanding module functionality with non standard algorithms of data processing and module control Programming is accomplished by using the 58 MTProg application delivered free of charge to our customers giving them the possibility of programming in integrated environments Basic information regarding user programs functionality e The program is executed cyclically every 100ms e f the particular program cycle does not complete execution within 100ms the next cycle will not start immediately but at the next 100ms round The omission of the program cycle is signaled by flashing of OVR LED In such cases the user program should use RTC register values or clock blocks instead of measuring the time by incrementing a register value for each cycle e The user program can consist of max 1024 instructions 100 for MT 100 Max number of instructions carried out in one cycle is limited to 2000 Upon reaching this value the program is automatically disrupted and restarted at the next 100ms round The program is capable of carrying approx 750 instructions in 100ms The function of copying the buffers copies approx 1500 registers in 100ms e The function of fast copying of blocks copies approx 7000 registers in 100ms 6 2 Starting to work It is recommended to set up the working environment during the first run of the program For this purpose select menu item Help Settings or activate a icon from the Toolbar and
73. es When sending consecutive data frames this number shall be incremented 2 Max data block size is 1408 bytes 3 For access to the module MODBUS frames are used They are placed in data block without ending CRC Data block MODBUS frame Unit ID 1 byte Function 1 byte 4 Upon reception of correct data frame the sender has to be informed by a receipt in a form of an UDP frame bearing only the header of received frame e Proxy In this configuration units communicate with each other through an external server The server IP is written in Proxy server IP configuration variable This mode allows using modules with SIM cards without assigned static address Modules receive a randomly selected IP address during network login procedure The Module establishes communication sends and receives packets only with Proxy server Since modules in this mode are identified by serial numbers tables and lists describing other modules in the network hold serial numbers instead of IP addresses Dynamically addressed modules do not have the possibility of remote configuration or remote programming e UDP Standard in this data module communicates using the Modbus frame encapsulated in Standard UDP frame This allows user to use Modbus UDP drivers provided from other companies but disables data delivery control system confirmation of correct data frame reception mechanism GPRS transmission retries numer and GPRS transmission timeout parameters are
74. eset at power Off Input Registers are reset at power on Module 16 bit registers store unsigned values in range 0 65535 In order to increase the range of stored values pairs of 16 bit registers were reserved to create 32 bit registers storing signed values for use in user defined internal program 3 3 2 Virtual registers MT 100 Telemetry module feature 16 bit Virtual Registers They reflect input VREG_BIx and output VREG_BOx bit spaces Using virtual registers gives easy access to bit groups and copying data between bit spaces and registers Access to registers is possible through module s internal program using standard programming functions described in the chapter Programming 3 3 3 Clocks MT 100 Telemetry Module is equipped with 4 programmatic clocks divided in two groups with different functionalities 2 programmable Asynchronous clocks TMR1 TMR2 enable cyclical time measuring for up to 100 days 8 640 000 s and 2 programmable Synchronous clocks TMR3 TMR4 enable cyclical time measuring from 1 min to 24 h with synchronization with module z RTC clock Properly configured clock counts the time setting after each completed period for one program cycle a flag in binary inputs space respective TMR1 TMR2 TMR3 TMR4 These flags can be used in internal controlling program or for triggering transmission on event 3 3 4 Counters Each of MT 100 module inputs outputs is capable of counting pulses and storing the value in 32
75. et of specific configuration parameters 5 2 5 3 2 1 Name Function Enables entering friendly name of input e g connected to the function performed The name is displayed on terminals list Data type text Range letters and numerals max 16 characters Default value Name of resource Q1 Q8 Comments Using friendly names facilitates recognition of destination and appropriate settings 5 2 5 3 2 2 Operating modes Function defines operating mode for outputs Q1 Q8 Data type selection list Range Binary input the input acts as typical binary input accepting positive and negative logic Analog input the input acts as analog input measuring frequency of incoming signal in range from 0 2 kHz Counter input the input acts as counter input Each pulse appearing on input increments value of corresponding 32 bit register Binary output the output acts as typical binary output in positive logic Default value Binary output Comments selecting appropriate operating mode is the basis for taking full advantage of module capabilities It has an influence on available configuration parameters optimizing module performance 5 2 5 3 2 2 1 Binary input Function Defines in seconds value of min duration of altered state on input in order to consider state to be stable Data type number Range 0 00 163 83 s 42 Default value Comments 0 1 s Setting value appropriate to contact characteristics
76. ext menu by clicking with right mouse button MT propram editor AGE File Edit Module Help Dekh HAN R EN E gt l emin es expressi n copy A value copy 2 value Ore is X not equal to Y RTC Sec REG F Exit copy 2 value RTC Sec i Exit WUE wai NE siege A E E Paste 8 D elete E LE ll d Module dissconnected ala Comi im entia Functions of Context Menu apply for the selected table row Copied rows are pasted above the highlighted row 6 12 Downloding the program After completed editing of program data can be sent to the module The method of transmission depends on selected means of communication When programming locally it is necessary to establish RS232 cable connection 81 For remote programming it is necessary that the computer on which MTProg is running has a network connection to the APN where the module resides Next step is selecting Connect and Write Program or Write and block reading The command description can be found in section Menu Module 6 13 Verifying the program Despite the high reliability of both local and remote programming it is recommended to verify the program written into the module Especially in cases where the module does not seem to be acting according to the controlling algorithm The device status LED which displays possible problems resulting from errors in processing of downloaded internal programs has to be verified 6 14 Program exa
77. f SIM card inserted into device used during time synchronization via SMS phone number field 0 23 digits This parameter is visible only if Time synchronization parameter is different from None 29 5 2 3 GPRS GPRS Group encompasses parameters connected to login and data transmission in GPRS system Some parameters defined within this group are mandatory for establishing GPRS connection Optional parameters are convenient for transmission optimization 5 2 3 1 APN name Function defines APN name selected for GPRS transmission Data type text Range letters numerals special characters max 32 characters Default value empty Comments absence of APN name disables login to GPRS network 5 2 3 2 APN user name Function defines APN user name Data type text Range letters numerals special characters max 32 characters Default value empty Comments Optional parameter used only if required by GSM network operator 5 2 3 3 APN password Function defines password for APN user account Data type text Range letters numerals special characters max 32 characters Default value empty Comments Optional parameter used only tf required by GSM network operator 5 2 3 4 Module IP Function 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 Data type IP
78. gramowania W 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 48 Warsaw July 2011 MTC Compatibility 1 48 INDEX T MODULE DESTINATION criticas ye tess ane set E TE A A 7 2 GSM REQUIREMENT S scassi acia naaa INTRO
79. ible to external users The parameter enables placing the external IP address under which the internal network node is visible in the header for sent data frame AS a result external recipients will experience match of sender s IP with IP address written in data header It is necessary due to double authentication of received data employed by MTDataProvider MTDP 5 2 3 8 GPRS transmission retries number Function Data type Range Default value Comments defines number of retries of GPRS transmission in case of not receiving confirmation in time defined by Transmission timeout parameter number 0 255 Setting this parameter to O results in sending data without waiting for confirmation of error free reception 3 In normal conditions it is not recommended to set this value to higher than 3 This effectively secures against loss of transmitted data without hampering processing following rules Note that consecutive data will be sent after successful conclusion of current transmission 31 5 2 3 9 Transmission timeout 5 2 3 10 Idle time Function Data type Range Default value Comments Function Data type Range Default value Comments Defines waiting time in seconds for confirmation of reception of sent data frame number 0 655 s 12 s This value in connection with declared Number of GPRS transmission retries defines max time of one data packet transmission described by formula MaxT n
80. ister bit Is X lower than Y get X get Y store result register register bit getX gt get Y Is X greater or equal Y get X get Y store result register register bit Is X lower or equal Y get X get Y store result register register bit Is X equal Y get X get Y store result register register bit Is X not equal Y get X get Y store result register register bit Copy X value store result register get X register Copy Boolean X Store result bit get X bit NOTICE When copying register DREG to a 16 bit register the function returns an error since the copied value is not in the range of 0 65535 Divide X by Y store result register get X register get Y register NOTI CE The function operates on integers The result is truncated to integer Crossing the valid range sets an error flag Examples 10 3 3 15 4 3 Multiply X by Y store result register get X register get Y register Crossing the valid range sets an error flag Subtract Y from X store result register get X register get Y register Crossing the valid range sets an error flag Add X to Y store result register get X register get Y register Crossing the valid range sets an error flag Modulo The function assigns the modulus of the division of X by Y For proper functioning it is required that get X gt 0 and get Y gt 0 When any of preconditi
81. ister Up The counting process is valid only within range of Counting range parameter Counting range defines max value assumed by the counter number 0 2 147 483 647 31 bits counting direction bit 0 when counting up the counter is zeroed by next appearing pulse upon reaching declared value When counting down next pulse writes declared value into the counter upon reaching 0 Setting O zero value switches counting off 5 2 5 3 1 2 3 3 Active edge Function Data type Range Default value Comments selects counting direction selection list Rising The change of counter state occurs upon signal change from O gt 1 Falling The change of counter state occurs upon signal change from 1 gt 0 Rising n a 5 2 5 3 1 2 3 4 Filtering constant Function Data type Range Default value Defines in seconds value of min duration of altered state on input in order to consider state to be stable number 0 00 163 83 s 0 00 s 41 Comments Setting value appropriate to contact characteristics eliminates disturbance caused by contact bounce thus preventing multiple registration of what is in reality one pulse 5 2 5 3 2 Binary outputs Q1 Q8 MT 100 Module has eight functionally identical Binary outputs These inputs can operate in one of four modes e standard binary input e analog input with conversion of frequency to analog value e counter input e standard binary output Each mode has a s
82. its is recommended 3 9 4 Communication ports Telemetry module is equipped with 2 communication ports for different applications They are PORT 1 RS232 configuration Modbus RTU Slave 1D1 e The not optically isolated Port is used for configuration e Connection point to point to PC via RS 232 DB 9 connector female Pin D E EEE AKEA gt 2 2AA gt A2A2 S w O 7 CTS handshake input 8 RTS handshake output 17 NOTICE e Supply cables length lt 10 m e Signal cables length lt 30 m e For longer cables it is recommended to use external overvoltage protection 3 9 5 Power supply The power supply is connected to and terminals preserving polarization only when Supplying direct current Pin _ Description GND Module s ground UPS Input power supply state signaling Active state for voltage gt 10 8V When not employed shortcut with Positive pole of power supply Negative pole of power supply Not recommended in standard appliances since it may increase emitted noise For AC supply polarization does not apply Example Connection diagram with backup battery BINARY INPUTS ANALOG INPUTS 12 24 VIN 1112 13 14 15 16 17 18 supply 12 24VDC 18 4 Starting the module Starting MT 10 module requires few basic activities Recommended sequence 1 GSM antenna attachment 2 Configuration of basic operating parameters 3 Insertion of SIM
83. ket for GSM antenna with antenna attached GSM transmission and reception LED indicators Input state LED indicators RS232 serial port for local configuration programing and ModbusRTU J communication DIN rail mounting entia MT 100 E A Device status LED indicators 7 BINARY I PUTS a E ANALOG NPUTS 1213 WIN a i la b 14 02 13 04 15 16 17 JBABRBBE E Detachable i E E terminal blocks See CC het SS te UD He po i oi Two 4 20mA optoisolated 8 optolsolated binary counter frequency analog inputs with 4 Power supply input inputs programable alarm tresholds programable hysteresis and deadband 3 2 Resources MT 100 module resources DI binary inputs working as 8 e binary input max 16 e counter input e analog input F U working as binary output DO binary outputs binary input counter input analog input F U C counters Pax 16 each input and output can work as a counter input Al analog inputs a AA g InP 16 e as analog F U created of binary inputs and outputs Standard RS232 configuration and Modbus RTU Slave Ea PORTI ae 9600 8N1 hardware handshake CTS RTS 3 2 1 Binary inputs The MT 100 telemetry Module is equipped with 8 dedicated binary inputs marked as I1 18 The inputs support both positive and negative logic Additionally up to 8 binary inputs are available if binary outputs Q1 Q8 are
84. l the month is up even in alarm situations 28 5 2 2 11 Roaming Function Data type Range Default value Comments defines whether roaming in foreign GSM network is allowed selection list On in case of absence of home network the module will attempt to login to available operator network Off login to foreign networks is not allowed Off This parameter decides whether the Module will try to login to available foreign network in the absence of home network This is possible only when the SIM card in module has roaming service enabled 5 2 2 12 Time synchronization Function Data type Range Default value Comments defines automatic time synchronization method used by device selection list None Automatic time synchronization is disabled However you still can used manual time synchronization using MTManager both locally and via GPRS or time synchronization tools delivered with MTDataProvider SMS local time Module synchronizes RTC clock with local time using SMS transmission SMS UTC time Module synchronizes RTC clock with UTC time using SMS transmission None Time synchronization uses time provided by GSM provider If SMS synchronization is used device sends one SMS to itself requires entering correctly Module phone number parameter every Sunday at 3 30AM 5 2 2 13 Module phone number parameter Function Data type Range Default value Comments enables entering of telephone number o
85. list Range Binary input the input acts as typical binary input accepting positive and negative logic 37 Default value Comments Analog input the input acts as analog input measuring frequency of incoming signal in range from 0 2 kHz Counter input the input acts as counter input Each pulse appearing on input increments value of corresponding 32 bit register Binary input selecting appropriate operating mode is the basis for taking full advantage of module capabilities It has an influence on available configuration parameters optimizing module performance 5 2 5 3 1 2 1 Binary input 5 2 5 3 1 2 1 1 Filtering constant Function Data type Range Default value Comments Defines in seconds value of min duration of altered state on input in order to consider state to be stable number 0 00 163 s 0 00 s Setting value appropriate to contact characteristics eliminates disturbance caused by contact bounce thus preventing multiple registration of what is in reality one pulse 5 2 5 3 1 2 2 Analog input Function Data type Range Default value Comments Defines filter filtering constant number 0 0 25 5 s 0 for 0 zero value filtering is off Setting high time value influences stabilizing of result after signal value change but allows better precision of measuring noisy signal It is recommended to set filtering constant to value 6 4 and higher to provide satisfying precision of measureme
86. lower than value set as Alarm LoLo preserving relation to hysteresis Flag assuming value True if value of analog input is lower than value set as Alarm Lo preserving relation to hysteresis Flag assuming value True if value if value of analog input is higher than value set as Alarm Hi preserving relation to hysteresis Flag assuming value True if value of analog input is higher than value set as Alarm HiHi preserving relation to hysteresis Flag assuming value True if value of analog input crosses defined deviation of previous central value 10 9 Memory map 10 9 1 Binary inputs space Binary inputs bit addressable command 02 Ox0000 IQ1_ tQ2 f3 QA QS QS QT QBs Pin state Q1 Q8 0x0008 ak woe a ba Gee Ge alae ek Pin state 11 18 ae messages for ET bits for analog ronal pee pen e e me bl dead band cross over Threshold bits for analog pepee pee per pe o SO O A dead band cross over FS1_fs 1 first cycle of the program FS1_ovr 1 delayed cycle start previous cycle longer than 100ms FS1_ups 1 no supply on UPS pin FS1_q 1 no supply for binary outputs Q1 Q8 FS1_ prog 1 error 0x0028 FS1_fs FS1_ovr FS1_ ups FS1 q FS1 prog FS1_ gprs FS1 event FS1 sms Spots UREE z program program stopped FS1_ gprs 1 module logged out of GPRS On logon the bit is reset On power on FS1_gprs 0 FS1 event 1 event queue overflow data FS1 sms 1 event queue overflow SMS 60T
87. mples This chapter aims at acquainting the user with common methods of defining algorithms Programs included in this chapter are built on simple premises and do not take the fact that they are all made for purely educational purposes into consideration The authors renounce any liability for faults resulting from using programs without prior analysis of circumstances 6 14 1 The timer This program illustrates the use of the typical timer 1 of 8 available in MTProg activated by 11 going high third program line The preset value PV_T1 that the timer counts up to Is 5s clock frequency is 100Hz the line is executed only by first program cycle When preset value is reached T1 flag is raised and output Q1 is set to high The timer can be stopped before 5 seconds lapse by setting 11 low MT propram editor File Edit Module Help Bebb gaar EN E execute store expression result copy X value copy boolean X boolean OR SLY copy boolean X E b 1 Module dissconnected ala Comi 6 14 2 The counter 82 MTProg has 8 counters of this type The example illustrates a counter counting 10 activations of 11 Upon reaching the count of PV_Cl1 the flag Cl rises Line 2 copies the state of Cl to output Q1 Change of Q1 may be used in the rule defining the data or sms transmission or in further programming The counter is reset line 3 upon reaching the preset value of 10 lt MT program editor Fil
88. municate with APN Modem port Contains number of the com port the GPRS modem is connected to RS 232 Port Contains number of the com port the programmed module is connected to via serial cable Select the chosen module and connection type In order to do so activate parameter Select from menu Module or click the icon on the toolbar The selection window will open and present all available options MT module selection module module IP type name address bh ala Osowiec PS 20060405 Mew module Jedlicze F01 B Nowy modal koda A 110 10 35 334 hi T 1 01 PLE13S JOZEFIAKA 1722910251 11 Notice that only modules defined and configured by MTManager application in active Project are selectable When Local port RS 232 is checked in serial transmission via RS 232 takes place When Local port RS 232 is unchecked GPRS transmission is employed and module IP address is used OK button stores the choice for connecting MTprog exe application with selected module and opens program editing table 6 3 Main window layout Main program window displays a table containing the program to be executed by module s command interpreter Right side of the window contains a field with button groups dedicated to defining operations and constants On top there is a system menu and a toolbar with icons for frequently used functions At the bottom a status bar displays from the left status of command interpreter selected module s name an
89. n are also configurable The possibility to configure as much as four and in the case of the AN1 and AN2 inputs five alarm levels guarantees supervision flexibility of monitoring of analog Signals Analog inputs have two parameters defined They are Hysteresis and Deadband The value of hysteresis defines insensitivity of device for signal variations near threshold values preventing excessive generation of events The range of hysteresis allows generating event only when the signal on the input changes by defined value Hysteresis is set for all selected analog input alarm thresholds Flags AnLoLo AnLo AnHi AnHiHi An DB set by analog signal changes may be employed for rules processing 3 2 3 Binary outputs MT 100 Telemetry module is equipped with 8 dedicated binary outputs marked Q1 Q8 The state of outputs is set by writing desired value into a binary outputs memory register This record may be performed either remotely via GPRS or locally as the execution of a user defined program For each binary output the state of forcing signal is compared with actual output state signal Upon detection of discrepancy the BiOutErr Flag is raised and may be used for rules processing As stated before for Binary inputs any binary output may be individually configured to work either as binary input counter input or quasi analog input That makes the hardware universal in application 3 2 4 Serial port MT 100 Telemetry Module is equipp
90. n is necessary 10 1 1 SMS Short Message Service the technology of sending text messages The length of the message is 160 characters Permitted characters are letters and numbers Despite of its popularity it is not an optimal service for telemetry The cost of an SMS is constant regardless of information length within 160 characters limit In telemetric applications using the text mode would require dedicated formatting and special programming for reception The conclusion is simple This service was not created for telemetry applications but may be an attractive supplement Suppose that along with monitoring current values it is possible to receive perfectly readable textual information containing a warning about alarm situation It is quite a useful supplement 10 1 2 CSD HSCSD Circuit Switched Data a technology for sending data via commuted communication channel set up on subscriber demand Despite using a digital telephony technology the data transmission is analogical to traditional telephone modem The user establishes a connection with a defined subscriber number and carries out a transmission of data stream sent to the serial port connected to the GSM modem It is a point to point transmission where only 2 data sources are connected After transmission the connection is broken and the subscriber charged for the time occupying the channel This type of data transmission justifiable when large amounts of data
91. n to existing APN and a static IP assignment A static IP address is the base for addressing terminals in packet transmission GPRS networks Note that when using GPRS for real time monitoring packet transmission networks add a delay dependent of the route the addressed packet has to go between the sender and recipient terminal Usually this delay does not exceed a few seconds and is insignificant from a monitoring perspective In turn the possibility of creating networks independent of terrain topography and territorial size of the system is gained 10 1 4 EDGE 102 EDGE Enhanced Data rates for GSM Evolution is a technology for data transmission employed in GSM networks This is an extension of GPRS technology EDGE is also called for EGPRS Enhanced GPRS with enhanced radio interface allowing triple throughput in most of current systems up to 236 8 kbit s and dynamic adjustment of packet transmission speed depending on transmission conditions 10 1 5 UMTS Universal Mobile Telecommunications System UMTS is a system of third generation cellular phone networks following 2G systems like GSM The new radio interface significantly improved data transfer between the subscriber and the network boosting the quality of service 384 kbit s throughput 10 1 6 HSDPA HSDPA High Speed Downlink Packet Access is a technology based on shared transmission channel The main feature is dynamic adaptation to changes in radio environment an
92. nal level Reading of signal level happens in the moment of login to network and every 12 minutes if the module operates in SMS mode Selection of GPRS mode only means that signal level is investigated only during login procedure typically at power up That does not pose any danger since no disturbances in module s operation mean that the signal strength is sufficient 7 1 6 Module status Module status BINARY INPUTS ANALOG INPUTS 1224 IN 11 12 ala los 06 17 10 3 g a i fu ee MA eee ee MEA ee ee ee eee ee ee ee ee ee ee A Module status group encompasses four LED indicators displaying the state of the circuit controlling the module s operation and with execution of user defined program Significance of LED indicators e Err LED when lit the Err LED indicates an error forcing automatic reboot The reason may be lack of GPRS communication disabling transmission of awaiting data Triple flash of Err LED indicates that current firmware does not support the function used in the program In this situation one solution is updating the firmware e Ovr LED when lit the Ovr LED indicates that execution of the program cycle took over 100ms and the next cycle was delayed as the result and may render improper execution of the program The LED is lit in following cases the program loaded is stopped a new configuration or firmware is loaded and internal program was automatically stopped in order avoid interfe
93. nd on the cursor placement When cursor rests on an entry all options are available while only Append is available with cursor resting on active window s background 35 ld Mame Number SMS request kate 27 20295051 3 Y E John Del x 3 Daniel ha a Ins Append 5 2 4 4 IP Idx list index number Name friendly name of the IP number facilitating identification in Rules processing Max length 16 characters Number number IP assigned to index and Name Configuration grants or denies right to perform remote configuration by this IP number Receiving depending on this setting data incoming from this IP will be accepted or rejected The list may be edited using context menu activated by right mouse click Available operations depend on the cursor placement When cursor rests on an entry all options are available while only Append is available with cursor resting on active window s background ld Mame Mumber Configuration Sending Aecenvirng 1 gateway 10 16 0 3 x Y Y 2 Mark nai Y Y Y 3 Supervisor i y Y Y Ins Append 5 2 5 Resources Group Resources encompasses a list of hardware and software resources available to users Sub groups hold configurable parameters for nputs outputs asynchronous and synchronous timers Datalogger MT2MT Buffer and Constant parameters 5 2 5 1 Internal resources Modbus ID number GPRS Function Defines Modbus ID number for internal resources of the module for GPRS communication
94. ng Ulsa A AS 54 A RS E TA 54 SP AN A A O 54 526 122 Meter lata in 54 BZ A E A E A s 55 52 Oi 2 Ae RECIDICNE IMU DE eeren r Waves decades a OAN 55 52 6 12 50 Senaine adattonalAtorF Matos aa 55 A A A 55 5 2 0 211 Number Of data sending CULES israelita it ii 56 2 bil Lo Data send lea A a ai 56 AN EEN a APP AN 56 A A Y AAA PP AAS T AET E E EE hud eee aa ae aaa ee en 57 AA EAR Bee Paddar ESS Ree ey ee Cee ene ne eee re ee on 57 S2 se as Mes O 57 5262 E OUI AA In los vent ensue ehh Bevan ere 58 5262 6 BUM SIZE IS UE E 58 5 30 CONFIGURATION WRITING iemracts ciencias root tallar 58 SAN ERIFICATIONFOF CONFIGURATION a ES AA AA A iouee cutee Gs 58 0 PROGRAMMING Sacar A A A sauseusstersauduccuncesuuucdeeuetuns 58 6 1 GENERALIN FORMA TON ra A gkoastasetoememone aeons 58 B22 STARTING TO WOR aliarse iticana 59 Oi Se MAN WINDOW PAYOUT nesre ccacecconcuars toa cacadeue tb E E T A O TOETO A 61 ISLAMIC AS AAA ESAS AA ASIA AS A A 61 A PP O AR 61 6o LA A A A E OE T A E TS 62 LO MOGUC roroa e au aR eA eA E 63 oo AA E A NANN IA ANN NA N 66 A NT 67 6 4 PROGRAM EDITOR TABLE is a O AE EOE cowie eprentia meneame mteuaads 67 OIS MANDAR DE UNCTON St A A tale id bila heh ouch baa ceil ba fuss 68 A A O a ea e ace tans 68 GA AUXIMIARVEUNGIIONS atatcteecaieeat neat N A e ee eetiaareataes 69 6 9 DESCRIPTION OF PROGRAM FUNCTIONS astra 69 6 9 DESCRIPTION OF INTERNAL UNCTION BLOCKS ia 79 DIA TICS Ti oR nee ar ne Oe ee re eo Oat epee eae ener 79 OAA A
95. ng the value to O results in immediate retries 5 2 3 14 Data frame format Function Data type Range This parameter selects data frame type used by module for GPRS communication and indirectly the operating mode selection list Standard Standard mode Modules communicate using the protocol and transmission protection created by the manufacturer Proxy mode allowing application in GPRS networks with dynamic IP assignment This mode requires special communication software running on computer with static public address Currently not supported Open Configuration and operating modes as for Standard type frames The only difference is lack of frame protection and opened UDP frame header format allowing creation of user s own access system UDP Standard Data is sending in form of ModbusRTU command encapsulated in standard UDP data frame Data reception control is not available when using that data format 33 Default value Standard Comments More info about data formats employed in MT series can be found in chapter Appendices Data formats 5 2 3 15 Proxy server P address Function inserts Proxy server IP for selected Proxy Data frame format Data type IP address field Range 0 0 0 0 255 255 255 255 Default value 0 0 0 0 Comments inserted IP is public static address of communication server serving modules working in GSM GPRS network with dynamic IP assignment 5 2 3 16 CRC compatibility
96. nter Upon crossing this value the new value is recorded and insensitivity band is moved The An DB flag in binary inputs space Is raised and may be used for rules processing 5 2 5 3 2 2 3 Counter inputs 5 2 5 3 2 2 3 1 Counting direction Function defines counting direction Data type selection list Range Up A pulse on input increases value of counter register Down A pulse on input decreases value of counter register Default value Up Comments The counting process is valid only within range of Counting range parameter 45 5 2 5 3 2 2 3 2 Counting range Function Data type Range Default value Comments defines max value assumed by the counter number 0 2 147 483 647 31 bits counting direction bit 0 when counting up the counter is zeroed by next appearing pulse upon reaching declared value When counting down next pulse writes declared value into the counter upon reaching O O zero value switches counting off 5 2 5 3 2 2 3 3 Activating slope Function Data type Range Default value Comments selects counting direction selection list Raising The change of counter state occurs upon signal change from 0 gt 1 Falling The change of counter state occurs upon signal change from 1 gt 0 Raising n a 5 2 5 3 2 2 3 4 Filtering constant Function Data type Range Default value Comments Defines in seconds value of min duration of altered state on input in order to consider s
97. nts Assuming that measured value will raise from minimum to maximum value unit step value from measurement will achieve X of real value within time specified by table Time of measurement Percent of real value 1 filtering constant 63 2 2 filtering constants 86 5 3 filtering constants 95 0 4 filtering constants 98 2 5 filtering constants 99 3 5 2 5 3 1 2 2 1 Engineering units Function Data type 38 Defines name for engineering units text Range Default value Comments iS aes E al We ae ae ap Function Data type Range Default value Comments Dil Te M EAS Function Data type Range Default value Comments 5 2 5 3 1 2 2 4 Function Data type Range Default value Comments AS IA Function Data type Range Default value Comments AS A oF Function Data type Range Default value letters and numerals max 16 characters X inserted text does not have any influence on the value of measured analog signal Low reference internal units used along with other reference parameters for rescaling input signal range to engineering units range number Q 65535 0 low reference point for internal units Low reference engineering units used along with other reference parameters for rescaling input signal range to engineering units range number Q 65535 400 low reference point for engineering units High reference internal units used
98. number field Range 0 0 0 0 255 255 255 255 Default value 0 0 0 0 Comments ifthe number is not read in nor written manually after local configuration remote configuration of the module via GPRS will not be possible 5 2 3 5 IP assignment Function selects IP address assignment mode during login to GPRS network procedure Data type selection list 30 Range Default value Comments 5 2 3 6 Force IP Function Data type Range Default value Comments DHCP IP address is assigned by GSM network according to operator policy It may be static or dynamic address Manual IP address is assigned by GSM network to the value set in Force IP field by user This mode is applicable only when operator policy allows forcing IP address by the user DHCP Manual mode ts allowed only in few GSM networks enables manual entering of IP when parameter IP assignment is set to Manual IP number field 0 0 0 0 255 255 255 255 0 0 0 0 forcing of IP address mode assigned by operator is serviced only in few GSM networks 5 2 3 7 Virtual static IP address Function Data type Range Default value Comments defines IP address that will be placed in internal data header of frames sent by the module IP number field 0 0 0 0 255 255 255 255 0 0 0 0 Parameter mandatory in case of operating MT 100 module in GSM networks where operator uses dynamic address translation of internal addresses to static external addresses vis
99. numbers group contains lists of phone numbers and IP addresses 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 Rules group contains lists of transmission tasks to be carried out upon occurrence of activating criteria 5 2 1 Header Header of parameter structure describes MT 100 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 5 2 1 1 Module name Function displays name assigned to module during configuration Data type text 23 5 2 1 2 Module type Range Comments Function Data type Range Comments n a read only parameter n a displays the type of configured telemetry module text n a read only parameter n a 5 2 1 3 Module serial number Function Data type Range Comments displays serial number configured telemetry module text n a Read only parameter this field displays module serial number assigned during manufacturing This number is static and unique identifier of the unit 5 2 1 4 Modem firmware version 5 2 1 5 IMEI number Function Data type Range Comments Function Data type Range Comments displays modem firmware version text n a Read only
100. ollowing triggering inputs input Description IO binary inputs outputs Q1 Q8 can operate as analog input with external Analog frequency converter 11 18 binary inputs I1 18 can operate as analog input with external ae Analog frequency converter A1 A2 Analog inputs Al A2 107 10 8 Flags During operation MT 100 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 Resources Description attached p Bi In 0 gt 1 Bi In 1 gt 0 Bi In Chg Bi Out Err 108 Binary inputs and outputs Q1 Q8 11 18 Binary inputs and outputs Q1 Q8 11 18 Binary inputs and outputs Q1 Q8 11 18 Binary outputs Q1 Q8 Binary inputs 11 18 Q1 Q8 Analog inputs Q1 Q8 11 18 A1 A2 Analog inputs 11 18 Q1 Q8 A1 A2 Analog inputs 11 18 Q1 Q8 A1 A2 Analog inputs 11 18 Q1 Q8 A1 A2 Analog inputs 11 18 Q1 Q8 A1 A2 Flag assuming value True after change of binary input from O to 1 Flag assuming value True after change of binary input from 1 to O Flag assuming value True after any change of binary input Flag assuming value True if read outputs state does not comply with set state Flag assuming value True when counter reaches set value or zero value depending on counting direction Flag assuming value True if value of analog input is
101. on 6 3 1 2 Edit 62 MT program editor File Edit Module Help q Find Ctrl F a E En Find next F3 execute get get expression K Y O REGA copy A value copy A value RTC Sec REG2 a is X not equal to Y RTC Sec REG ql Exit copy X value RTC Sec REGA Ti Erit HHA Buffer copy REGI REGA copy X value aA REGI O Module dissconnected ala Come e Function Find Allows searching the program for defined text eg register name Text that you want to look for is entered in the window opened just after clicking this menu position It is possible to choose if the search phrase is case sensitive and if search phrase is a complete word or only part of it whole contents only After selecting OK cursor in main window will move to first cell with found search phrase Search area begins from firs cell after selected and ends where program ends Text finding Case sensitive Whole contents only Function can also be started by using keyboard shortcut Ctrl F e Function Find next Moves cursor to next cell with searched phrase Function can also be started by using keyboard shortcut F3 6 3 1 3 Module Module Menu consists of functions governing the state of programmed module Functions of this menu item change dynamically depending on the state of connection with the module and the state of the module s internal program Active functions of the menu when program is disconnected from the module MT
102. ons are not met the function returns an error which sets an error flag Examples 10 3 1 15 4 error 15 5 0 Negation store result register get X register CAUTI ON Note that all registers store unsigned values Only DREG registers can hold 32 bit signed values Using this function on DREG registers in will in most cases return an error Bitwise OR The function calculates logical sum of corresponding bits in 2 registers Example decimal hexadecimal binary get X register 1234 04D2 0000 0100 1101 0010 get Y register 4991 137F 0001 0011 0111 1111 store result register 6143 17FF 0001 0111 1111 1111 Bitwise AND The function calculates the product of corresponding bits in 2 registers 71 72 Example decimal hexadecimal binary get X register 1234 04D2 0000 0100 1101 0010 get Y register 4991 137F 0001 0011 0111 1111 store result register 82 0052 0000 0000 0101 0010 Bitwise XOR The function calculates symmetrical difference of corresponding bits in 2 registers Example decimal hexadecimal binary get X register 1234 04D2 0000 0100 1101 0010 get Y register 4991 137F 0001 0011 0111 1111 store result register 6061 1 7AD 0001 0111 1010 1101 Bitwise NOT The function negates bits in the register Example decimal hexadecimal binary get X register 1234 04D2 0000 0100 1101 0010 store result register 64301 FB2D 1111 1011 0010 1101
103. ot met Operations on REG1 and MO flag prepare tasks for the next sequence of pumping using Q1 and Q2 Altering functionality is based on checking the value of the first bit in REG1 The bit changes its value for each change of MO marker E MT program editor copy A value boolean OR X Y boolean AND EY ana not ibwise is 2 equal to Y is Z not equal to Y L n add Y to copy boolean 8 copy boolean X 4 5 boolean AND Y 1 3 m copy boolean X g Jz 6 B e ES m copy boolean X Module dissconnected ala Comi 84 6 14 5 3 pumps toggle action In this example the levels of starting and stopping of 3 binary outputs are designed exactly as the previous example for two pumps 11 12 13 14 The pumps alternate between Q1 Q2 and Q3 The difference is that when 14 is activated the auxiliary pump goes into action For instance when Q3 is running Q1 serves as auxiliary pump and so on MT program editor AE File Edit Module Help Bebb Jaarn OUN E ee ea expression result copy X value boolean OR SLY boolean OR X Y boolean OR SLY boolean AND Y is 2 equal to Y is X equal to Y is X equal to Y is A greaterequal then Y add to A copy X value LA is X equal to Y boolean OR SLY 1 LJ is X equal to Y REG boolean OR 2 Y je LA is X equal to Y REG boolean OR SLY Q3 AGE apa JHE JULE ela copy boolean X False boolean AND Y 11 ll copy boolean X False m copy boolean X
104. parameter n a displays GSM modem s IMEI number text n a read only parameter n a 5 2 1 6 Internal program version 24 Function Data type Range Comments displays the identification of actual version of internal telemetry module program firmware text n a read only parameter the value of this field changes automatically after download of firmware 5 2 1 7 Configuration file version Function displays version identification of configuration file used for actual configuration Data type text Range n a Read only parameter Comments value depends on module s firmware version Auxiliary extension character defines the sub version 5 2 1 8 Configuration identifier Function displays identification of current configuration Data type hexadecimal Range n a read only parameter Comments the value of this parameter increases automatically by 1 after each successfully stored configuration 5 2 1 9 Last configuration date Function displays time and date of last successful configuration change Data type text Range n a read only parameter Comments the value changes automatically with successful configuration change Useful in tracing unauthorized configuration changes 5 2 1 10 Last reading time Function displays internal module time recorded during last configuration reading or during last time setting Data type text Range compliant with Date and Time format Comments
105. point for internal units 5 2 5 3 3 8 High reference engineering units 5 2 5 3 3 9 Alarm HiHi 5 2 5 3 3 10 Alarm Hi 48 Function Data type Range Default value Comments Function Data type Range Default value Comments Function Data type Range Default value Comments used along with other reference parameters for rescaling input signal range to engineering units range number 1 65535 2000 high reference point for engineering units Defines HiHi alarm level in engineering units for analog input signal number 0 65535 engineering units O engineering units Sets An HiHi flag used for rules processing The reset level for this flag depends on Alarm hysteresis value Defines Hi alarm level in engineering units for analog input signal number 0 65535 engineering units O engineering units Sets An Hi flag used for rules processing The reset level for this flag depends on Alarm hysteresis value 5 2 5 3 3 11 Alarm Lo Function Data type Range Default value Comments 5 2 5 3 3 12 Alarm LoLo Function Data type Range Default value Comments Defines Lo alarm level in engineering units for analog input signal number 0 65535 engineering units O engineering units Sets An Lo flag used for rules processing The reset level for this flag depends on Alarm hysteresis value Defines LoLo alarm level in engineering units for analog input signal numbe
106. r 0 65535 engineering units O engineering units Sets An LoLo flag used for rules processing The reset level for this flag depends on Alarm hysteresis value 5 2 5 3 3 13 Alarm hysteresis Function Data type Range Default value Comments 5 2 5 3 3 14 Deadband Function Data type Range Default value Comments Defines alarm thresholds for hysteresis value of analog signal in engineering units number 1 65535 engineering units 10 engineering units setting hysteresis value appropriate to signal source variations prevents overly frequent activation of alarm flags when signal source is unstable Defines the range of insensitivity for analog input signal changes in engineering units number 0 65534 engineering units 10 engineering units the range of insensitivity stretches symmetrically around previously noted signal value Upon signal crosses range new signal value is noted so that it is in mid range and an An DB flag is set high in binary outputs space This flag can be used for rules processing or trigger recording in Datalogger 5 2 5 4 Asynchronous clocks Two Asynchronous clocks can cyclically count time for up to 8640000 s 100 days Counting starts immediately after module starts up and goes on until switched off Asynchronous clocks have two Triggering outputs T1 T2 that can be used for rules processing 5 2 5 4 1 Clocks TMR1 TMR2 49 5 2 5 4 1 1 P
107. r Confirmation SMS starts with gt sign 10 3 Unlocking writing to internal registers 104 Procedure when data writing protection is set to Yes When data overwriting protection option is set the module does not process frames trying to change internal resources Unblocking requires sending data along with password If received frame contents a valid password the module allows remote modification of internal resources for 5 minutes or until it receives a frame with empty or invalid password Command format module s ID command code Password end Modbus CRC 1 byte n bytes 1 byte 2 bytes ID 0x71 0x06 0x00 Password text CRC L CRC H Example Module settings PA CA ABCDE 0x05 0x71 0x06 0x00 A B C D E 0x00 0x98 0x70 Decimally 5 113 6 O A B C D E O 152 112 10 4 Working with dynamic IP addressing In order to configure MT 100 module to work in Proxy mode do following e In MTManager select Data frame format Proxy e Set Proxy server IP has to be static public IP address of central receiving computer e n Authorized IP numbers type the serial number 255 255 255 255 The structure of configuration file for MT DataProvider for Proxy mode lt xml version 1 0 gt lt opc gt lt configure net_mode dynamic udp_port 7110 timestamp system csv_log true csv_path C debug true gt lt network name mt100 udp port Ip receiver
108. r The result is always an integer value If converted value had a decimal fraction the decimal separator is omitted and function writes the number of digits after comma to AUX_RET2 register This allows handling of scaled floating point values Recognized delimiters are and Furthermore the function writes the length of converted value The converted value may be a negative number provided that result storing register is a 32 bit register Examples get X get Y store store result AUX_RET1 AUX_RET2 REG1 DREG1 Dabc 1 CECI COM COM fos COM asesoras fa ha ha b b azas p fe arses ii pamm fpo pa pa po pooo Eror number format Error number format 1234 5678900 Error value too big 4 Error number format 000111 2 2 o fana2 ae Convert number to text This function converts a binary value from register get X to text The result is written into buffer starting with store result register Separate text characters are stored in low order bytes of 16 bit registers Get Y defines converted number s format get Y unit number defines the number of digits after comma in resultant format tens number defines number of digits before comma O automatically 100 sets delimiter to instead of 200 forces adding a sign before positive value Furthermore the function writes the resultant number s length in characters to AUX_RET1 register If the converted number is larger then allow
109. r parameterization of user programs Defined parameters are preserved after power loss or module reset 3 3 8 System variables 12 MT 100 has system variables connected to GSM GPRS connection state and power supply Variables state is reflected by flags that can be used as transmission triggers or in internal control programs FS1 ups 1 loss of potential at module UPS pin FS1 q 1 loss of power supply for binary outputs Q1 Q8 FS1 gprs 1 informs upon log off from GPRS network Full list of system variables is placed in Memory map chapter in Appendices 3 4 LED diodes LED indicators placed on MT 100 front panel are convenient during module start up phase GSM signal strenght A E MT 100 EST GSM activity woe e mm Module status MARY IHPUTS ANALOG INPUTS ered WIN 1aftaltsu os islir ie g 8 2 2 818 a POND a Pus pr No E E que ee up ul ee Posh poo A eee Pp A A Detailed description of signaling patterns is placed in chapter LED signaling 3 5 SIM card MT 100 telemetry module is equipped with standard miniature SIM card holder for connecting card to GSM modem If use of GPRS transmission is intended the SIM card should have GPRS option and possibility of login to APN for assigning static IP addresses activated In absence of static IP address use of the module for GPRS transmission is impaired Proper placement of the SIM card is imperative for modul
110. rence In that case make sure not to disrupt the power supply until the module restarts automatically It may take couple of minutes e Bat LED is lit when the potential on UPS input falls below 13 8V Since this input is used to signal main supply failure the system flag FS1_ups is raised simultaneously The FS1_ups flag may be used in rules processing e Power LED is lit all the time the module is supplied with power Indicators of Module status group are the main sources of visual information about correct operation of the module 92 7 1 7 Error signalling Despite the efforts of module designers and users errors in function do occur It is often imperative to diagnose and remove the cause of error Error signaling is a tool for solving problems LED indicators on module s front panel interpret errors e ERR e GPRS e L1 L2 L3 of SGN LEVEL group ob ob g a al dd A A dl e e e e dep 2c00 ye E 2 Oooo m gar kA tn MT 100 Gia ACP NATY und al ERR Te m Ra ie Ja E E E E E E we ii bt th t 15 16 7 ji BINARY INPUTS ANALOG INPUTS TANVIN A EDO 14 12 13 14 15 16 17 18 38 lel la 8 8 no oil El al m a tal T a a T m Gl tI mm Depending on type errors are classified as standard or critical Standard errors are a result of faulty configuration or reasons independent of the module Critical errors are usually connected to physical damage or faults in inte
111. rforms RESET and commences GSM GPRS login sequence Reduction of this parameter increases the frequency of testing GPRS network state This shortens possible disruptions of control due to network failures but increases unproductive data transmission 5 2 3 11 GPRS testing IP 32 Function Data type Range Default value sets IP address where data frames testing GPRS network state are sent IP address field 0 0 0 0 255 255 255 255 0 0 0 0 Comments This parameter sets recipient s address for data frames testing GPRS transmission channel sent after defined Idle time elapses Leaving recipient address at 0 0 0 0 sends data frames to module s own IP address Any other valid address within the APN is accepted as the recipient 5 2 3 12 Number of login retries Function Data type Range Default value Comments 5 2 3 13 Wait time Function Data type Range Default value Comments Defines max number of login to GPRS network retries Each unsuccessful attempt changes the state of triggering input FS1_ gprs from 0 to 1 and increases the failure counter by 1 After reaching declared value the module displays error code and awaits user action Successful login resets failure counter number Q 255 0 Setting the value to O results in endless retries after disconnection Defines interval in seconds before resuming after failed login attempt number Q 60 s 5 s Setti
112. rnal program 93 7 1 7 1 Standard errors 94 A sign of Standard error occurrence is a lit ERR LED Error code numbers are displayed on Signal level and GPRS LEDs lit r ll r N r UW 1 Modem error GSM network error check antenna connection and SIM card activation in GSM network GPRS network error check SIM card activation in GPRS network Wrong user name or password for GPRS network Log in to GPRS error Connection interrupted SIM card error locked or missing Number of log into GPRS trials exceeded Module blocked Wrong PIN for SIM card 3 5 7 10 11 12 13 14 15 LED flashing 0 5Hz LED off When GPRS LED is off the module is automatically trying reinitiate transmission When GPRS LED is flashing user intervention is required Remove the reason for error and recycle the power 7 1 7 2 Critical errors A sign of Critical error is the flashing of ERR LED Error code numbers are displayed on Signal level and GPRS LEDs r al 4 RAM_N error in CPU AAA Undefined error All LED indicators are flashing RAM_T memory error in CPU O flashing LED 0 5Hz Occurrence of any errors described above indicates either a fault in program or a module defect If a critical error occurs please note the error code and contact the manufacturer 95 7 2 Unblocking of SIM card 8 Three failed attempts of entering PIN code locks the SIM card and requires entering
113. s enabling all full intended functionality of the module 4 3 Inserting SIM card One of the fundamental conditions for proper operation of the module is inserting a SIM card enabling module to send SMS and or packet data in GPRS network The best way to do it is when the power supply disconnected Theoretically the SIM card may be inserted into the module before the first configuration is performed but note that two attempts of entering wrong PIN code the cause module to stop attempting to log into network Should this happen the module has to be unlocked 21 Insert SIM card in cradle and slide it into the slot as depicted below until the gentle click is heard Properly inserted SIM cards secure reliable connection with module s terminals 4 4 Start up After performing the first configuration and inserting SIM card proceed to start up Switch the power supply off and on again to reset the module Well configured MT 100 module logs into GPRS network within 20 30 seconds The login sequence is displayed by diagnostic LEDs at the front panel of the module Explanation of sequence is described in details in LED signaling chapter In case of difficulties when logging into GPRS verify configured parameters and pay attention to LEDs indicating GSM signal level ____ GSM signal strength 1224 V IN allalalis lo l3elel lala 2 2 om inma S a Ln Ll oa Ee A E a ri m EA
114. s possible An additional advantage is potentially high transmission speed up to 170kb s facilitating high data volume transmission GPRS standard supports four channel encoding schemes named respectively CS1 to CS4 with throughput of 9 05 kb s 13 4 kb s 15 6 kb s and 21 4 kb s Reached this way maximal transmission rates though rigidly defined are different depending on the number of connected channels and limited usually to max throughput of 115 2 kb s typically 8x13 4kb s 107 2 kb s and in particular situations even up to 171 2 kb s 8x21 4 171 2 1 3 2 GPRS in telemetry applications GSM GPRS technology is possibly the ideal solution for telemetry and control of dispersed objects The undisputable advantages are Use of an existing advanced structure of GSM transmission structure The gigantic range of the network works everywhere Low cost of establishing and utilizing the system No need for specialized antenna systems The possibility of building networked systems No necessity for retransmission Full access protection on operator and hardware level Cost of transmission system maintenance rests with network operator Easy rescaling and reconfiguration of the system Great availability of various receiving terminals Easy setup of temporary systems Only transmitted data volume is charged For proper operation of terminals GSM GPRS network nodes one needs a SIM card with GPRS service enabled permission to log i
115. s space 1 active O inactive Upon start of the datalogger the first record of actual state is created Switching the Datalogger off triggers transmission of datalogger content to defined recipient but only when it holds records with data 5 2 5 6 2 Sampling interval Function Data type Range Default value Comments Defines in seconds the interval of checking module inputs state number 0 1500 s O s O zero value results in sampling interval of 100ms 5 2 5 6 3 Buffer flush mode Function Data type Range Default value Comments defines Datalogger buffer flush mode selection list Auto Data collected in Datalogger are sent automatically upon filling the buffer up or after Buffer flush interval time The datalogger is zeroed after transmission Upon request Flushing Datalogger buffer is possible only by forcing Auto Flushing of Datalogger buffer may be remotely forced by setting MLOG_rd bit to 1 one in binary outputs space Note that when forcing some data may get lost if querying is too slow compared to object s dynamics If the buffer gets filled between readings new data will replace oldest data so the latest 140 records are preserved 5 2 5 6 4 Buffer flush interval Function Data type Range Default value Comments Defines in seconds the interval of buffer flushing in automatic mode number 0 65535 s O s O zero disables timed flushing In any case the Datalogger is
116. search 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 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 100 10 Appendices 10 1 Data transmission in GSM systems At the moment a subscriber to GSM services has 3 technologies of sending data at his disposal besides voice communication These are SMS CSD and GPRS Since they offer different functionalities a short descriptio
117. ss within the APN List Access limited to addresses defined in the list of Authorized numbers IP for addresses with Configuration option set to Allowed All Note that access restriction configuration applies only to GPRS connection and when used improperly may block remote access for users that should have the right to configure the module 5 2 2 3 Configuration password 26 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 is stored in a safe way and avallable when needed 5 2 2 4 Configuration read disable Function Data type Range Default value Comments blocks reading of module configuration even when using valid password selection list Yes Reading of configuration from the module is impossible No Module is not protected against reading of configuration No This parameter does not influence writing a new full configuration but prevents writing changes if configuration identifiers in the module and in MTM application do not match 5 2 2 5 Data writ
118. sters space used for events reception number 1 700 16 received events registers laying outside defined space are not copied 5 2 5 8 Constant parameters An option of defining Constant parameters under configuration was added for the user s convenience Parameters are loaded to module memory during initialization of the module More in chapter Internal Resources Constant parameters 5 2 5 8 1 Number of parameters Function Defines number of available constant parameters Data type number Range 0Q 128 Default value 0 Comments n a 5 2 5 8 2 Parameter 1 128 Parameters are defined as numbers ranging from 0 65535 5 2 6 Rules 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 data In both cases the criteria are defined by using same resources and conditions of application of the rule 5 2 6 1 SMS 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 Device New module MT 100 General GPRS Authorized numbers Resources Rules Adding more rules is done by setting the parameter number of SMS sending rules to desired
119. sy signal Assuming that measured value will raise from minimum to maximum value unit step value from measurement will achieve X of real value within time specified by table Time of measurement Percent of real value 1 filtering constant 63 2 2 filtering constants 86 5 3 filtering constants 95 0 4 filtering constants 98 2 5 filtering constants 99 3 5 2 5 3 3 4 Engineering units Function Defines a name for engineering units for measured values Data type text Range letters and numerals max 16 characters Default value X Comments inserted text does not have any influence on the value of measured analog signal 5 2 5 3 3 5 Low reference internal units Function used along with other reference parameters for rescaling input signal range to engineering units range Data type number 47 Range Default value Comments 0 65535 0 low reference point for internal units 5 2 5 3 3 6 Low reference engineering units Function Data type Range Default value Comments used along with other reference parameters for rescaling input signal range to engineering units range number 0 65535 400 low reference point for engineering units 5 2 5 3 3 7 High reference internal units Function Data type Range Default value Comments used along with other reference parameters for rescaling input signal range to engineering units range number 1 65535 65535 high reference
120. t module s readiness to perform its duties Modules not logged in GSM GPRS network are not able to transmit data and performs cyclic resets and retries to log in 90 7 1 4 GSM activity Lr E E G oO E G a E E E E HF Hw it i 13 t s ph iF IE y BINARY INPUTS ANALOG INPUTS 12MIN Senne als sakast EM LED indicators Tx and Rx of GSM activity signal respectively transmitting and receiving of data via GPRS Since SMS sending is a form of data transmission both data frame transmission and SMS transmission cause short flashes of Tx LED Short flashes of Rx LED indicate either SMS or data frame reception This is an easy way of detecting transmission activities 7 1 5 GSM signal level o1 az a3 4 5 a8 a7 a8 BINARY OUTPUTS INPUTS Ol cr Jl mT 100 E ANTENA q Ma m ami Tr MM E Ri ee a i I E E E E E HHH it 1 bh t 15 16 1 it BTO POWER BINARY IHPUTS ANALOG INPUTS 1A WIN nliz zals 16 ve 3 INE BA aif g LED indicators of GSM Signal level display information received from GSM network on signal level in the place where the antenna is mounted 91 It is presumed that for reliable operation at least one LED is lit Lower level signal does not guarantee reliable operation and means that antenna placement should be changed or the antenna should be replaced with one securing higher sig
121. tate to be stable number 0 00 163 83 s 0 00 s Setting value appropriate to contact characteristics eliminates disturbance caused by contact bounce thus preventing multiple registration of what is in reality one pulse 5 2 5 3 2 2 4 Binary outputs Binary outputs do not require any configuration 5 2 5 3 3 Analog inputs AN1 AN2 MT 100 Module is equipped with two identical Analog inputs operating in 4 20mA standard 5 2 5 3 3 1 Name 46 Function Data type Range allows setting a friendly name for the input usually connected with performed function Assigned name appears on the terminals list text letters and numerals max 16 characters Default value Resource Name Al A2 Comments entering a friendly name facilitates distinguishing destination performed function and required settings 5 2 5 3 3 2 Operating mode Function defines analog inputs operating mode Data type selection list Range Analog input the input operates as 4 20 mA standard input Default value Analog input Comments Parameter preserved for legacy support not important for operating analog inputs Al A2 5 2 5 3 3 3 Filtering constant Function Defines filter filtering constant Data type number Range 0 0 25 5 s Default value 0 Comments for O zero value filtering is off Setting high time value influences stabilizing of result after signal value change but allows better precision of measuring noi
122. the following dialog window will appear Fill in the relevant data for parameters MI editor config Modem init file aioe PPP password Pin code Connect to GPRS Miodem port l APN Server RS 232 port 2 Internet connection Modem init file Finds and selects the file holding initialization parameters for the GPRS modem used to communicate with remote module APN name States name of the APN where programmed module resides PPP user Parameter has to be defined only if network operator requires it PPP password Parameter has to be defined only if network operator requires it Connect to GPRS Parameter has to be defined only if network operator requires it 59 60 APN server IP address of the computer routing data packets sent via internet Internet connection When selected in conjunction with RS 232 port it sets up the communication via dial up GPRS connection or via routed Ethernet connection This is the optimal way of communication between MTProg and remote modules When unselected it leaves the connection to GPRS modem and MTProg takes care of initializing modem and establishing connection Ping IP address pinged by application in order to maintain internet connection session This address must belong to the same APN as programmed module Can be the programmed module s IP If used leave it at default 0 0 0 0 PIN code Contains PIN code of the SIM card placed in the modem employed to com
123. umber of GPRS transmission retries 1 transmission Timeout For default values MaxT 3 1 12 48s Please notice that calculated value does not define the time of delivery but the time to elapse before the module considers that transmission to appointed IP address is not possible the data will be lost due to unavailability of recipient and moves to sending next data frame awaiting transmission Defines the interval in seconds for sending data frame ping controlling the ability to communicate with the network in case of transmission inactivity number 0 86400 s 24h 240 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 During network check control data frame is sent to module s own IP address respecting timeout and number of retries parameters The length of the frame is 45B length of the module s name The frame is sent to module s own IP address or to the address defined in parameter GPRS testing IP address if different than 0 0 0 0 In Proxy mode the frame is sent to Proxy server IP address No reply to sent frame after exercising defined timeout and number of retries is considered as transmission failure and sets triggering input FS1_gprs 0 gt 1 which can be used for Rules processing SMS sending As a consequence after elapsing of time defined in Wait time after disconnection the module pe
124. us and asynchronous clocks trigger inputs None more about trigger inputs and flags in chapter Appendices defines event triggering flag associated with selected trigger input selection list None rule inactive Bi ln 0 gt 1 Bi In 1 gt 0 Bi ln Chg binary input state change Bi Out Err discrepancy between the forcing and output state Counter counter flip over up or down An LoLo An Lo An Hi An HiHi An DB alarm threshold flags for analog inputs signals None more about trigger inputs and flags in chapter Appendices selects recipient s IP address selection list friendly names of recipients associated with IP addresses in Authorized numbers list IP1 first number on the list since recipient s IP address is selected from the list of friendly names it is important to enter unique unambiguous names facilitating identification defines data type sent in transmission triggered by defined rule List Status Module Status will be sent Buffer Hold Reg Registers from modules internal registers space will be sent Defining the transmitted space is required Buffer Inp Reg Registers from module input registers space will be sent Defining the transmitted space is required Status n a 57 5 2 6 2 1 1 5 Buffer address Function Defines start address of internal registers space sent in transmission triggered by defined rule Data type number Range Q 8191 Default value 64 Comments n a 5 2 6 2 1 1 6
125. utput Q1 is set high In MTManager the rule triggered by Q1 sending SMS is defined Simultaneous to 11 going high the timer 1 is activated and counts to PV_T1 amounting 600 6 seconds starts Upon reaching PV_T1 the flag T1 is set and subsequently Q1 is set As a result of the rule an SMS message is dispatched Until 15 is activated or 11 deactivated SMS messages will be regularly dispatched 86 MT program editor AE File Edit Module Help pen JANE EX E execute store expression result copy A value copy boolean X Exit copy boolean X copy boolean X copy boolean X L copy boolean X MULE EW Module dissconnected ala Coml in entia 6 14 8 Motion detector The motion detector is connected to I1 and light source to Q1 When I1 is activated the module turns the light on for 10 seconds Repeated activation of I1 resets the time count back to 100 seconds E MT program editor File Edit Module Help Beb gaari EN E execute gal get store expression result copy X value LA copy boolean X copy boolean X De copy boolean X ana ES ca L copy boolean X ER ER aadli ES E E i Module dissconnected ala Comi 6 14 9 Logger program An example of creating 512 elements logger for AN1 with 1 sec interval activated when I1 1 87 MT program editor File Edit Module Help ak T om e e le copy X value copy 2 value UE is A not equal to Y RTC Sec REG ml Exit copy X
126. value RTC sec F Exit Buffer copy AREG copy X value AN JAE MULE EW Js T 3 4 5 1 2 0 Module dissconnected ala Come in entia 7 Problem solving 7 1 LED signalling LED indicators placed on front panel of the MT 100 module are very convenient during start up procedure In order to understand their message please get acquainted with error codes Outputs inputs Q1 98 uguugu naL GSM status GSM signal strenght GSM activit Inputs 11 18 BIMARY INPUTS ANALOG INPUTS TERAV IN nhzhshalishelhrhsglglelel lalglel e E El gt G E e T E a E E mar a 38 7 1 1 Inputs Outputs Q1 Q8 S co co r o Sea ee ee ee E Outputs inputs Q1 Q8 r mas Hi g cr Cit AA MT 1 00 A Gaal ACTIATY Status nis Tt m m Ri air mwa m E E E E E E fim E ii tf ik b 1h bh iF di BiT POWER BINARY INPUTS ANALOG INPUTS _feleahelebelololaiale F alla ee a Se ee ee ee MO ee EL a s 419 13 5 7 LED indicators for outputs inputs Q1 Q8 group signal both High state of forced output signal and High state of input signal in cases where output Q1 Q8 operates as binary input Visual evaluation of current input output state makes working with the module much easier Flashing 2 Hz output LED signifies that there is a discrepancy between intended output state and its actual state This usually occurs when the loa
127. vuencoetacuscessonvsstsvasonees sayatdeavan dante convouenvetovetescutavenendeaseseeneeavans 7 3 MODULE DESIGN ri A AAA AAA IEA Ras A 8 Sl MOPOGRAPHY el dolida dario lada 8 Died RESOURCES AA AAA AAA 8 BZ Ls BIO IO PUES AAA AAA AA AA AAA AAA AA AAA AA AAA AA 9 FAZANA J IOUT AAA A AE EETA EA EAT E ina aad oases 9 32o DINO OUMU a TE E T E NA 9 LSO DO ati ii iia 10 FL SOHO A O A O O A O RA 10 o INTERNAL RESOURCES coat niad 11 De Dede REISTE PS POP o O RATO 11 DEV AS a 11 O A a A E A EEE A vaooiaidds betixalen sound ohenscdualeodeaxadanaauatenteas 11 eC OU E A A 11 A A O 12 SO IMITA U T E A A Ai ita 12 3137 CONSTANTE DOI OQIMCCEIS idilio 12 EA Biaalaaec Paes dhe oe a eet TAE oS aac Teast A weabiies 12 Sd LED DIODES ina IIA ARI dos 13 Dee SIV CARD SAA ASA ARA 13 ANTENA A A AAA A 13 SAPONE UPPE cet crassa staican a A ede otto scat cates ae tetewee stares T a aatsuaeaaR Ree 14 DOs td USING feet e alto ede a cal hae a le Matus teane Dae tt dial aauiiauer 14 3 9 CONNECTIONS SCHEME id AAA AAA aos 14 IABIN Y INPUTS TA a ici 15 3 92 BINGHY INPUTS OUL puts ODE A Sa 15 BD SAN GIOG IA PUES ALS AL ios 16 SD COIN TINEO TON DOES e 17 39 9 POWEP SUI A di 18 A STARTING THE MODULE sra oa AA NARRAR IDO aia eses 19 A CONNECTING ANTENNA suero llo atve 19 AP ER CONFIG URANO IN A AAA AAA AAA ASA 20 AS INSERTING SIM CARD riran aA N A A A E 21 a Ma S E E A E AEE eE 22 S CONFIGURATION a E N AE E A 23 Dyke GENERAL INFORMATIONS cacaccicciceacestascocnanssice v
128. y supply 3 8 Housing MT 100 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 3 9 Connections scheme 14 This chapter shows standard configurations of connections securing proper operation of MT 100 module integral inputs in all available operating modes 3 9 1 Binary inputs I1 18 Integral binary inputs marked as I 1 18 may work in both positive and negative logic making circuit design very easy Binary inputs I1 18 in positive logic BINARY INPUTS ANALOG INPUTS 12 24 V IN Each of binary inputs 11 18 may operate as a counter input or analog input with frequency conversion to analog value The change of input operating mode is done during configuration Typical connection for counting input is identical to standard input connection for both negative and positive logic The only difference lies in counting of pulses appearing on the input and storing the result in a 32 bit register assigned to this input Binary input operating in analog mode has slightly different connection It is assumed that the signal is a square wave with variable frequency in range 0 2kHz where momentary frequency corresponds to measured analog value The wave usually comes from a converter exchanging measured analog value to proportional fr

Download Pdf Manuals

image

Related Search

MT 100 user manual yamaha mt100 ii manual muddy mtc 100 manual gt 100 manual pdf mt manager user manual muddy mtc100 instruction manual how long is a mt100 bobcat mt100 service manual pdf mt5 user manual pdf bobcat mt100 manual pdf bobcat mt100 service manual bobcat mt100 owners manual mt 100 for sale muddy mud mtc100 manual muddy mtc 100 set up mt standard user handbook mt 100 mini track loader ht100 code reader manual motorola mt1000 programming software how to set up a muddy mtc100

Related Contents

Honeywell PCR-100 User's Manual  Samsung ME40C/TP40C (販売終了) ユーザーマニュアル  301511EK LACIE5 BIG NETWORK  Oreck 3323-8889REVK User's Manual  Manual SENSOTOX2  APC Symmetra LX 13U left side panel  BOSCA MANUAL SEGURIDAD PARA EL USUARIO  取扱説明書      

Copyright © All rights reserved.
Failed to retrieve file