Specifications
Sicon-8 Technical Manual CircuitWerkes, Inc.
35
Formatting the Software log:
The software log consists of four elements. These are:
-Log header gets printed once per log file. Carriage return is automatically appended.
-Header get printed once per each entry. Carriage return is NOT automatically appended, therefore, to separate
Header from data block, insert a carriage return. Under normal circumstances, carriage return in the Footer should be
present AFTER the footer text.
-Data block is printed for each channel and only special operators should be used here (because of the iteration). Of
course you may add any other text or operator here but the data block will get printed 8 times to 32 times (Depending on
how many channels you have) per each log entry.
-Footer get printed once per each entry. Carriage return is NOT automatically appended, therefore, to separate
Footer from Data block, insert a carriage return. Under normal circumstances, carriage return in the Footer should be
present BEFORE the footer text.
In addition to the user defined formatting options, HTML logs also display alarm colors (if any) as the background for
individual readings within a log entry. For text based logs, users can define symbols such as * and # to denote alarmed
conditions within a log entry.
Log Formatting Operators:
%sitename = Current site name
%timestamp = Date/Time
The following can be used only in the data block:
%mtrname Meter name for each of the channels
%mtrvalue Meter value for each of the channels
%statname Status name for each of the channels
%statvalue Status value for each of the channels
Examples:
Log Header: "==============================="
Header: "%sitename %timestamp" with CRLF on the end
Data: "{%mtrname: %mtrvalue %statname: %statvalue}" with CRLF on the end
Footer: ""
Carriage Return and Line Feeds are entered by pressing the enter key. You will notice that each line of the log
configuration form has up and down arrows so you are really looking at a single line at a time of a form that can have
multiple lines.