Lutron Radio Touch RTA-RS232 Guide D'installation Et De Mise En Service page 12

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

Command Set
General Command Structure
All commands are sent as ASCII characters.
Numerical data fields are the ASCII representation
of the decimal value.
Command Format
:
,
Command
Parameters
Extended Parameters
<CR>
If your equipment does not support the transmission of ASCII characters, you will need to convert the messages
from ASCII to whatever form your equipment supports, i.e. hexadecimal. For example, to command the RS-232
Interface to set zone one to preset one, the ASCII text command :PS,1,1<CR> is issued:
ASCII
:
P
Hexadecimal 3A
50
See page 26 for an ASCII to hexadecimal conversion table.
12
RadioTouch
RTA-RS232 Programming and Operation Guide
TM
:Command,[Parameters],{Extended Parameters}<CR>
Indicates start of command
Field Separator
Command as shown
Zone number or other parameters relevant to the command
Parameters that do not apply to all variations of a particular command
Carriage Return, ASCII character 13d – indicates end of command
S
,
1
,
53
2C
31
2C
There should be no spaces between characters.
Each command has a prefix, a limited number of
fields, and an end character. All commands from
the Host device will have a prefix of a colon, :, and
an end character of a carriage return, <CR>. All
responses from the RTA-RS232, except for the
prompt, will have a prefix of a tilde, ~, and end
with a carriage return, <CR>. Each field is
separated by a comma.
1
<CR>
31
0D
R

Publicité

Chapitres

Table des Matières
loading

Table des Matières