Sutron Corporation X-Link Operations & Maintenance Manual, Rev 1.63 5/24/2016 pg. 179
18.4.2.4.
Setup
X-Link's 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.
!Station Name=XLINK
!Telemetry Modem=Iridium 9602
!Tx Enable=Off
!M1 Active=On
!M1 Label=Sense1
!M1 Right Digits=4
18.4.2.5.
Flash disk
X-Link can also provide data for the file "flash disk.txt". The data returned
mimics the response of a file system to a directory command. For X-Link, it
returns a list of the files it supports via the Modbus GF command along with
their size and date.
setup.txt,2162,06/12/2013 12:07:24
curdata.txt,101,06/12/2013 12:07:24
sensors.txt,88,06/12/2013 12:07:24
status.txt,512,06/12/2013 12:07:24
Due to a limitiation, the size of setup.txt is always 512 bytes.
As X-Link has no real file system, the date of the files will always be set to X-
Link's current time.
18.4.3.
Send File
The Send File subcode is used to send a file to X-Link. X-Link will only accept one
file: "setup.txt". The procedure is used to change X-Link's 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.
numbytes is the number of data bytes in the payload. For X-Link Modbus over
RS-485, this number must not be greater than 48.
data should contain actual setup data. Example: