7. LW3 Programmers’ Reference
RAP-B511 series
– User's Manual
50
7.5. Button Configuration
General parameters
Identifier
Parameter description
Parameter values
<btn_ID>
Button identifier
BUTTON1-11
7.5.1. Lock the Front Panel Functionality
Command and Response
Ý
SET·/MANAGEMENT/UI.ControlLock=
<lock_status>
Ü
pw·/MANAGEMENT/UI.ControlLock=
<lock_status>
Parameters
<lock_status>
0:
None - All functions of the front panel buttons and the rotary are enabled.
1:
Locked - Locking and unlocking of the front panel buttons and the rotary are possible with
Lightware Device Controller software or via protocol command.
Example
Ý
SET /MANAGEMENT/UI.ControlLock=1
Ü
pw /MANAGEMENT/UI.ControlLock=1
7.5.2.
Lock the Buttons Separately
Command and Response
Ý
SET·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
.Enabled=
<btn_lock_status>
Ü
pw·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
.Enabled=
<btn_lock_status>
Parameters
Identifier
Parameter description
Parameter values
<btn_lock_status>
true:
On buttonpress event, the funcitonality of the
button is enabled.
false:
On buttonpress event, the funcitonality of the
button is disabled.
Example
Ý
SET /MANAGEMENT/UI/BUTTONS/BUTTON1.Enabled=false
Ü
pw /MANAGEMENT/UI/BUTTONS/BUTTON1.Enabled=false
7.5.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