![Lightware RAP-B511-EU Скачать руководство пользователя страница 50](http://html.mh-extra.com/html/lightware/rap-b511-eu/rap-b511-eu_user-manual_1915314050.webp)
5. Software Control - Lightware Device Controller
RAP-B511 series
– User's Manual
50
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5
5.6.4.
Special Tools and Accessories
The Name of the Event
The name of a port can be changed by typing the new name and clicking the
Set
button. The following
characters are allowed when naming:
Letters (A-Z) and (a-z), numbers (0-9), special characters: hyphen ( - ), underscore ( _ ), and space ( ).
Enable or Disable an Event
The set Event can be enabled or disabled in the Event list, or directly in the Event editor window by setting
the
tick mark
beside the name.
Testing the Condition
When the desired Condition is arranged, the setting can be tested. The Event list and the Event editor contains
a small panel that shows if the set condition is detected and how many times. The
Counter
can be reset by
the button in Event editor. If the Condition is true, the
detected
mark turns green for two seconds and the
Counter
is increased.
Testing the Action
The method is the same as testing the Condition, but in this case, the Action can be triggered manually by
pressing the
Test
button.
TIPS AND TRICKS:
The Test button is also placed on the Action panel in the Event list. Thus, you can
check the Actions without opening the Event editor.
Delay the Action
In most cases the Action is performed immediately after the Condition is detected. But sometimes a delay
is necessary between the Condition and the Action. Therefore, the new Event manager contains the Delay
panel which allows that feature with below settings:
▪
No delay
: when the Condition is detected, the Action is launched.
▪
Simple delay
: when the Condition is detected, the Action is launched after the set time interval.
▪
Still true after
: when the Condition is detected, the Action is launched after the set time interval only if
the Condition still exists.
▪
Continuously true
: when the Condition is detected, the Action is launched after the set time interval only
if the Condition has been existing continuously.
The available delay settings of an Event
TIPS AND TRICKS:
Show advanced expressions
option is a useful tool when you look for the path or value
of a property but just the expression is displayed. The option is available in the Event list window or when
Link tool is used.
Variables
DIFFERENCE:
This feature is available from FW package v1.1.0b3.
The variables and the tools (shown in the Control/Variables tab) can be used in the Event Manager.
Condition Wizard
#variables #new
The desired variable can be checked if its value is changed to a specific value.
Action Wizard
The value of a variable can be set/changed by the same methods as in the Control/Variables tab:
▪
Setting the exact value
▪
Increasing the value with/without limits
▪
Converting the value (e.g. interval change)
▪
Scanning and storing, or reformatting a property/parameter
If the
Use variables
option is enabled, you can link a variable by the
$
character. If you do so (e.g. $1), the
device will handle it as the V1 variable. You can send the value of the variable e.g. as a TCP message.
Condition Triggering
DIFFERENCE:
This feature is avail-
able from FW package v1.1.0b3.
This improvement works as if a condition
is detected. When a complex control
system is built, a Condition may trigger
numerous Actions. A typical example is
when a system is powered on and the ’ready-to-use’ state has to be loaded. In this case, there could be many
actions which are based on the same condition. In order to reduce the number of the commands, you can
trigger one ’key’ condition, which could start the whole process.
Delay
Condition = true
Condition = true
Condition = true
Condition = true
continously
true
still true after
simple delay
no delay
Perform the action
Perform the action
Delay
Delay
Perform the action
Condition = true Perform the action
Time