
Programming
58
Modero S Series Touch Panels - Configuration & Programming Manual
Button Commands (Cont.)
^BPP
Set or clear the protected page flip flag of a button. Sets the button to protected page flip flag 1 (sets it to password 1).
• Syntax:
"'^BPP-<vt addr range>,<protected page flip flag value>'"
• Variables:
variable text address range = 1 - 4000.
protected page flip flag value range = 0 - 4 (
0 clears the flag
).
• Example:
SEND_COMMAND Panel,"'^BPP-500,1'"
^BRD
Set the border of a button state/states.
Only
if the specified border is not the same as the current border. The border names
are available through the TPDesign4 border-name drop-down list. Refer to theTPD4 Border Styles by Name table on
page 92.
• Syntax:
"'^BRD-<vt addr range>,<button states range>,<border name>'"
• Variables:
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons 1 = Off state and 2 = On state).
border name = Refer to the Border Styles and Programming Numbers table on page 91.
• Example:
SEND_COMMAND Panel,"'^BRD-500.504&510.515,1&2,Quad Line'"
Sets the border by name (Quad Line) to those buttons with the variable text range of 500-504 & 510-515.
?BRD
Get the current border name.
• Syntax:
"'?BRD-<vt addr range>,<button states range>'"
• Variables:
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons 1 = Off state and 2 = On state).
custom event type
1014:
Flag - Zero
Value1 - Button state number
Value2 - Actual length of string
Value3 - Zero
Text - String that represents border name
Text length - Border name length
• Example:
SEND COMMAND Panel,"'?BRD-529,1'"
Gets the button 'OFF state' border information.
The result sent to the Master would be:
ButtonGet Id = 529 Type = 1014
Flag = 0
VALUE1 = 1
VALUE2 = 22
VALUE3 = 0
TEXT = Double Bevel Raised -L
TEXT LENGTH = 22
^BSF
Set the focus to the text area.
Note: Select one button at a time (single variable text address). Do not assign a variable text address range to set focus to
multiple buttons. Only one variable text address can be in focus at a time.
• Syntax:
"'^BSF-<vt addr range>,<selection value>'"
• Variables:
variable text address range = 1 - 4000.
selection value = Unselect = 0 and select = 1.
• Example:
SEND_COMMAND Panel,"'^BSF-500,1'"
Sets the focus to the text area of the button.
^BSM
Submit text for text area buttons. This command causes the text areas to send their text as strings to the NetLinx Master.
• Syntax:
"'^BSM-<vt addr range>'"
• Variables:
variable text address range = 1 - 4000.
• Example:
SEND_COMMAND Panel,"'^BSM-500'"
Submits the text of the text area button.