The SmartTrol only communicates in response to commands from the host. To allow more
than one SmartTrol to be connected onto the RS-232C port, each SmartTrol must have a
unique number. This number selects the SmartTrol to which the command is issued. To
address a SmartTrol unit, the host must transmit a “D” (device) followed by the unit
number (1 to 15) and a “Space.” After the SmartTrol receives the “Space”, the SmartTrol
selected becomes active and responds, “DEVICE#: n” (n is the unit number).
When active, the SmartTrol operates in the full duplex mode and echos the commands
from the host back to the host as they are received by the unit. The host may send up to 80
command characters including spaces to the SmartTrol in one transmission. The
commands must be separated by spaces and the last character must be a “Carriage
Return." The carriage return character causes the received command string to be
processed. After the command is received, the data is processed and the response is sent
on a low priority basis. If you use the keyboard during the processing of the data, then the
communication cycle is halted. If the SmartTrol is not busy, it should take no more than five
mSec before it processes the command. The communications response time depends on
this delay, the amount of data requested, and the operating baud rate.
In practice, if transmission does not start within two seconds after data is requested,
assume that there is a problem. The SmartTrol response contains a “Carriage Return” and
“Line Feed” before each data value requested. The data is returned in the order the host
received the command string. After the unit responds to the host command, it becomes
inactive and must be activated again before the command is processed (“D#” “Space”).
Command Code Definitions
This sections provides the definitions of command codes. The (S) in the table represents
the ASCII "space" character.
Code
Description
DC
COMMAND TO TRANSMIT COUNT (TOTAL).
DR
COMMAND TO TRANSMIT RATE.
DT
COMMAND TO TRANSMIT GRAND TOTAL.
KA
COMMAND TO TRANSMIT COUNTER K Factor A.
KA (S) XXX
COMMAND TO LOAD COUNTER K Factor A WITH XXX.
KB
COMMAND TO TRANSMIT COUNTER K Factor B.
KB (S) XXX
COMMAND TO LOAD COUNTER K Factor B WITH XXX.
KC
COMMAND TO TRANSMIT RATE K Factor A.
KC (S) XXX
COMMAND TO LOAD RATE K Factor A WITH XXX.
Table 17 – Command Code Definitions
40
TRICON
®
SmartTrol™ Installation and Maintenance Guide
Chapter 11: RS-232C Serial Communication Operations
Содержание TRICON SmartTrol
Страница 1: ...TRICON SmartTrol Installation and Maintenance Guide...
Страница 2: ......
Страница 3: ...TRICON SmartTrol Installation and Maintenance Guide...
Страница 8: ...This page intentionally left blank vi TRICON SmartTrol Installation and Maintenance Guide Contents...
Страница 10: ...This page intentionally left blank viii TRICON SmartTrol Installation and Maintenance Guide Figures...
Страница 14: ...This page intentionally left blank Chapter 1 Introduction 2 TRICON SmartTrol Installation and Maintenance Guide...
Страница 56: ...This page intentionally left blank Chapter 12 Warranty 44 TRICON SmartTrol Installation and Maintenance Guide...
Страница 58: ...This page intentionally left blank Chapter 13 Assistance 46 TRICON SmartTrol Installation and Maintenance Guide...
Страница 76: ...This page intentionally left blank Appendix C TRICON S 64 TRICON SmartTrol Installation and Maintenance Guide...
Страница 83: ...Glossary VDC Direct Current Voltage TRICON SmartTrol Installation and Maintenance Guide 71...
Страница 84: ...This page intentionally left blank 72 TRICON SmartTrol Installation and Maintenance Guide Glossary...
Страница 88: ...76 TRICON SmartTrol Installation and Maintenance Guide Index This page intentionally left blank...
Страница 89: ......