Serial Commands to the TLS-50
With the TLS-50 Console Serial Package option you can send commands from a controlling computer, a display
terminal (CRT), or a printing terminal to the console to download reports and perform other tasks.
This section assumes that your console has the Alarm and Serial Package option and that the necessary
equipment and connections are in place to enter serial commands.
The TLS-50 Site Prep Manual covers the connection of the console to a remote serial device and as well as a
complete description of the console's serial commands.
Three of the available serial commands are discussed in this manual:
• Function Code 201 - In-Tank Inventory Report
• Function Code 205 - In-Tank Status Report, and
• Function Code 504 - Set System Security Code.
Serial Security Code
If the Serial Security code switch is enabled every serial command must include a 6-digit security code before the
TLS-50 will respond to the command.
The default Serial Security code is 000000. It can be changed with Function Code 504.
Serial Command Format
The TLS-50 responds to a serial command message string with the following configuration:
SOH
where:
does not
where:
Security Code
Command Type
SOH = Control-A character (ASCII 01),
Security code (required if Serial Security switch is enabled) = 000000 (default) or
XXXXXX (user selectable from ASCII characters 20 Hex to 7E Hex),
Command type = I for Inquire or S for Set,
Function code = 201, 205, 504 or 606
ID = Identifier of device for which you are requesting data, e.g., 04 = Tank 4
If the system receives a command message string containing a Function Code that it
recognize, it will respond with <SOH>9999<ETX>.
9999 = Indicates that the system doesn't understand the command,
ETX = Control-C character (ASCII 03).
Function Code ID
18