background image

 

MD-620 DTU User Manual 

 

 

 

 

 
 
 
 

 

eTung Technology Co. Ltd 

2nd Floor Building 3, Beike Industrial Park, No.7 Feng Xian Mid Road,   

Haidian Dist. Beijing 

TEL:4008-909-611 FAX:010-64857815 

Website: www.etungtech.com.cn 

Copyright © 2005-2018 ALL RIGHTS RESERVED 

Summary of Contents for MD-620 DTU

Page 1: ...nual eTung Technology Co Ltd 2nd Floor Building 3 Beike Industrial Park No 7 Feng Xian Mid Road Haidian Dist Beijing TEL 4008 909 611 FAX 010 64857815 Website www etungtech com cn Copyright 2005 2018 ALL RIGHTS RESERVED ...

Page 2: ...cases 13 2 Device Configurations 15 2 1 Configurations 15 2 1 1 Preparation 15 2 1 2 Configuring MD 620 15 2 2 Configuration Parameters 22 2 3 Restore to Default 26 2 4 Firmware Update 26 2 5 Remote Configurations 28 Appendix 1 Usecase of Point to Data Center Testing 35 Appendix 2 Usecase of Vircom Testing with eYun platform 40 Appendix 3 Building Data Center 45 Appendix 4 Data Format of GPS Packe...

Page 3: ...le supports dual system corporate positioning function and its outstanding positioning function especially fits vehicle positioning and meteorological sounding fields MD 620 has flexible terminal interface The terminal interface supports RS232 and RS485 serial ports at the same time and supports power and DI DO MD 620 has MODBUS RTU functionality and supports one DI and one DO and can be used to c...

Page 4: ...can be widely used in industries such as construction and transportation It is especially useful for tower crane monitoring and heavy machinery management and can also be used in areas such as taxi operation management transport vehicle management special vehicle management and vehicle lease management 1 2 Product Outlook Figure 1 1 MD 620 side view 1 ...

Page 5: ...MD 620 User Manual 5 Figure 1 2 MD 620 side view 2 1 3 Standard Accessories Figure 1 3 4G sucking antenna ...

Page 6: ...MD 620 User Manual 6 Figure 1 4 GPS antenna Figure 1 5 Power supply ...

Page 7: ...MD 620 User Manual 7 1 4 Dimension Figure 1 6 MD 620 dimension 1 5 Working Mechanism ...

Page 8: ...ave And MD 620 embeds BDS GPS dual module positioning model and can get positioning information via satellites So there will be four data channels between MD 620 and data center that are used to transmit RS232 serial port RS485 serial port MODBUS RTU and GPS data respectively The four channels are not required to use at the same time and each channel can be set to enable or disable according to pr...

Page 9: ... interface or virtual serial port and maps to the terminal corresponding to the MODBUS channel thus the software can send MODBUS data requests that meets with eTung s RTU MODBUS protocol MD 620 RTU receives requests and returns MODBUS responses This way MODBUS master can monitor and control the status of devices that connect to MD 620 RTU as MODBUS slave At the same time according to user s config...

Page 10: ...GPS dual system 2 0m CEP SBAS RTU DI optocoupler input RTU DO drive capability 3A 250V AC 3A 30V DC Temperature 40º C 85º C Humidity 95 40º C Dimensions 103x64x24mm excluding antenna and handle Communication Adjustable baud rate on data interface Support standard TCP IP protocol with both TCP and UDP Adjustable heart beat interval and time out value Support always online Support SMS and ringing to...

Page 11: ...ected to data center Extinguished No connection to data center Flash quickly Connecting to data center Flash slowly Dialing Transmit Red Flash Transferring data Standby Turn off No data transfer GPS Green Always light Has latitude and longitude data Flash quickly Found satellite signal but has no latitude and longitude data Flash slowly No satellite signal Power Red Always light Device is working ...

Page 12: ...zation built in design and usage flexibility Its technical advantages are easy to see Fully supports China Mobile China Unicom and China Telecom s 2G 3G 4G networks Embed BDS GPS dual module positioning model support dual system corporate positioning function Support MODBUS RTU with one DI and one DO Flexible terminal interfaces support RS232 and RS485 serial port power supply and DI DO terminals ...

Page 13: ... needed and plug and play Support chuankoutong and virtual serial port programming not needed Support proactively uploading GPS information and the upload time interval configurable Support AT command to query GPS information 1 8 Typical Usecases Figure 1 9 MD 620 multiple points to data center ...

Page 14: ...MD 620 User Manual 14 Figure 1 10 MD 620 implements point to point with embedded data center serial to serial port ...

Page 15: ...na one SIM card either from China Mobile or China Unicom that applies GPRS and can access internet directly via NET 2 1 2 Configuring MD 620 Use the 9 hole to wires serial adapter and power line to connect with MD 620 s connection terminal Normally the 9 hole to wires serial adapter has three wires with color green white and black and power line has two wires with color red and black The cable seq...

Page 16: ...ox choose the serial port used to configure MD 620 and then click OK Figure 2 1 Setting serial port Click Start configuration based on the prompt and power on MD 620 quickly within 30 seconds when the information about MD 620 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 En...

Page 17: ...acket 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 620 If you have built your own server or you do not use eTung chuankoutong eYun version you do not need to configure this item ...

Page 18: ...as RS232 and RS485 serial port and has GPS positioning functionality and MODBUS RTU functionality These four functionalities can configured to use separately For example choose RS485 serial port and GPS positioning functionality just enable RS485 and GPS as shown below Figure 2 4 Choose interface and functionalities ...

Page 19: ...th mServer If MD 620 connects with mServer then it is not required to configure self defined register packet Figure 2 5 Configure self defined register packet If RS232 is enabled configure RS232 serial port parameters accordingly including baud rate parity data bits and stop bits The values should be the same as the device that MD 620 connects with ...

Page 20: ... be the same as the device that MD 620 connects with Figure 2 7 Configure RS485 serial parameters Click Enter repeatedly until item 29 GPS Report Interval the default value is 60 i e GPS information will be uploaded to server every 60 seconds If you change it to 2 that means GPS information will be uploaded every 2 seconds and change it to 0 means GPS information will not be proactively uploaded t...

Page 21: ... Manual 21 Figure 2 8 Configure GPS information upload interval Then click Enter continuously until the prompt CONFIG FINISHED appears then the configuration of MD 620 is complete Figure 2 9 Configuration complete ...

Page 22: ...within If you press Enter to skip this item configuration the default value will be used For example 15 digit bit 5 6 7 8 8 Order number Name and unit Optional values Default value Configuration Menu Item Description Restore to default Y N N Configure to restore to default or not 1 SERVER DN IP eyun etungtech com Configure data center IP address or domain 2 SERVER PORT 8080 Configure data center p...

Page 23: ...ssword normally it is not changed 10 SMS PASSWORD 1234 Configure password used for SMS configuration 11 HEART BEAT INTERVAL s 60 Configure heart beat interval in seconds Heart beat timeout is 3 times of heart beat interval 12 IMEI 24030500 ENABLE RS232 Y N Y Configure whether to use RS232 channel Y by default 13 IMEI 24030500 ENABLE RS485 Y N Y Configure whether to use RS485 channel Y by default 1...

Page 24: ...00 Configure baud rate on RS232 serial port when transferring data 22 RS232 DATA BITS 7 WITH PARITY 8 8 Configure data bits on RS232 serial port when transferring data 23 RS232 PARITY N E O N Configure parity checking bit on RS232 serial port when transferring data N No checking E Even checking O Odd checking 24 RS232 STOP BITS 1 1 5 2 1 Configure stopping bit on RS232 serial port when transferrin...

Page 25: ... DEBUG 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 32 NETWORK SELECT 1 AUTO 2 2g 3 3G 4 4G 1 Choose network to connect 1 by default i e auto select Customers can manually assign 2G 3G or 4G network CHECK SIGNAL QUALITY Y N N Configure whether to check signal quality where DTU ...

Page 26: ...ess Enter then the configuration will be restored to default Figure 2 10 Restore to default 2 4 Firmware Update Ask eTung for firmware software According to the description of Configuring MD 620 connect MD 620 with PC via 9 hole to wires serial adapter run MD 620 configuration executable and set the serial port used to update MD 620 Click Select file then select the file bin to update and click Op...

Page 27: ... file to update Click Start to update then power on the device quickly within 30 seconds Figure 2 12 Firmware Update After update is complete the device will reboot automatically then in the user interface a prompt Update finished will appear ...

Page 28: ...thin MD 620 the MD 620 must be offline because MD 620 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 620 must be connected to PC v...

Page 29: ...ll not be executed If a command is unknown an ERROR will return The commands will take effect after system reboot This can be done by putting a command AT REBOOT in the end of SMS commands or sending a separate SMS with command AT REBOOT For example to modify data center IP and port the SMS is as follows 1234 AT DC eyun etungtech com 8080 AT REBOOT AT command must be capitalized but the parameters...

Page 30: ...o 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 reply OK or ERROR addr data center address IP or domain port data center port user user name mode transport protoc...

Page 31: ...None E Even O Odd stop_bits stop bits 1 1 5 2 7 AT PWD passwd Set new SMS password with at most 8 characters exluding etc It is adviced to use digits and English characters only The reply is OK or ERROR 8 AT RESTORE Restore to default settings and reboot with reply OK Additional AT REBOOT is not needed 9 AT REBOOT Reboot the device with reply OK 10 AT UPDATE url md5 Update DTU firmware with reply ...

Page 32: ...y the command as follows OK IMEI verion signal strength network mode 2 Use AT commands to remotely modify IP address and port within MD 620 1 In order to use AT commands to modify IP and port within MD 620 the MD 620 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 Comma...

Page 33: ...w 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 configurations after update 6 AT SERPORT 9600 8 N 1 N Set serial port attributes it allows to set only those that are needed for example AT SERPORT 9600 7 AT SERPORT Check serial port attributes 8 AT HBI hb Set heart beat interval the heart beat ...

Page 34: ...ELLID Check base station s location number and cell code 15 AT OPER Check operator s name 16 AT GPS Query GPS data 17 AT IOGET Query DI and DO values with reply IN 1 OUT 0 OK IN 1 means optocoupler pathway is disconnected IN 0 means optocoupler pathway is connected OUT 0 means relay outputs 0 and OUT 1 means relay outputs 1 18 AT IOSET 0 1 Set DO value 0 or 1 19 AT UPTIME Check device running time...

Page 35: ...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 620 and communication protocol i ...

Page 36: ...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 620 connects to 1 Link Mode communication protocol used between MD 620 and mServer normally set ...

Page 37: ... 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 to DCC s connection to mServer while the listening port in the description above is used to listen MD 620 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 conne...

Page 38: ...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 620 to virtual serial port then open this virtual serial p...

Page 39: ...MD 620 User Manual 39 Figure Appendix 1 4 Map virtual serial port ...

Page 40: ...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 ...

Page 41: ...opped up dialog input IMEI number then click button Add At this time 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 adding terminal will fail And if it fails to add the terminal you need to add the terminal manually or you can contact eTung technical support to solve the problem ...

Page 42: ...re 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 ...

Page 43: ...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 620 ...

Page 44: ...MD 620 User Manual 44 Figure Appendix 2 5 Map virtual serial port in vircom ...

Page 45: ...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 620 in this case We recommend apply dynamic domain and then configure the domain name in MD 620 Please access Oray...

Page 46: ...c domain and then configure the domain name in MD 620 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 620 can access mServer If port mapping is made the p...

Page 47: ... via private network LAN Configuring IP or domain in this case the data center IP address to be configured in MD 620 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 620 can access mServer If port mapping is made the port configured in MD 620...

Page 48: ...a packets uploaded to mServer Below we will explain GPS data format with the second packet as an example Name Example Unit Description Message ID GPRMC RMC protocol header UTC time 090758 182 hhmmss sss in the example it means 09 07 58 182 UTC time Status A A means available V means void Latitude 3958 2382 ddmm mmmm in the example it means 38 degrees and 58 2382 minutes South North Latitude Indica...

Page 49: ...xample it means the ground speed is 1 06 miles hour Ground heading 201 56 Degree Benchmark is due north Date 120211 DDMMYY in the example it means Feb 12th 2011 Magnetic variation Degree E means east W means west Check 6A CR LF The end of the message Table Appendix 4 1 GPS data packet expression From the explanation above we can see that packet 1 is invalid GPS location information and packet 2 is...

Page 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 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...

Page 51: ...ply IN 1 OUT 0 OK IN 1 means optocoupler pathway is disconnected IN 0 means optocoupler pathway is connected OUT 0 means relay outputs 0 and OUT 1 means relay outputs 1 17 AT IOSET 0 1 Set DO value 0 or 1 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...

Page 52: ...irmation Order Description Default Value 1 Server DN IP addr eyun etungtech com 2 Server port 8080 3 Account N A 4 APN N A 5 Protocol UDP TCP TCP 6 Connect mServer Y N Y 7 Output status Y N N 8 Dial account ctnet mycdma cn 9 Dial password 10 SMS password 1234 11 Heart bead interval 60 12 Enable RS232 Y N Y 13 Enable RS485 Y N Y 14 Enable GPS Y N Y 15 Enable MODBUS Y N Y 16 RS232 register when not ...

Page 53: ... 620 User Manual 53 27 RS485 parity N E O M S N 28 RS485 stop bit 1 1 5 2 1 29 GPS interval 60 30 IO output 0 31 Debug mode Y N N 32 Network select 1 2 3 4 1 Table Appendix 5 1 MD 620 Configuration Items ...

Page 54: ...ceed 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 messages AT SMS...

Page 55: ...597D r 3 The received SMS messages will be output via the serial port in the format below r n SMS phone number encoding format data length data r n Examples 1234 received from 13812345678 in ASCII format r n SMS 13812345678 1 4 31323334 r n 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 4...

Page 56: ...00bps data bits 8 stop bits 1 parity N start bits 1 eTung MD 620 RTU supports one relay output DO and one optocoupler input DI and the corresponding operations are as follows RTU Function MODBUS Object MODBUS Addr MODBUS Function Code Description Relay Coil Status 0 01 05 Read Write Optocoupler Input Status 0 02 Read only Below are MODBUS data packets in HEX used for testing Read relay status 01 0...

Reviews: