![background image](http://html1.mh-extra.com/html/amx/modero-cv7/modero-cv7_operation-reference-manual_2939251156.webp)
Programming
144
7" Modero Touch Panels
"^" Button Commands
These Button Commands are used in NetLinx Studio and are case insensitive.
All commands that begin with "
^
" have the capability of assigning a variable text address range and
button state range.
A device must first be defined in the NetLinx programming language with values
for the Device: Port : System
(in all programming examples -
Panel
is used in place of these values).
Variable text ranges
allow you to target 1 or more variable text channels in a single
command.
Button State ranges
allow you to target 1 or more states of a variable text button with a single
command.
"."
Character is used for the 'through' notation, also the "
&
" character is used for the 'And'
notation.
"^" Button Commands
^ANI
Run a button
animation
(in 1/10 second).
Syntax:
"'^ANI-<vt addr range>,<start state>,<end state>,<time>'"
Variable:
variable text address range = 1 - 4000.
start state = Beginning of button state (0= current state).
end state = End of button state.
time = In 1/10 second intervals.
Example:
SEND_COMMAND Panel,"'^ANI-500,1,25,100'"
Runs a button animation at text range 500 from state 1 to state 25 for 10 second.
^APF
Add page flip
action to a button
if it does not
already exist.
Syntax:
"'^APF-<vt addr range>,<page flip action>,<page name>'"
Variable:
variable text address range = 1 - 4000.
page flip action =
Stan
[dardPage] - Flip to standard page
Prev
[iousPage] - Flip to previous page
Show
[Popup] - Show Popup page
Hide
[Popup] - Hide Popup page
Togg
[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,"'^APF-400,Stan,Main Page'"
Assigns a button to a standard page flip with page name 'Main Page'.
^BAT
Append
non-unicode text.
Syntax:
"'^BAT-<vt addr range>,<button states range>,<new text>'"
Variable:
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).
new text = 1 - 50 ASCII characters.
Example:
SEND_COMMAND Panel,"'^BAT-520,1,Enter City'"
Appends the text 'Enter City' to the button’s OFF state.
Summary of Contents for Modero CV7
Page 1: ...Operation Reference Guide Touch Panels NXD T CV7 7 Modero Touch Panel Last Revised 10 19 2011...
Page 42: ...CV7 Touch Panel Accessories 30 7 Modero Touch Panels...
Page 58: ...Installation 46 7 Modero Touch Panels...
Page 194: ...Programming 182 7 Modero Touch Panels...
Page 200: ...Appendix A 188 7 Modero Touch Panels...
Page 211: ...Appendix B Wireless Technology 199 7 Modero Touch Panels...
Page 212: ...Appendix B Wireless Technology 200 7 Modero Touch Panels...
Page 218: ...Troubleshooting 206 7 Modero Touch Panels...