
© EPRAD Incorporated
6.11 STATUS/CONTROL MESSAGE WRITE Command
Client
þ
eCNA
This command allows a CAI client to write text messages to it’s own client message table. A response
is optional. Up to 10 messages, each containing up to 24 ASCII characters in length are supported.
Messages are written one at a time. All characters are supported except:
double quote
“
less than
<
ampersand
&
backslash
\
single quote
‘
greater than
>
open bracket
[
semi-colon
;
comma
,
close bracket
]
• Invalid characters are quietly converted to spaces (20h).
• Messages exceeding 24 characters in length are truncated.
Command
CMD,SMW,
psn,code,yn,checksum
<CR><LF>
STATUS/CONTROL MESSAGE WRITE Command Message Format
Parameter
Description
CMD,
Start of Message string (This parameter is always “CMD”).
SMW,
Status/Control Message Write Command string (This parameter is always “SMW”).
psn,
Packet sequence number (0 to 65535). Can be used to match responses with commands, otherwise always 0.
code,
Message code (This parameter must contain the following event code strings.)
d,m
This writes text message
m
to table message number
d
,
Where:
m
= ASCII message up to 24 characters in length
d
= 1 - 10
yn,
Request a response flag
Y
The eCNA will respond with it’s response message
N
This eCNA will not respond
checksum
Checksum (0 to 65535). Unsigned 16-bit decimal sum of all preceding characters or wildcard ‘??’
<CR>
Terminating carriage return. (ASCII control character, 0x0D)
<LF>
Terminating line feed. (ASCII control character, 0x0A)
Response
(optional)
RSP,SMW,
psn
,
err
,
msg,checksum
<CR><LF>
STATUS/CONTROL MESSAGE WRITE Response Message Format
Parameter
Description
RSP,
Start of Message string (This parameter is always “RSP”).
SMW,
Status/Control Message Write Response string (This parameter is always “SMW”).
psn
,
Packet Sequence Number. Matches command packet sequence number.
err
,
Error Number (0 to 999). 0 = okay, else number indicating problem
checksum
Checksum (0 to 65535). Unsigned 16-bit decimal sum of all preceding characters
<CR>
Terminating carriage return. (ASCII control character, 0x0D)
<LF>
Terminating line feed. (ASCII control character, 0x0A)
STATUS/CONTROL MESSAGE WRITE Command & Response Example
Command
CMD,SMW,0,2,Lamp_On,Y,1588<CR><LF>
Response
RSP,SMW,0,0,764<CR><LF>
This example writes “Lamp_On” text to message number 2.
Note: For testing purposes, the don’t care “??” characters can be used in the command instead of a checksum.
106
eCNA-10 Operation and Installation Manual Version 1.270-00
Содержание eCNA-10
Страница 1: ...Model eCNA 10 D Cinema Automation Installation and Operation Manual Version 1 270 00 January 5 2021 ...
Страница 2: ......
Страница 8: ...vi eCNA 10 Operation and Installation Manual Version 1 270 00 ...
Страница 140: ... EPRAD Incorporated 7 System Block Diagram 132 eCNA 10 Operation and Installation Manual Version 1 270 00 ...
Страница 141: ... EPRAD Incorporated System Block Diagram continued 133 eCNA 10 Operation and Installation Manual Version 1 270 00 ...
Страница 142: ... EPRAD Incorporated System Block Diagram continued 134 eCNA 10 Operation and Installation Manual Version 1 270 00 ...
Страница 143: ... EPRAD Incorporated System Block Diagram continued 135 eCNA 10 Operation and Installation Manual Version 1 270 00 ...
Страница 149: ... EPRAD Incorporated 8 3 39445 Board Dimensions 141 eCNA 10 Operation and Installation Manual Version 1 270 00 ...
Страница 154: ... EPRAD Incorporated 8 6 39431 Board Dimensions 146 eCNA 10 Operation and Installation Manual Version 1 270 00 ...