Advertisement

Quick Links

MD-309 2G 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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MD-309 2G DTU and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for eTung MD-309 2G DTU

  • Page 1 MD-309 2G 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...
  • Page 2 MD-309 User Manual This manual applies to the following DTU models, and the corresponding networks supported by the models are listed in the table below: Model Network MD-309G China Mobile and China Unicom’s 2G MD-309C China Telecom’s CDMA2000...
  • Page 3: Table Of Contents

    MD-309 User Manual Table of Contents Product Introduction ....................... 4 Brief Introduction ......................4 Product Outlook ......................6 Standard Accessories ....................7 Dimensions ........................9 Working Mechanism ....................11 Specifications ....................... 11 1.6.1 Technical Parameters ..................11 1.6.2 Indicator Light Description ................12 1.6.3 Serial Port Definition ..................
  • Page 4: Product Introduction

    7. Technical Advantages 8. Typical Usecases 1.1 Brief Introduction MD-309 is a 2G DTU produced by eTung in 2010. It can greatly reduce customer’s DTU procurement and integration cost, and has industrial-grade stability and reliability as well. MD-309 has more reasonable cost control, with lower price;...
  • Page 5 MD-309 User Manual It can work within -35º C~+70º C temperature range. MD-309 can connect quickly with RTU, PLC, or IPC, and implement remote and transparent data transfer. It can be used widely in various industries related to “Internet of things”: ...
  • Page 6: Product Outlook

    MD-309 User Manual  1.2 Product Outlook ③ Antenna pedestal ① Serial port RS232/48 5 ⑧ installation ② DC power handle interface Figure 1-1: MD-309 side view 1 ⑤ SIM card holder ⑦ indicator light green, red ⑥ button used for eject ing ⑧...
  • Page 7: Standard Accessories

    MD-309 User Manual Figure 1-3: MD-309 top view without shell 1.3 Standard Accessories Figure 1-4: 2G sucking antenna...
  • Page 8 MD-309 User Manual Figure 1-5: 9-pin and 9-hole direct serial line Figure 1-6: Power supply...
  • Page 9: Dimensions

    MD-309 User Manual 1.4 Dimensions Figure 1-7: MD-309 dimension with shell...
  • Page 10 MD-309 User Manual Figure 1-8: MD-309 dimension without shell 1 Figure 1-9: MD-309 dimension without shell 2...
  • Page 11: Working Mechanism

    MD-309 User Manual 1.5 Working Mechanism Figure 1-10: MD-309 working mechanism After configuring IP address (or domain name) and port of the data center in MD-309, it dials in GPRS or CDMA wireless network to access the internet; then it establishes connection to the preconfigured IP address and port(i.e.
  • Page 12: Indicator Light Description

    MD-309 User Manual  Communication  Adjustable baud rate on data interface  Support hard flow control on serial interface  Support standard TCP/IP protocol with both TCP and UDP  Adjustable heart-beat interval and time-out value  Support always online ...
  • Page 13: Serial Port Definition

    CTS(out) Table 1-3: MD-309 serial port pin definition 2.1 Technical Advantages eTung DTU products are advanced not only from hardware industrialization, design rationality, software convenience, and usage flexibility, but also from working stability. Its technical advantages are easy to see: ...
  • Page 14 MD-309 User Manual  Support 2G APN name auto-adaption  Support LBS location  Support eYun platform, server building not needed and plug-and-play  Support chuankoutong, virtual serial port programming not needed...
  • Page 15: Typical Usecases

    MD-309 User Manual 2.2 Typical Usecases Figure 1-11: MD-309 multiple points to data center Figure 1-12: MD-309 one point to multiple data centers...
  • Page 16 MD-309 User Manual Figure 1-13: MD-309 implements point to point via terminal mapping within mServer(serial to serial port) Figure 1-14: MD-309 implements point to point with embedded data center (serial to serial port)
  • Page 17: Device Configurations

    MD-309 User Manual 2. Device Configurations This chapter introduces how to use MD-309 and related parameters, with MD-309G as example. 1. Configurations 2. Parameters 3. Restore to default 4. Firmware Update 5. Remote Configurations 2.1 Configurations 2.1.1 Preparation  Serial line used to connect MD-309 with PC or user devices ...
  • Page 18 (or press Enter to use the default value in the bracket. The default value is eTung server domain, please input your own domain or IP address if you have built your own server).
  • Page 19 MD-309 User Manual 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-2: Setting domain(or IP) and port of data center  If eTung chuankoutong eYun version is used, configure the applied username in MD-309.
  • Page 20: Configuration Parameters

    MD-309 User Manual Figure 2-4: Configuration complete Attention: I n reality, MD - 309 connects user devices via serial port, so serial p ort attributes and type need to be configured in order to match user device serial port. 2.2 Configuration Parameters Each configuration menu item of MD-309 includes the following items (those with * are mandatory), details are in the following: *Order number: includes digit and right bracket, for example...
  • Page 21 1) MSERVER DN/ IP ADDR Configure data center IP address or (eyun.etungtech.com) domain 2) MSERVER PORT (8080) Configure data center port 3) ACCOUNT (etung) Configure applied eYun username, it is only required to configure if chuankoutong eYun version is used. 4) APN name ()
  • Page 22 MD-309 User Manual port, N by default, i.e. do not output information. If Y, DTU will output from serial port "+STATUS:1\r\n" after connection "+STATUS:0\r\n" after disconnection. 10) DNS Server() Configure DNS server, blank by default and DTU will automatically acquire server from operator network.
  • Page 23 MD-309 User Manual Connection mode[1:always Configure connection mode. Always online/2:wakeup online/3:online online means after power on it upon request] keeps connected with data center, auto connects after disconnection; Wakeup online means it does not connects after power on, and dials and connect when receiving wakeup SMS or wakeup call(wakeup phone number and wakeup password need to...
  • Page 24 MD-309 User Manual 16) SMS wakeup password (1234) Configure password used for SMS wakeup when connection mode is wakeup online. If SMS wakeup is required, the SMS used to wakeup must use this password. At the same time, this password is also the password used to configure the SMS.
  • Page 25: Restore To Default

    Figure 2-5: Restore to default 2.4 Firmware Update  Ask eTung for firmware software  According to the description of "Configuring MD-309", connect MD-309 with PC via 9-pin 9-hole serial line, run MD-309 configuration executable, and set the serial port used to update MD-309.
  • Page 26 MD-309 User Manual Figure 2-6: Select file to update  Click "Start to update", then power on the device quickly within 30 seconds. Figure 2-7: Firmware Update...
  • Page 27: Remote Configurations

    MD-309 User Manual  After update is complete the device will reboot automatically, then in the user interface a prompt "Update finished" will appear. Figure 2-8: Update complete 2.5 Remote Configurations SMS or AT commands can be used on MD-309 to remotely modify the IP address and port of the data center.
  • Page 28 MD-309 User Manual configuration menu, and change "SMS wakeup password" (default is 1234). Please pay attention, this password allow only digits or characters in English or the combination of them. Figure 2-9: Set SMS password 2. Use AT commands to remotely modify IP address and port within MD-309 1) In order to use AT commands to modify IP and port within MD-309, the MD-309 must appear online in mServer.
  • Page 29 MD-309 User Manual Figure 2-10: Remote configuration with AT commands In MD-309 2.2.9 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.
  • Page 30 MD-309 User Manual checking,stopping bit,flow control", to change attributes of the serial port. Details are: Baud rate: 300 - 115200 Data bit: 5,6,7,8 Parity checking: N(No checking), E(Even checking), O(Odd checking), M(Mark checking), S(Spacing checking) Stopping bit: 1, 1.5, 2 Flow control: N(No), H(Hard), S(Soft) To change baud rate only, the command can be simplified to "AT+ SERPORT =baud rate", for example "AT+ SERPORT...
  • Page 31 MD-309 User Manual 9. AT+SET=n,value Set the value of item with order number n 10. AT+GET=n Check the value of item with order number n, n=0 means to get values of all items. 11. AT+RESTORE Restore to default 12. AT+CSQ Check signal quality.
  • Page 32 MD-309 User Manual MD-309 2.4.7 and higher versions support more SMS configuration commands as listed below: The contents of SMS must be characters in English and digits in single byte, and cannot be double byte. 1. AT+RESTORE Restore to default, this is mainly used when the SMS password was changed.
  • Page 33 MD-309 User Manual For those AT commands that have multiple parameters, all parameters cannot be writen, and just write those that need to configure; if some parameter is not changed, put two continuous colons, and if some parameter need to clear, put a space. For example: AT+WN=3gnet (configure only APN and keep other...
  • Page 34 MD-309 User Manual hb: self-defined heartbeat packet when not connecting mServer, and set “NULL” to clear self-defined heartbeat packet 5. AT+SERPORT= baud,data_bits,parity,stop_bits,type Baud: baud rate (2400/4800/9600/19200/38400/57600/115200) data_bits: data bits (5/6/7/8) parity: parity checking (N: None/E: Even/O: Odd) stop_bits: stop bits (1/2) type: serial port type, for DTU that supports RS232 and RS485 at the same time, configure this parameter to set serial port type(RS232/RS485)
  • Page 35 MD-309 User Manual 11. AT+CFG? DTU will reply as follows: OK;item 1;item2;… 12. AT+INFO? DTU will reply as follows: OK;IMEI;version;signal strength;net mode...
  • Page 36: Appendix 1: Usecase Of Point To Data Center Testing

    Step 1: Build mServer data center 1) Find mServer installation package either from the CD or by downloading from eTung website (http://www.etungtech.com.cn), then 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.
  • Page 37 MD-309 User Manual MD-309. In this usecase, select TCP for link mode, and 8080 for listening port, and click "OK": Figure Appendix 1-2: Configuring mServer listening port Items description in "System Settings"  "Service Settings" part: used to set listening port and protocol that MD-309 connects to.
  • Page 38 MD-309 User Manual it to "TCP". Please make sure to set the same communication protocol in MD-309 as in mServer if you want to change it. 2) Listen port: set the port that MD-309 uses to establish connection to mServer. In case of single host accessing the internet, the port set in MD-309 is the listening port in mServer.
  • Page 39 MD-309 User Manual Step 3: Communication between MD-309 and mServer After configuration and reboot, MD-309 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-309 has connected to the data center.
  • Page 40 MD-309 User Manual Figure Appendix 1-4: Map virtual serial port...
  • Page 41: Appendix 2: Usecase Of Vircom Testing With Eyun Platform

    MD-309 User Manual Appendix 2: Usecase of Vircom Testing with eYun platform Step 1: Apply eYun account Access website http://eyun.etungtech.com, to register 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.
  • Page 42 Attention: the terminal to be added must be online and does not belong to any user, otherwise it cannot be added successfully. And if it is not added successfully, you need to add the terminal manually using terminal configuration software, or: you can contact eTung technical support to solve the problem.
  • Page 43 MD-309 User Manual Figure 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 RS232, and if the device that connects to DTU has RS485 serial port, modify DTU’s serial port type to RS485 so that they are the same.
  • Page 44 MD-309 User Manual 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 COM properties”;...
  • Page 45 MD-309 User Manual 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 serial port with relevant software to communicate with the devices that connect to MD-309.
  • Page 46 MD-309 User Manual Figure Appendix 2-6: Map virtual serial port in vircom...
  • Page 47: Appendix 3: Switching Rs-485 To Rs-232

    1) RS-485 to RS-232 Convertor This method requires a RS-485 to RS-232 convertor (as shown in Figure Appendix 3-1), as well as an adapter line from RS-485 to RS232 (as shown in Figure Appendix 3-2), this line is delivered for free by eTung when...
  • Page 48 MD-309 User Manual customer buys devices the first time. Figure Appendix 3 - 1: RS - 485 to RS - 232 Convertor Figure Appendix 3 - 2: Adapter line from RS - 485 to RS - 232 Connect the 9-pin end of the adapter line to the 9-hole serial port of the device, connect the other end of the adapter line to the 9-pin end of the convertor (not including convertor terminal) as shown in Figure Appendix 3-3, and then connect the 9-hole end of the convertor to PC.
  • Page 49 MD-309 User Manual Figure Appendix 3-3: connection diagram 2) 9-pin adapter serial line(RS-485 serial line) This method requires RS-485 to RS-232 convertor, and 9-pin adapter serial line (as shown in Figure Appendix 3-4). Figure Appendix 3-4: 9-pin adapter serial line First, connect the red and yellow line of the line end on 9-pin adapter serial line to the convertor terminal of the convertor, the order is: plug the red line into T/R+ port of the terminal, and yellow line into T/R- port of the...
  • Page 50 MD-309 User Manual Figure Appendix 3-5: Line connection order Then, connect the 9-pin end of the 9-pin adapter serial line to the interface of RS-485 device, and connect 9-hole end of the RS-485 to RS-232 convertor to PC, as shown in Figure Appendix 3-6. Figure Appendix 3-6: 9-pin adapter connection diagram...
  • Page 51: Appendix 4: Building Data Center

    MD-309 User Manual Appendix 4: Building Data Center Based on the different ways of data center accessing the internet, the IP address (or domain) and port to be configured in MD-309 is different as well. We briefly describe the mostly used accessing ways below. 1) Single Host Accessing internet via ADSL Figure Appendix 4-1: Single host accessing internet via ADSL Configuring IP or domain: in this case the IP address of the data center...
  • Page 52 MD-309 User Manual Figure Appendix 4-2: Accessing internet via ADSL+LAN Configuring IP or domain: in this case, the data center IP address to be configured in MD-309 is the router's WAN IP address; this IP address can be checked by logging in and checking the status of the router, or by accessing http://www.ip138.com.
  • Page 53 MD-309 User Manual Configuring IP or domain: in this case, the data center IP address to be configured is the static private IP address. Configuring port: the default listening port in mServer is 9000, and it can be defined by yourself upon request, then configure the mServer listening port in MD-309 accordingly.
  • Page 54: Appendix 5: Dtu's At Commands At Serial Port

    Appendix 5: DTU’s AT Commands at Serial Port eTung’s DTU supports sending AT commands directly via serial port, to query status, modify parameters, send/receive SMSs, etc. The AT commands at serial port that DTU supports may be different according to different model and different version of firmware.
  • Page 55 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”. However, if the customer’s serial device connecting with DTU is programmable, we can also use the AT commands described above, then the device can send AT commands to configure DTU.
  • Page 56 MD-309 User Manual 5) At last, use command “AT+EXITCFG” to exit the configuration mode, then DTU will reboot to apply the changes. For example, to modify MD-309’s data center domain (eyun.etungtech.com), port (8080) and protocol (UDP), use the following AT command list: AT+ENTERCFG\r AT+SET=1,eyun.etungtech.com\r AT+SET=2,8080\r...
  • Page 57: Appendix 6: Dtu Sms Mode And Sms Data Format

    MD-309 User Manual Appendix 6: DTU SMS Mode and SMS Data Format By default DTU is in 2G mode,which is the data transfer mode. It can be switched to SMS mode by sending AT command on DTU serial port. In SMS mode, it can be used to send short messages via AT commands, but it cannot transfer data in this mode.
  • Page 58 MD-309 User Manual 2) General AT command for sending short messages via serial port: AT+SMS=<target number>,<encoding format>,<data length>,<data>\r DTU will send the following reply: \r\nOK\r\n \r\nERROR\r\n Target Number:Phone number to receive the short message Encoding Format: 1: ASCII encoding, 2: 8bit encoding, 3: Unicode encoding Data Length:The actual data length behind Data: The data to be sent, each byte should be formatted to a 2-byte hexadecimal number, for instance “1234”...
  • Page 59 MD-309 User Manual “1234” received from 13812345678 in 8bit encoding: \r\n+SMS:13812345678,2,4,31323334\r\n “你好” received from 13812345678 in Unicode encoding: \r\n+SMS:13812345678,3,4,4F60597D\r\n If 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.

Table of Contents