Appendix A: Rs-232 Protocol - Crestron Isys TPS-5000 Operation Manual

12 inch tilt touchpanel
Hide thumbs Also See for Isys TPS-5000:
Table of Contents

Advertisement

12 Inch Tilt Touchpanel

Appendix A: RS-232 Protocol

44 • 12 Inch Tilt Touchpanel: Crestron Isys™ TPS-5000
TPS-5000 touchpanels support panel operation via a host computer through the
RS-232 port. While in this mode, the touchpanel can be used as a stand-alone
controller to a host computer running a third party or custom program. Crestron
recommends that the following serial data format is set.
Suggested Serial Data Format
Baud Rate: 38400
Data Bits: 8
These settings may be altered via the RS-232 Menu when configuring the
touchpanel, however, doing so may prevent Crestron supplied software from
operating with the touchpanel. Low baud rates will cause the panel to appear
unresponsive. For example, at 300 baud, a single button press (and release) generates
12 characters and requires more than 0.333 of a second to send. Delays as short as
0.1 of a second are generally considered perceptible and somewhat annoying.
RS-232 Menu Button Selection
Command Format - Command format for all items sent to or from the touchpanel is
very simple. All items are ASCII strings terminated by a <cr>. Line feed characters
are ignored, thus <cr><lf> or <lf><cr> are also acceptable line terminators. When
the touchpanel sends a line, it is always terminated with <cr><lf>.
For all strings, the first character determines command type. Numeric arguments, if
present, are in decimal and separated by commas. No control characters are
embedded in the strings to ease processing the strings with high-level languages. Be
careful when using commas in BASIC, because BASIC uses commas for field
separators when reading strings from a file using the INPUT # statement. Since we
are dealing with complete lines, use the LINE INPUT # statement to cure this
problem.
P<#> and R<#> Commands - When in RUN mode, pressing a button (assuming
that it has been joined) generates a six-character code in the format P###<cr><lf>,
where ### is a three-character decimal number in the range of 1 through 4000,
providing for up to 4000 functions. When the button is released, a similar code is
generated, with an 'R' in place of the 'P'. Given that only one button may be pressed
Crestron Isys™ TPS-5000
Parity: None
Stop Bits: 1
Operations Guide - DOC. 5863A
To enable
this
capability,
select this
button

Advertisement

Table of Contents
loading

Table of Contents