User guide

eWON 500-2001-4001-4002 User Guide - eWON Configuration
eWON 500®2001®4001®4002® Version 4_3_0 - User Guide - 10/5/05 - ©ACT'L sa - Page 73
5 Configuring the eWON by a file upload
It is possible to configure eWON by uploading some files with a FTP client program.
If you need to configure the eWON, you will put the config.bin file or the two config.txt and comcfg.txt files on the root directory of the eWON.
You could also put the program.bas directly on the eWON. You can edit/modify the script Basic application in your favorite text editor, save as text
file with the name program.bas and upload it in the eWON.
The files config.txt and comcfg.txt are interpreted by eWON. The eWON will use only the parameters that are known by it. In addition, you can
send a config.txt file containing only the parameter you want to modify.
For instance, if the Config.txt file only contains the following lines, only the eWON identification will be changed.
:System
Identification:New_Identification
The config.txt file contains three sections: System, TagList and UserList. A section must only be declared if at least one field of that group is
present in the file. A field must always appear after its section declaration.
A section is declared on a separated line, preceded by a column (See example above).
Each user and Tag appears on a separated line, with its field separated by a semi-column.
Example: the following config.txt file updates the eWON identification, defines a first user named "user1", a second user named "user2", and a
Tag named "tag1". Notice that for user1, the CBMode is not specified and takes the value 0 (Mandatory), while for user2, CBMode takes the
value 1 (User Defined).
:System
Identification:eWON
Information:
:TagList
"Id";"Name";"Description";"ServerName";"Address";"tagvalue"
1;"tag1";"first Tag";"MEM";"tag1";"47"
:UserList
"Id";"FirstName";"LastName";"Login";"Password";"Information";"CBMode"
1;"Jacques";"Dupond";"user1";"thePassword";"first user";
2;"Albert";"Deux";"user2";"thePassword2";"second user";"1"
When creating a Tag or a user, any field that is not specified will take the default value. Be aware of the fact that when creating a user, the full
rights are allowed on the Tags by default (v.o.a.c).
The fields found in the config.txt and comcfg.txt file can also be used with the GETSYS and SETSYS functions explained in chapter
“Programming the eWON” on page 122.A table describing all the fields can be found in chapter “Configuration Fields” on page 170.