background image

 

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 

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

Страница 1: ...9 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 ...

Страница 2: ...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 ...

Страница 3: ...ages 13 2 2 Typical Usecases 15 2 Device Configurations 17 2 1 Configurations 17 2 1 1 Preparation 17 2 1 2 Configuring MD 309 17 2 2 Configuration Parameters 20 2 3 Restore to Default 25 2 4 Firmware Update 25 2 5 Remote Configurations 27 Appendix 1 Usecase of Point to Data Center Testing 36 Appendix 2 Usecase of Vircom Testing with eYun platform 41 Appendix 3 Switching RS 485 to RS 232 47 Append...

Страница 4: ...s an easy to use and useful 2G DTU product It can connect with mServer and other kinds of data center software as well It supports China Mobile and China Unicom s 2G and China Telecom s CDMA networks The serial port DB9 pins support RS232 and RS485 at the same time and the serial port type RS232 or RS485 can be configured via DTU configuration software or remote control 1 It can be used without sh...

Страница 5: ...ng water resource remote monitoring and water transportation network monitoring In environment protection area MD 309 can fully deserve 2G soldier in pollution online monitoring system such as Continuous Emission Monitoring System CEMS water quality monitoring system In device maintenance area such as elevator monitoring and air conditioner monitoring MD 309 can be embedded quickly into customer s...

Страница 6: ...igure 1 1 MD 309 side view 1 Figure 1 2 MD 309 side view 2 Serial port RS232 485 Antenna pedestal DC power interface installation handle indicator light green red SIM card holder button used for ejecting the sim card holder installation handle ...

Страница 7: ...MD 309 User Manual 7 Figure 1 3 MD 309 top view without shell 1 3 Standard Accessories Figure 1 4 2G sucking antenna ...

Страница 8: ...MD 309 User Manual 8 Figure 1 5 9 pin and 9 hole direct serial line Figure 1 6 Power supply ...

Страница 9: ...MD 309 User Manual 9 1 4 Dimensions Figure 1 7 MD 309 dimension with shell ...

Страница 10: ...MD 309 User Manual 10 Figure 1 8 MD 309 dimension without shell 1 Figure 1 9 MD 309 dimension without shell 2 ...

Страница 11: ...ts to the mServer via virtual serial port thus implements the wireless and bi directional data communication between user device and user software system 1 6 Specifications 1 6 1 Technical Parameters Basic Parameters Power Supply 5 36V wide range of voltage input Power Connector inner outer Data interface RS232 485 422 TTL Humidity 95 40º C Dimensions 103x64x24mm excluding antenna and handle Model...

Страница 12: ...RM 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 1 6 2 Indicator Light Description LED Indicator Light Color Status Description Online Green Always light Connected to data center Extinguished No connection to data...

Страница 13: ...h 2G wireless network at both ends Support connecting to 4 data centers at the same time Support China Mobile and China Unicom s GPRS and China Telecom s CDMA networks The serial port DB9 pins support RS232 and RS485 at the same time and the serial port type RS232 or RS485 can be configured via DTU configuration software or remote control 4 Support sending SMS Support 2G and SMS as backup Support ...

Страница 14: ...309 User Manual 14 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 ...

Страница 15: ...MD 309 User Manual 15 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 ...

Страница 16: ...ser Manual 16 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 ...

Страница 17: ...r China Unicom that applies 2G and can access internet directly via NET 2 1 2 Configuring MD 309 Connect MD 309 with PC using 9 pin 9 hole serial line Attention 1 MD 309 V3 0 7 and higher versions support RS232 and RS485 serial port at the same time when using DTU configuration software to configure it whether the serial port type is RS232 or RS485 the configuration software communicate with MD 30...

Страница 18: ... that is used to configure MD 309 then click OK Figure 2 1 Setting serial port Click Start configuration based on the prompt and power on MD 309 quickly within 30 seconds when the information about MD 309 model appears press Enter then the first item of the configuration menu appears 1 Data center domain or IP then input domain of the data center eyun etungtech com or press Enter to use the defaul...

Страница 19: ...P and port of data center If eTung chuankoutong eYun version is used configure the applied username in MD 309 If you have built your own server or you do not use eTung chuankoutong eYun version you do not need to configure this item Figure 2 3 Configuring username Click Enter repeatedly until the prompt Configuration complete appears then the configuration of MD 309 is complete ...

Страница 20: ...acket for example 10 Name and unit name of the configuration item some items have unit Optional values the contents within are the values that are allowed in this configuration item multiple optional values are separated with Default value i e the content within If you press Enter to Attention In reality MD 309 connects user devices via serial port so serial port attributes and type need to be con...

Страница 21: ...only required to configure if chuankoutong eYun version is used 4 APN name Configure wireless APN name normally it is not needed and default value is used but users with dedicated network adapter need to configure this item 5 Network Protocol UDP TCP TCP Configure data transport protocol either UDP or TCP 6 Connect mServer Y N Y Configure whether to connect mServer Y by default to connect mServer ...

Страница 22: ...d DTU will automatically acquire DNS server from the operator network If DNS server need to be specified manually at most two DNS server IPs can be specified with colon as separator for example 8 8 8 8 9 9 9 9 11 Dialing account 2G Configure username normally it is not changed 12 Dialing password Configure password normally it is not changed 13 Phone number 113901234567 Configure device s phone nu...

Страница 23: ...nect Online upon request means it does not connects 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...

Страница 24: ...ransferring data 20 Parity checking N E O M S N Configure parity checking bit on serial port when transferring data N No checking E Even checking O Odd checking M Mark checking S Space checking 21 Stopping bit 1 1 5 2 1 Configure stopping bit on serial 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 ...

Страница 25: ... press Enter then the configuration will be restored 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 Click Select file then select the file bin to update and click Open ...

Страница 26: ...MD 309 User Manual 26 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 ...

Страница 27: ... Use SMS to remotely modify IP address and port within MD 309 1 In order to use SMS to modify IP and port within MD 309 the MD 309 must be offline because MD 309 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 co...

Страница 28: ...mands to modify IP and port within MD 309 the MD 309 must appear online in mServer 2 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 r...

Страница 29: ...ands 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 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 309 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: ...number and cell code 15 AT OPER Check operator s name MD 309 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 only to info_src then fo...

Страница 32: ...fifth item has value value5 MD 309 2 6 1 and higher versions will reply the configuration SMS in Chines version it replies 配置成功 配置失败 in English version it replies SUCCESS FAIL It will not reply if the SMS has wrong format MD 309 3 0 2 and higher versions additionally support the following SMS configuration command 1234 AT command s There can be multiple AT commands the SMS password and AT command ...

Страница 33: ...with reply OK or ERROR apn Access point name this parameter is unused for CDMA EVDO device and can be null Set auto to ask to select APN automatically user dialling account the dialing password must be changed together with dialling 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 ...

Страница 34: ...eboot automatically with reply OK No need to add additional AT REBOOT 8 AT REBOOT Reboot the device with reply OK 9 AT UPDATE url md5 Update firmware with 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 s...

Страница 35: ...MD 309 User Manual 35 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 ...

Страница 36: ...hen 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 Service Settings in the upper part of the user interface Figure Appendix 1 1 mServer service settings 3 Based on the actual requirement set mServer listening port for MD 309 and communication protocol i e Li...

Страница 37: ...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 1 Link Mode communication protocol used between MD 309 and mServer normally set ...

Страница 38: ...n 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 309 s connection to mServer these two ports must not be the same 2 DCC need Authentication checkbox Please check this item if authentication is required when DCC connects to...

Страница 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 309 to virtual serial port then open this virtual serial p...

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

Страница 41: ...o 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 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: ...IMEI number on terminal s label and click Add Then the terminal will be shown in the terminal list 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 ...

Страница 43: ...ort 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 The procedure is shown below right click the terminal and choose Set DTU COM type the terminal s serial port type is 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 ...

Страница 44: ... is shown below right click the terminal and choose Set DTU COM properties the terminal s serial port properties are shown in the popped up dialog we can change the values upon request and then click Set There is no need to reboot the terminal to apply the change it will be effective immediately The properties that can be configured include baud rate data bits parity and stop bits ...

Страница 45: ...roperties 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 ...

Страница 46: ...MD 309 User Manual 46 Figure Appendix 2 6 Map virtual serial port in vircom ...

Страница 47: ...o RS 232 interface eTung provides two kinds of switching methods via RS 485 to RS 232 convertor and via 9 pin adapter serial line Details are described below 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 ...

Страница 48: ...ial 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 Figure Appendix 3 1 RS 485 to RS 232 Convertor Figure Appendix 3 2 Adapter line from RS 485 to RS 232 ...

Страница 49: ... 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 terminal and other lines are not required to connect as shown in Figure Appendix 3 5 ...

Страница 50: ...ction 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 ...

Страница 51: ...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 309 in this case We recommend apply dynamic domain then configure the domain name in MD 309 Please access Oray h...

Страница 52: ...mic domain then configure the domain name in MD 309 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 309 can access mServer If port mapping is made the por...

Страница 53: ... via private network 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 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 309 can access mServer If port mapping is made the port configured in MD 309...

Страница 54: ... 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 6 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...

Страница 55: ...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...

Страница 56: ...efault 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 2G 12 Dialup password 13 Phone number 13901234567 14 Connection ...

Страница 57: ...sages in Chinese 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 ...

Страница 58: ...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 ...

Страница 59: ... 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 ...

Отзывы: