MD-620 User Manual
51
1,eyun.etungtech.com
OK
n=0 means to get values of all items. Please refer “Table Appendix 5-1:
MD-620 configuration items” to the order of items and descriptions.
12.
AT+SET=n,value\r
Set the value of item with order n, for example, to set the first item with value
“eyun.etungtech.com”, use the following command:
“AT+SET=1,eyun.etungtech.com\r”
DTU will reply “OK” after modifying the item successfully. Please refer “Table
Appendix 5-1: MD-620 configuration items” to the order of items and
descriptions.
13.
AT+RESTORE\r
Restore to default settings.
14.
AT+STATUS\r
Query connection status, 0: Not connected to data center. 1: connected to data
center.
15.
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.
16.
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.
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 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. Below
is a brief introduction on how to configure DTU with AT commands.
1)
First, set the serial device’s baud rate to the same as DTU’s baud rate (9600 by
default);
2)
After DTU is powered on, send command “AT+ENTERCFG\r” from the serial
device to enter configuration mode; DTU will reply “OK” if the command is
executed successfully;
3)
Use command “AT+SET” to modify DTU’s configuration item, and DTU will reply
“OK” if the command is executed successfully;
4)
Each “AT+SET” is used to modify only one configuration item, so use multiple
Содержание MD-620 DTU
Страница 6: ...MD 620 User Manual 6 Figure 1 4 GPS antenna Figure 1 5 Power supply ...
Страница 7: ...MD 620 User Manual 7 1 4 Dimension Figure 1 6 MD 620 dimension 1 5 Working Mechanism ...
Страница 39: ...MD 620 User Manual 39 Figure Appendix 1 4 Map virtual serial port ...
Страница 44: ...MD 620 User Manual 44 Figure Appendix 2 5 Map virtual serial port in vircom ...