Programming
60
Modero S Series Touch Panels - Configuration & Programming Manual
Button Commands (Cont.)
^BWW Set the button word wrap feature to those buttons with a defined address range. By default, word-wrap is Off.
•Syntax:
"'^BWW-<vt addr range>,<button states range>,<word wrap>'"
•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).
word wrap = (0=Off and 1=On). Default is Off.
•Example:
SEND_COMMAND Panel,"'^BWW-500,1,1'"
Sets the word wrap on for the button’s Off state.
?BWW Get the current word wrap flag status.
•Syntax:
"'?BWW-<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 1010:
Flag - Zero
Value1 - Button state number
Value2 - 0 = no word wrap, 1 = word wrap
Value3 - Zero
Text - Blank
Text length - Zero
•Example:
SEND COMMAND Panel,"'?BWW-529,1'"
Gets the button 'OFF state' word wrap flag status information.
The result sent to the Master would be:
ButtonGet Id = 529 Type = 1010
Flag = 0
VALUE1 = 1
VALUE2 = 1
VALUE3 = 0
TEXT =
TEXT LENGTH = 0
^CPF Clear all page flips from a button.
•Syntax:
"'^CPF-<vt addr range>'"
•Variables:
variable text address range = 1 - 4000.
•Example:
SEND_COMMAND Panel,"'^CPF-500'"
Clears all page flips from the button.
^DPF Delete page flips from button if it already exists.
•Syntax:
"'^DFP-<vt addr range>,<actions>,<page name>'"
•Variables:
variable text address range = 1 - 4000.
actions =
Stan[dardPage] - Flip to standard page
Prev[iousPage] - Flip to previous page
Show[Popup] - Show Popup page
Hide[Popup] - Hide Popup page
To gg [lePopup] - Toggle popup state
ClearG[roup] - Clear popup page group from all pages
ClearP[age] - Clear all popup pages from a page with the specified page name
ClearA[ll] - Clear all popup pages from all pages
page name = 1 - 50 ASCII characters.
•Example:
SEND COMMAND Panel,"'^DPF-409,Prev'"
Deletes the assignment of a button from flipping to a previous page.