
2020/04/07
WCC Lite user manual
Variable called
value
is generated or updated on every signal change and represent the signals
being configured. If another value from tag list is intended to be used, one should use
TagValue()
function to retrieve its last value.
The inner argument of
TagValue()
function has to described in a Redis topic structure of WCC Lite.
That means that it has to be constructed in a certain way. Quotes should be used to feed the topic
name value, otherwise expression evaluation will fail.
Every Redis topic name is constructed as
tag/[device_alias]/[signal_alias]/[direction]
. Prefix
tag/
is
always used before the rest of argument.
device_alias
and
signal_alias
represent columns in Excel
configuration.
direction
can have one of four possible values
rout
,
out
,
in
,
rin
; all of which depend
on the direction data is sent or acquired devicewise. For example,
out
keyword marks data sent
out of WCC Lite device, whereas
in
direction represents data that WCC Lite is waiting to receive, for
example, commands. Additional
r
before either direction means that data is
r
aw, it was is presented
the way it was read by an individual protocol.
Several functions are defined make tag operations possible:
•
TagValue(key)
returns last known value of tag identified by redis key;
•
TagFlag(key)
returns 1 if tag flag exists. Name format is: ”key flag”. For example to check if
tag is notopical, name would be ”tag/19xxxxxxx/x/x nt”;
•
TagAttribute(key)
similar to TagFlag, but returns a numeric value of a tag attribute;
•
TagTime(key)
returns unix timestamp in milliseconds of a last know tag value.
17.3 Uploading configuration
As of WCC Lite version v1.4.0 there are three separate ways to import the configuration: import an
Excel file via web interface, generate compressed configuration files and later upload them via web
interface; or generate compressed configuration files and upload them via utility application.
For WCC Lite versions v1.4.0, name of the file is shown in
Protocol Hub>Configuration
. Older
versions only allow configuration file to be stored to a file called
phub.xlsx
and later downloaded
with a custombuilt name reflecting date of a download. Upgrade process from older version to
versions v1.4.0 and above when preserving configuration files automatically makes the neccessary
changes to enable this new functionality of WCC Lite.
If a user intends to
downgrade
firmware to versions older than version v1.4.0
from newer versions, he/she must first download the configuration files and later
reupload the configuration after finishing the upgrade process.
17.3.1 Importing an Excel file
Excel file can be imported without any external tools. This option can be used where there is no
internet connection or only minor change has to be applied. This way of importing is not suitable for
validation of Excel configuration file.
Generating configuration is a resourceintensive task. It might take up to five
minutes depending on configuration complexity
127
1.4.0 | ELSETA | Excel configuration
Содержание WCC Lite
Страница 1: ...ELSETA WCC Lite User manual Elseta 2020 04 07 Doc version 1 4 0 HW version 1 2 FW version 1 4 0...
Страница 62: ...8 5 9 Reboot This reboots the operating system of the device 62...
Страница 78: ...General DHCP settings Resolve and hosts files settings TFTP server settings 78...
Страница 155: ...Figure 37 Screen showing existing user groups Figure 38 Screen for user group editing 154...