System information
General Reference Guide Retrieving data from eWON
RG-001-0-EN ver 1.5 eWON® - 20/03/2009 - ©ACT'L sa Page 165
• The following files only appear if the user owns the "Config rights":
• Program.bas
• ewonfwr.edf
• config.bin
• config.txt
• During an FTP session, all the files are read-only, except for users who own the "Config rights".
7.2 Files Format
Files format are text semicolon (;) separated files that may be inserted inside a program such as Excel™. The first row gives the columns names,
and the next ones the values of the different columns.
For example, the content of the rt_alm.txt file:
"TagId";"AlarmTime";"TagName";"AlStatus";"AlType";"StatusTime";"UserAck";"Description"
1;"7/09/04 13:19:12";"Level tank A";"ALM";"LOW";"7/09/04 13:19:12";"";"Fuel level on Tank A"
7.2.1 Config.txt : New Line character (NLSeparator)
Firmware 5 specific feature
For technical purposes, the character used (LF char 0x0A) to separate parameters in some fields is replaced by a
¶.
Fields where
¶ character could be found in config.txt are: IOServerData#, Information of eWON, Description of Tag.
Fields where
¶ character could be found in comcfg.txt are: VPNSecretKey, VPNSecretCert, VPNCACert
With firmware 5, you will find the following parameter:
IOSrvData0:MinInterval:10¶MaxInterval:268435455¶ReverseCount:0
¶ has the ASCII code 182 (0xB6)
The end of the line is always CR+LF (0x0D 0x0A).
With firmware 4, you will find the following parametesr:
IOSrvData0:MinInterval:10 ended by a LF character 0x0A
MaxInterval:268435455 ended by a LF character 0x0A
ReverseCount:0 ended by a CR+LF characters 0x0D 0x0A
In firmware 5, you can force the use of ‘LF’ or ‘¶’ with the NLSeparator parameter (in config.txt file).
note: If the config is cleared or if the eWON is formatted, the NLSeparator returns to 0.
note: When you put a config.txt file by FTP to an eWON with firmware 5, it handles correctly the 2 kinds of separator.
NLSeparator
0 (default) : use the ‘¶’ (0xB6) as separator in IOServerData# field.
1 : use the ‘LF’ (0x0A) as separator in IOServerData# field (for
compatibility with firmware 4).