© EPRAD Incorporated
6.14 EVENT Log
Client
³
eCNA
A history of activity is stored at the eCNA in a log file in battery-backed memory. If this feature is
enabled, event records are sent one a time and at a low priority so they shouldn’t interfere with other
transactions. The client can store these records to it’s own disk file for future use. This is an open
loop message so there is no response to this type of message and client should not respond.
Usage Note: To get the “run time” event logging, just turn logging on with the Configuration
command and leave it on. The client will get any buffered events, and then receive new events in real
time as they are buffered. This method collects logged events as they happen. To get “on-demand”
event logging, turn logging on with the Configuration command to receive all the buffered events
(since the last time you retrieved them). Then turn logging back off with the Configuration command
until the next time you want to gather events. This method can be used to collect all the logged
events at the end of a show or at the end of the day, week, etc.
Log
LOG,EVT,0,
record
,
checksum
<CR><LF>
Event Log Format
Parameter
Description
LOG,
Start of Log string (This parameter is always “LOG”)
EVT,
Event Log string (This parameter is always “EVT”).
0,
Packet Sequence No. Always 0.
record
,
Log Record (This parameter will contain all of the following message strings).
ID,
Record,
Device,
Code,
Code Name,
Event Flags,
Sequence,
Year,
Month,
Day,
Hour,
Minutes,
Seconds,
Hundredths,
Down Time,
Loop,
Program,
Status,
Cue,
P1,
P2,
P3,
P4,
P5,
P6,
P7,
P8
Network ID (Screen Number). 1 byte decimal, 1 - 63
Event record version. 1 byte decimal, 0
Type of Device. 1 byte decimal, 12 = eCNA-10
Event code number. 2 bytes decimal, 0 to 65535
Event code name. Text, max length = 8 characters
32 bit event flags.
Show sequence number. 2 byte decimal, 0 to 65535
Event date stamp. Year. 2 byte decimal number.
Event date stamp. Month. 1 byte decimal number, 1 to 12
Event date stamp. Day. 1 byte decimal number, 1 to 31
Event time stamp. Hour. 1 byte decimal number, 0 to 23
Event time stamp. Minute. 1 byte decimal number, 0 to 59
Event time stamp. Second. 1 byte decimal number, 0 to 59
Event time stamp. Hundredths of a second. 1 byte decimal, 0 to 99
Accumulated show down time
Sync loop number. 1 byte decimal, 0 to 20
Program Number. 1 byte decimal, 1 to 9
Show status. 1 byte decimal. 1 = Ready to Run, 2 = Fault, 3 = Running, 4 =
Intermission, 5 = Stopped
Cue number. 1 byte decimal, 0 to 20
Parameters 1. Event specific data. 2 byte decimal, 0 to 65535
Parameters 2. Event specific data. 2 byte decimal, 0 to 65535
Parameters 3. Event specific data. 2 byte decimal, 0 to 65535
Parameters 4. Event specific data. 2 byte decimal, 0 to 65535
Parameters 5. Event specific data. 2 byte decimal, 0 to 65535
Parameters 6. Event specific data. 2 byte decimal, 0 to 65535
Parameters 7. Event specific data. 2 byte decimal, 0 to 65535
Parameters 8. Event specific data. 2 byte decimal, 0 to 65535
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).
Event Log Example
LOG,EVT,0,27,0,12,1,StartMan,1090584577,16,2008,6,10,7,33,21,82,0,0,1,0,0,0,0,0,0,0,0,0,0,4913
110
eCNA-10 Operation and Installation Manual Version 1.270-00