Page
216
of
248
Status information
If the file "status.txt" is asked for, the data returned will be similar to what LinkComm shows on the Main
Status and on Telemetry Status.
Sensor data
Access recent measurements and setup details by asking for the file "sensors.txt". The data in the file will
describe the measurement setup along with the most recent readings. The data mimic's Sutron 9210's
sensor view. Tab characters are used to denote column breaks. Each line is terminated by a CR/LF.
BATT Battery = 0.000 V; Q = B
TEMP Internal Temp = 0.00 C; Q = B
MINO Manual Entry = 0; Q = B
Note that if no measurements are enabled, GF commands for sensors.txt and curdata.txt will return
errors.
Setup
The station setup may be read by asking for "setup.txt". The data returned will be exactly the same as that
of a saved LinkComm setup file.
Flash disk
The system can also provide data for the file "flash disk.txt". The data returned mimics the response of a
file system to a directory command. It returns a list of the files it supports via the Modbus GF command
along with their size and date.
setup.txt,5447,03/16/2017 17:32:41
curdata.txt,107,03/16/2017 17:32:41
sensors.txt,102,03/16/2017 17:32:41
status.txt,512,03/16/2017 17:32:41
Due to a limitation, the size of setup.txt is always 512 bytes.
The date of the files will always be set to the station’s current time.
19.5.3
Send File
The Send File subcode is used to send a file to the station. The station will only accept one file: "setup.txt".
The procedure is used to change the station setup. The file needs to contain setup data. The setup data
should be the same as in the setup file saved by LinkComm.
SF,filename,bytepos,numbytes,data
The filename must be setup.txt.
bytepos is the position of the first byte in the data stream. It is zero based. The first packet with the data
should have 0 as the bytepos.
Summary of Contents for SUTRON XLINK 100
Page 230: ...Page 230 of 248...
Page 247: ...Page 247 of 248...