User's Guide
Table Of Contents
- Remote Terminal Unit M717
- Table Of Contents
- Introduction
- Installation
- Register the RTU to the M2M Gateway
- The SDI Connector
- The MPI Connector
- The Micro USB Service Connector
- About the Data Acquisition Subsystem
- SDI-12 Sensors
- Create a New Template From an Existing One
- Create a New Template From Scratch
- Interface to a Davis Vantage Pro Console
- Interface to a Thies TDL14 or DL16 Data Logger
- Mechanical Installation
- Operation
- Configuration
- Commands
- General Commands
- help
- ver
- echo
- ps
- date
- log
- attr
- pin
- hwid
- connect
- xfer
- fwupdate
- reboot
- exit
- Data Acquisition Commands
- dacq
- dacq info
- dacq sample
- dacq retrieve
- dacq abort
- dacq date
- dacq interval
- dacq direct
- dacq t
- hist
- hist info
- hist stat
- hist map
- hist purge
- Data Acquisition Legacy Commands
- sdi t
- thi t
- thi direct
- Communication Commands
- net
- net get
- net up
- net down
- net session
- modem
- modem direct
- modem pwrdown
- modem pwrup
- modem reset
- modem mode
- File System Commands
- ls
- mkdir
- cd
- cp
- pwd
- rm
- cat
- Command Line Interface Error Messages
- Attributes
- Technical Specifications
command is entered only once, normally in the factory, but may be necessary
after e.g. a SIM card has been replaced.
The -v option attaches a CRC to the command string and should only be used
during communication with computers (e.g., during manufacturing).
Example
: pin
PIN is set
PUK is set
4.1.9. hwid
Description
Shows the hardware ID of the RTU.
Usage
hwID [ ID ], where ID is the ID to set
Remarks
The ID can be set only once; this is done during manufacturing. The ID can be also
shown using the attr command (attr hwID).
Example
: hwid
hwID is 5010
4.1.10. connect
Description
Directly connect to a character device.
Usage
connect <device> [ baudrate [ nr_bits [ parity ]]], where <device> is the device’s
path to connect to. Currently following devices are available:
/dev/modem – the cellular modem port
/dev/pcui – the cellular modem secondary port
/dev/mpi – the MPI serial port (normally used for sensor/data logger interfaces)
/dev/sdi – the SDI serial port
For the /dev/mpi and /dev/sdi devices, optionally the baud rate, the number of bits
and the parity may be specified.
This command is interactive, to exit the command type <ctrl-X>.
Remarks
This command is restricted when connected over telnet: the /dev/pcui port
cannot be accessed.
Example
: connect /dev/modem
Type <CTRL-X> to exit
^SYSSTART
4.1.11. xfer
Description
Transfer files to/from the RTU using the x-modem protocol.
Usage
xfer { -r | -s } <filename> where <filename> is the name of the file to be transferred.
The -r option is used to transfer files from the PC to the RTU, while the -s option to
send files from the RTU to the PC.
Remarks
This command is restricted to the USB and MPI ports; it doesn’t work over telnet.
After issuing the command, switch your program to X-modem send, or transmit
mode (depending on the option used).
20