![Lightware RAP-B511-EU User Manual Download Page 74](http://html.mh-extra.com/html/lightware/rap-b511-eu/rap-b511-eu_user-manual_1915314074.webp)
7. LW3 Programmers’ Reference
RAP-B511 series
– User's Manual
74
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5
7.7.3.
Set the Button Operation Mode
Command and Response
ç
SET·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
.Mode=
<btn_mode>
æ
pw·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
.Mode=
<btn_mode>
Parameters
Identifier
Parameter description
Parameter values
<btn_mode>
Shows the button type.
It can be
momentary
or
toggle
or
radio
.
0
: Momentary: Simple button function, when the button is pressed,
the action will execute.
▪
When the button is pressed, the
<btn_ID>
.State-=true
▪
When the button is released, the
<btn_ID>
.State=false
1
: Toggle: This button type toggles between two states
(e.g. control turning on and off the light with one button).
▪
When the button is pressed, the
<btn_ID>
.State changes.
▪
When the button is released, the
<btn_ID>
.State does not change.
2-6
: Radio: It defines the assigned radio group of the button. One
button can belong to one group at the same time.
When the button is pressed, the
<btn_ID>
.State changes true and
<btn_ID>
.State of the other members in the same group changes
false.
2
: Member of group 1;
3
: Member of group 2;
4
: Member of group 3;
5
: Member of group 4;
6
: Member of group 5.
Example
ç
SET /MANAGEMENT/UI/BUTTONS/BUTTON1.Mode=1
æ
pw /MANAGEMENT/UI/BUTTONS/BUTTON1.Mode=1
7.7.4.
Set the Button Interaction State
This property gives immediate feedback about the button status, which changes depending on the button
mode. When the button function is configured with Lightware Device Controller Software, this parameter is
set as a Condition in the Event Manager.
Command and Response
ç
SET·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
.State=
<btn_state>
æ
pw·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
.State=
<btn_state>
Parameters
Identifier
Parameter description
Parameter values
<btn_state>
Button state
true
or
false
: It gives a feedback about the current state
of the button, which changes depending on the
.
Example
ç
SET /MANAGEMENT/UI/BUTTONS/BUTTON1.State=true
ç
pw /MANAGEMENT/UI/BUTTONS/BUTTON1.State=true
7.7.5.
Set the Button Name
Command and Response
ç
SET·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
. Name=
<btn_name>
æ
pw·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
. Name=
<btn_name>
Parameters
Identifier
Parameter description
Parameter values
<btn_name>
Button name
The button name can be 33 character-long,
ASCII characters are allowed. Longer names are not accepted.
Example
ç
SET /MANAGEMENT/UI/BUTTONS/BUTTON1.Name=Projector on
ç
pw /MANAGEMENT/UI/BUTTONS/BUTTON1.Name=Projector on
7.7.6.
Set the Icon for the Button
Command and Response
ç
SET·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
.IconId=
<icon_ID>
æ
pw·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
. IconId=
<icon_ID>
Parameters
Identifier
Parameter description
Parameter values
<icon_ID>
It defines the displayed icon of the button
in the Miniweb or the LDC layout.
i1-i140
: Sets the pictogram on the button.