Querying The Condition Trigger Counter; Testing An Action; Variable-Management; Value Assignment - Lightware RAP-B511-EU User Manual

Room automation panel
Table of Contents

Advertisement

 
7. LW3 Programmers' Reference
7.12.6. Querying the Condition Trigger Counter
DIFFERENCE:

This command is available from FW package v1.1.0b3.
This property shows how many times the Condition has been triggered but does not contain the number of
real detections. The counter is reset at boot.
Command and Response
ç GET·/EVENTS/E<loc>.ExternalConditionTriggerCount
pw·/EVENTS/E<loc>.ExternalConditionTriggerCount=<num_value>
æ
Example
ç GET /EVENTS/E1.ExternalConditionTriggerCount
æ pw /EVENTS/E1.ExternalConditionTriggerCount=2
7.12.7. Testing an Action
This tool is for launching the Action without detecting or triggering the Condition.
Command and Response
ç CALL·/EVENTS/E<loc>:ActionTest(1)
æ mO·/EVENTS/E<loc>:ActionTest
Example
ç CALL /EVENTS/E1:ActionTest(1)
æ mO /EVENTS/E1:ActionTest
RAP-B511 series – User's Manual
7.13. Variable-Management
#new
7.13.1. Value Assignment
7.13.2. Addition and Subtraction (Add Method)
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5

DIFFERENCE:
This feature and below commands are available from FW package v1.1.0b3.
Custom variables (30 pcs.) can be defined in number or text format which are available also in the Event
Manager. The maximum length of a variable can be 15 characters and they are stored in a non-volatile
memory, thus, the value is kept in case of a reboot. The type of the variable (text or string) is determined
automatically based on the value. If an operation cannot be performed (e.g. adding number value to a string-
type variable), error will be the response.
Command and Response
SET·/CTRL/VARS/V<loc>.Value=<value>
ç
pw·/CTRL/VARS/V<loc>.Value=<value>
æ
Parameters
Parameter
Parameter description
<loc>
The location of the variable
<value>
The value of the variable
Example
ç SET /CTRL/VARS/V1.Value=120
æ pw /CTRL/VARS/V1.Value=120
The value of a numeric variable can be increased by adding a positive value or it can be decreased by adding
a negative value. Minimum and maximum values can be defined as limits.
Command and Response
ç CALL·/CTRL/VARS/V<loc>:add(<operand>;<min>;<max>)
æ mO·/CTRL/VARS/V<loc>:add
Parameters
Parameter
Parameter description
<loc>
The location of the variable
<operand>
The value that is added to the variable
<min>
The lowest allowed value (optional)
<max>
The highest allowed value (optional)
If the value of the variable is higher or equals with <max>, the new value will be <max>. Likewise, in case of
<min>
setting: if the value of the variable is lower or equals with <min>, the new value will be <min>.
#variables
Value
Value description
1-30
Length can be max 15 characters.
Numeric variable is defined between
Custom
-2147483648 and 2147483647.
Value
Value description
1-30
Negative value is also accepted
Integer
Negative value is also accepted
Integer
Negative value is also accepted
Integer
83
#new

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rap-b511-kRap-b511-wRap-b511-sRap-b511-ukRap-b511-us

Table of Contents