© EPRAD Incorporated
6.3 CONFIGURATION Command
Client
þ
eCNA
The Configuration command allows the client to enable or disable the unsolicited messages sent by
the eCNA. A response from the eCNA is optional.
Command
CMD,CFG,
psn
,
code
,
yn
,
checksum
<CR><LF>
CONFIGURATION Command Message Format
Parameter
Description
CMD,
Start of Message string (This parameter is always “CMD”).
CFG,
Configuration Command string (This parameter is always “CFG”).
psn
,
Packet sequence number (0 to 65535). Can be used to match responses with commands, otherwise always 0.
code
,
Configuration code. (This parameter must contain any one of the following configuration code strings).
RPTOFF
Event Reports Off
RPTON
Event Reports On
LOGOFF
Event Log Off
LOGON
Event Log On
OPT1OFF
Disables logging of Macro calls (Event #95)
OPT1ON
Enables logging of Macro calls (Event #95)
STMOFF,
a
Status/Control Message Events Off for table
a
Where:
a
= CAI1, CAI2, CAI3, CAI4, RDI1, RDI2, RDI3, RDI4, RDI5 or ALLTBL (ALLTBL = All Tables)
STMON,
a
Status/Control Message Events On for table
a
Where:
a
= CAI1, CAI2, CAI3, CAI4, RDI1, RDI2, RDI3, RDI4, RDI5 or ALLTBL (ALLTBL = All Tables)
FIREON
Turn On FIRESTOP Event Report repeat. Repeats every 5 seconds
FIREOFF
Turn Off FIRESTOP Event Report repeat.
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,CFG,
psn
,
err
,
checksum
<CR><LF>
CONFIGURATION Response Message Format
Parameter
Description
RSP,
Start of Message string (This parameter is always “RSP”).
CFG,
Configuration Response string (This parameter is always “CFG”).
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)
CFG Command & Response Example
Command
CMD,CFG,0,LOGON,Y,1160<CR><LF>
Response
RSP,CFG,0,0,725<CR><LF>
92
eCNA-10 Operation and Installation Manual Version 1.270-00