background image

 

 

                                   

MD-109 User Manual 

39 

 

Step 3: Communication between MD-109 and mServer   

After configuration and reboot, MD-109 will automatically connect to 
mServer data center. The green indicator light will flash slowly and 
then quickly, and at last it will light all the time, then this means 
MD-109 has connected to the data center. At this time, in mServer 
the status of this device will show "Online".   

   

Figure Appendix 1-3: Device shown online in mServer   

   

mServer provides various kinds of interfaces that the user end 

program can connect to, for example, TCP    port, physical serial port, 
and virtual serial port. The mostly used interface is virtual serial port. 
In mServer, map MD-109 to virtual serial port, then open this virtual 
serial port with COM or other serial port software to communicate with 
the serial port devices that connect with MD-109.   

Содержание MD-109 2G DTU

Страница 1: ...G 3G 4G DTU User Manual eTung Technology Co Ltd 305 Gengfang Plaza Jia 13 Huayuan Road Haidian Dist Beijing TEL 4008 909 611 FAX 010 64857815 Website www etungtech com cn Copyright 2005 2016 ALL RIGHTS RESERVED ...

Страница 2: ...ks supported by the models are listed in the table below Model Network MD 109T China Mobile China Unicom and China Telecom s 2G 3G 4G 7 kinds of network standards MD 109W China Unicom s WCDMA MD 109E China Telecom s EVDO MD 109G China Mobile and China Unicom s GPRS MD 109C China Telecom s CDMA2000 ...

Страница 3: ...n 13 1 7 Technical Advantages 14 1 8 Typical Usecases 15 2 Device Configurations 17 2 1 Configurations 17 2 1 1 Preparation 17 2 1 2 Configuring MD 109 17 2 2 Configuration Parameters 21 2 3 Restore to Default 24 2 4 Firmware Update 25 2 5 Remote Configurations 27 Appendix 1 Usecase of Point to Data Center Testing 36 Appendix 2 Usecase of eYun Serial Port Testing 41 Appendix 3 Building Data Center...

Страница 4: ...cation device and user device installed separately has not only bigger space usage and the outlook has no integrity but also the installation training and debugging are more complicated eTung s MD 109 has smaller size and flexible interfaces and can be quickly embedded into user device thus integrates the user device and wireless device into one product The launch of MD 109 will definitely lead th...

Страница 5: ... meter or other electric application devices to implement wireless applications such as reactive compensation distribution monitoring electric meter reading and lamp monitoring In heating industry MD 109 can be quickly embedded into m BUS concentrator to implement integration of concentrator and wireless communication device In water application industry MD 109 can play in wireless communication a...

Страница 6: ...MD 109 User Manual 6 1 2 Product Outlook Figure 1 1 MD 109 outlook ...

Страница 7: ...MD 109 User Manual 7 1 3 Standard Accessories Figure 1 2 GSM sucking antenna Figure 1 3 3G 4G all frequency sucking antenna ...

Страница 8: ...MD 109 User Manual 8 Figure 1 4 MD 109 Console serial line Figure 1 5 MD 109 Power line Figure 1 6 Power supply ...

Страница 9: ...MD 109 User Manual 9 Figure 1 7 MD 109 wire connector illustration RS 232 1 4 Dimension Figure 1 8 MD 109 switchboard dimension 1 ...

Страница 10: ...ata center in MD 109 it dials in 2G 3G 4G wireless network to access the internet then it establishes connection to the preconfigured IP address and port i e mServer s listening port On the other hand the user software system connects to the mServer via virtual serial port thus implements the wireless and bi directional data communication between user device and user software system ...

Страница 11: ...TD SCDMA B34 B39 CDMA2000 1x EVDO BC0 GSM GPRS EDGE 900 1800 MHz 100 80mA 12V DC 40º C 85º C MD 109W Single Band UMTS HSPA 2100MHz Quad BandGSM GPRS EDGE 850 900 1800 1900MHz 100 80mA 12V DC 30º C 75º C MD 109E CDMA2000 1x EVDO RevA 800MHz 100 90mA 12V DC 30º C 75º C MD 109G Quad BandGSM GPRS EDGE 850 900 1800 1900MHz 100 50mA 12V DC 40º C 85º C MD 109C CDMA2000 1x 800M 1900MHz 80 40mA 12V DC 40º ...

Страница 12: ...apping to save wireless bandwidth Stability Host CPU 32 bit ARM processor Built in soft hard watch dog Built in TCP IP protocol stack Data Center Support domain name Compatible with various data center software Configuration Configurable via serial port Configurable via hyper terminal with menus ...

Страница 13: ...nnecting to data center Flash slowly Dialing Sending LED2 Red Flash Transferring data Standby Turn off No data transfer Power LED3 Red Always light Power on Extinguished Power off Table 1 2 MD 109 indicator light description 1 6 3 Serial Port Definition Connector Vin GND B A RXD TXD GND Definition Power Power GND B RS 485 A RS 485 RXD RS 232 in TXD RS 232 out Serial Port GND Table 1 3 MD 109 seria...

Страница 14: ...hat supports RS 232 and RS 485 and the serial port type RS232 or RS485 can be configured via DTU configuration software or remote control Support point to point and multipoint to point communication with 2G 3G 4G wireless network at both ends Support connecting to 4 data centers at the same time Support sending SMS Support 2G 3G 4G and SMS as backup Support modifying DTU configurations via SMS Sup...

Страница 15: ...8 Typical Usecases Figure 1 11 MD 109 multiple points to data center Figure 1 12 MD 109 one point to multiple data centers Figure 1 13 MD 109 implements point to point via terminal mapping within mServer serial to serial port ...

Страница 16: ...MD 109 User Manual 16 Figure 1 14 MD 109 implements point to point with embedded data center serial to serial port ...

Страница 17: ...ial line used to connect MD 109 and PC 3G all frequency antenna MD 109 dedicated power line and power supply one SIM card from China Unicom that applies 3G and can access internet 2 1 2 Configuring MD 109 Connect MD 109 dedicated serial line and dedicated power line to the wire connector The wire sequence is as bellows Serial Power wires color MD 109 connector Dedicated console line Green RXD Whit...

Страница 18: ...from the CD or by downloading from eTung website http www etungtech com Click button Settings in the upper side of the user interface and in the popup dialog with title Settings select the serial port that is used to configure MD 109 then click OK Figure 2 2 Setting serial port Click Start configuration based on the prompt and power on ...

Страница 19: ...you have built your own server Press Enter then the second configuration item appears Data center port 8080 input mServer s listening port 8080 or press Enter directly to use the default value in the bracket This port is the public port of eTung server input your own port if you have built your own server or leased a dedicated port Figure 2 3 Setting domain or IP and port of data center If eTung c...

Страница 20: ...D 109 User Manual 20 Figure 2 4 Configuring username Click Enter repeatedly until the prompt Configuration complete appears then the configuration of MD 109 is complete Figure 2 5 Configuration complete ...

Страница 21: ...will be used For example 15 digit bit 5 6 7 8 8 Order number Name and unit Optional values Default value Below are the configuration items with MD 109W V3 0 4 Different versions may have different configuration items Configuration Menu Item Description Restore to default Y N N Configure to restore to default or not 1 Data center domain or IP address eyun etungtech com Configure data center IP addr...

Страница 22: ...t connect mServer self define heart beat package 9 Serial port output connection information Y N N Configure whether to output connection information from serial port N by default i e do not output information If Y DTU will output from serial port STATUS 1 r n after connection and STATUS 0 r n after disconnection 10 DNS Server Configure DNS server blank by default and DTU will automatically acquir...

Страница 23: ...after power on and when data need to be sent from serial port it will be triggered to dial and connects data center and after online upon request if there is no data transfer in continuous 5 minutes it will disconnect Online upon request includes wakeup online functions that is when no data need to be sent from serial port and it does not connect after power on it can be triggered to dial and conn...

Страница 24: ...erial port when transferring data 22 Serial port type 232 485 232 Configure serial port type when transferring data 232 by default 23 Debugging mode Y N N Configure whether DTU is running in debugging mode It will output debugging information under debugging mode but DTU cannot transfer data in debugging mode Check signal quality Y N N Configure whether to check signal quality where DTU is located...

Страница 25: ...g for firmware software According to the description of Configuring MD 109 connect MD 109 with PC via dedicated console serial line run MD 109 configuration executable and set the serial port used to update MD 109 Click Select file then select the file bin to update and click Open ...

Страница 26: ... file to update Click Start to update then power on the device quickly within 30 seconds Figure 2 8 Firmware Update After update is complete the device will reboot automatically then in the user interface a prompt Update finished will appear ...

Страница 27: ...cause MD 109 can detect whether SMSs for configurations are received or not only when it is dialing and then updates its IP and port accordingly 2 Format of SMS configuration is 1234 IP domain port for example 1234 www chuankoutong com 8080 is semi colon in English 1234 is the initial password In order to change the password MD 109 must be connected to PC via serial port enter MD 109 configuration...

Страница 28: ...Methods Select the device in mServer right click it and select Remote Configuration at the left part of the dialog input the following command in Command List AT MSERVER IP PORT For example AT MSERVER eyun etungtech com 8080 After that click button Run if all operations are correct in the list of Response at the right part an OK will appear Then MD 109 will be offline from this mServer and connect...

Страница 29: ...ands In MD 109 2 4 0 and higher versions some parameters such as baud rate can also be configured remotely Details are described below 1 Support AT SERPORT baud rate data bit parity checking stopping bit flow control to change attributes of the serial port Details are ...

Страница 30: ...al to set DTU s heartbeat parameter the heart beat timeout is set automatically to 3 times of heart beat interval MD 109 2 4 7 and higher versions support the following list of AT commands 1 AT 2 AT MSERVER addr port Set address and port of the new data center 3 AT UPDATE url md5 Send command of firmware update 4 AT REBOOT Reboot 5 AT UPDATEALL url md5 Send command of firmware update and clean all...

Страница 31: ...OTE MD 639E does not support this command 15 AT OPER Check operator s name MD 109 2 6 2 and higher versions support the following new AT commands compared to version 2 4 7 1 AT UPTIME Check device running time 2 AT SMSPING PN ASK DTU to send an SMS to PHONE_NUM with contents as DTU s IMEI 3 AT SMSZHUANFA txt info_src dest Ask DTU to send an SMS with content txt characters in English and digits onl...

Страница 32: ...tionally support the following SMS configuration command 1234 AT command s There can be multiple AT commands the SMS password and AT command and AT commands are separated with semi colon If there are multiple AT commands and some AT command is regarded as error the following AT commands afterwards will not be handled and will reply with ERROR The configuration AT commands take into effect after re...

Страница 33: ...alling account passwd dialling password the dialing account must be changed together with dialling password 3 AT DC addr port user mode Configure data center parameters with reply OK or ERROR addr data center address either IP or domain port data center port user username mode TCP or UDP 4 AT SVR type reg hb type connect mServer or not 0 do not connect mServer 1 connect mServer reg self defined re...

Страница 34: ...h reply OK or ERROR The reply OK does not mean update is complete but the command has been received and the update will start The device will download the firmware first and check MD5 and then perform update To check whether update is successful send AT INFO after 5 minutes and check whether the firmware version is changed 10 AT UPDATEALL url md5 Update firmware and restore to default settings wit...

Страница 35: ...MD 109 User Manual 35 OK IMEI version signal strength net mode ...

Страница 36: ...install and run mServer in a PC that can access internet In this usecase the PC accesses internet via leased line and domain is www chuankoutong com 2 Run mServer software and click button Server Configuration in the upper part of the user interface Figure Appendix 1 1 mServer server configuration 3 Based on the actual requirement set mServer listening port for MD 109 and communication protocol i ...

Страница 37: ...ening port and click OK Figure Appendix 1 2 Configuring mServer listening port Items description in System Settings DTU Connection Settings part used to set listening port and protocol that MD 109 connects to 1 Link Mode communication protocol used between MD 109 and mServer normally set ...

Страница 38: ...en set the number of DCC clients that can connect to mServer and the port used to connect to mServer This port is used to listen DCC s connection to mServer while the listening port in the description above is used to listen MD 109 s connection to mServer these two ports must not be the same 2 DCC Authentication Required checkbox Please check this item if authentication is required when DCC connec...

Страница 39: ...nter At this time in mServer the status of this device will show Online Figure Appendix 1 3 Device shown online in mServer mServer provides various kinds of interfaces that the user end program can connect to for example TCP port physical serial port and virtual serial port The mostly used interface is virtual serial port In mServer map MD 109 to virtual serial port then open this virtual serial p...

Страница 40: ...MD 109 User Manual 40 Figure Appendix 1 4 Map virtual serial port ...

Страница 41: ...gister a vircom eYun account Email address must be input correctly and after registration you will receive an email with a link in it and you can click the link to activate the account Figure Appendix 2 1 Apply eYun account Step 2 Login vircom and add terminal 1 Run vircom and click Settings then input the new applied username and password ...

Страница 42: ... based on its IMEI number then choose it and click button ADD DTU At this time the terminal will be shown in the terminal list Attention if the terminal is not shown in the terminal list that could be added you need to add the terminal manually based on the description of chapter 2 1 Configuring MD 109 to configure username on the terminal or you can contact eTung technical support to solve the pr...

Страница 43: ...igure Appendix 2 3 Add terminal Step 3 Set terminal s serial port properties and serial port type In vircom we can check and modify the terminal s serial port properties and serial port type By default the serial port type is ...

Страница 44: ...s shown in the popped up dialog we can change the value upon request and then click Set There is no need to reboot the terminal to apply the change it will be effective immediately Figure Appendix 2 4 Set DTU serial port type Similarly we can check and modify the terminal s serial port properties to be the same set on devices The procedure is shown below right click the terminal and choose Set DTU...

Страница 45: ... it will be effective immediately The properties that can be configured include baud rate data bits parity and stop bits Figure Appendix 2 5 Modify terminal s serial port properties Step 4 Map a virtual serial port on the terminal Find the device to be tested via IMEI and click Add Mapping to map this device to a virtual serial port Then open this virtual ...

Страница 46: ...MD 109 User Manual 46 serial port with relevant software to communicate with the devices that connect to MD 109 Figure Appendix 2 6 Map virtual serial port in vircom ...

Страница 47: ...s via dialing This IP address can be checked with system command ipconfig or by accessing http www ip138 com When accessing internet via ADSL the IP address is not always the same after PC reboot the IP address will probably change so it does not make sense to configure IP address in MD 109 in this case We recommend apply dynamic domain then configure the domain name in MD 109 Please access Oray h...

Страница 48: ...ic domain then configure the domain name in MD 109 Please access Oray http www oray cn or Gnway http www gnway com to check how to apply and use the dynamic domain name Configuring port in this case it is required to configure port mapping in the router to the PC port 9000 where mServer is running or address mapping to 192 168 1 10 so that MD 109 can access mServer If port mapping is made the port...

Страница 49: ...t via private network LAN Configuring IP or domain in this case the data center IP address to be configured in MD 109 is the router s WAN IP address Configuring port in this case it is required to configure port mapping in the router to the PC port 9000 where mServer is running or address mapping to 192 168 1 10 so that MD 109 can access mServer If port mapping is made the port configured in MD 10...

Страница 50: ... Mode and SMS Format to send SMSs 3 AT EXITSMS r Exit SMS mode 4 AT SMS target number encoding format data length data r Send SMS refer Appendix 5 DTU SMS Mode and SMS Format for the format of the command 5 AT OPER r Query the operator 6 AT CSQ r Query strength of the signal it will return a value within 0 31 bigger value means better signal 7 AT IMEI r Query IMEI number 8 AT VER r Query version o...

Страница 51: ...s the following AT commands 16 AT TIME r Query DTU s system time with reply TIME 2014 10 31 11 11 44 OK Attention this command can only be used when DTU is connected to mServer and cannot be used in transparent mode Use case of AT commands at serial port configure DTU with customer s serial device Normally we use dtucfg software provided by eTung to configure DTU as described in 2 1 Configurations...

Страница 52: ...Order Description Default Value 1 Data center domain IP eyun etungtech com 2 Data center port 8080 3 Username N A 4 APN N A 5 Protocol UDP TCP TCP 6 Connect mServer Y N Y 7 Self defined registration packet without mServer N A 8 Self defined heartbeat packet without mServer N A 9 Serial output connection information N 10 DNS server N A 11 Dialup account 3G 12 Dialup password 13 ID 13901234567 14 Co...

Страница 53: ...hinese cannot exceed 70 words AT commands must end with CR 0x0d expressed below as r 1 Enter exit SMS mode with AT commands 1 Send the AT command below on the serial port to enter SMS mode AT ENTERSMS r DTU will send the following reply r nOK r n 2 Send the AT command below on the serial port to exit SMS mode AT EXITSMS r DTU will send the following reply r nOK r n 2 Using AT command to send short...

Страница 54: ...es will be output via the serial port in the format below 1 Format for SMS messages received with ASCII encoding If the content of received SMSs is in ASCII format the output is in the following format r n SMSA phone number data length data r n Examples 1234 received from 13812345678 in ASCII format r n SMSA 13812345678 4 31323334 r n If the received SMS has more than one message the format is as ...

Страница 55: ... the received SMS has more than one message the format is as below r n SMSL identifier total sequence number phone number encoding format data length data r n The messages with the same identifier can be assembled into one long SMS For example a long SMS is received from 10001 with identifier 05000376 total 4 messages and below is the fourth message r n SMSL 05000376 4 4 10001 3 6 007600793002 ...

Отзывы: