APPENDIX A
A
Serial Modes
A.1
Custom ASCII
Custom ASCII is a simple, custom protocol that allows connection to various PC
configuration tools. (Please note that the 'Custom ASCII' protocol differs from the
'Modbus (ASCII)' protocol used by some devices.) Custom ASCII command strings
must be constructed in this order:
<Start> <Controller Address> <Read/Write Command> <Register Address>
<Separator Character> <Data Value> <Message Terminator>
START - Use 'S' for the start character of a command string (not case sensitive). This
must be the first character in the string.
CONTROLLER ADDRESS - Use an ASCII number from '1' to '255' for the controller
address. If the character following the start character is not an ASCII number,
then address '0' is assumed. All controllers respond to address '0'.
READ/WRITE COMMAND - Use ASCII 'R' for read, 'U' for unformatted read, or 'W' for
write (not case sensitive). Any other character aborts the operation.
In Custom ASCII mode, data is normally read as formatted data (which includes decimals and
any text characters that may be selected to show units). However it is also possible to read
unformatted data by using a 'U' in the read command. There is no unformatted write command,
as when writing to fixed point registers, any decimal point and text characters are ignored.
REGISTER ADDRESS - The register address for the read/write operation will be an
ASCII number from '1' to '65535'. This character must be specified for a write
command, but may be omitted for a read command, (in which case the controller
will respond with the data value currently on the display).
SEPARATOR CHARACTER - The separator character can be either a space or a
comma, and is used to separate the register address from the data value.
Copyright © 2011
SERIAL MODES
TEX-BAR-MAN-11V04 (SEP11)
21
Need help?
Do you have a question about the TEX-BAR and is the answer not in the manual?