Programming
126 MVP-5100/5150 Modero Viewpoint Touch Panels
"^" Button Commands (Cont.)
^GSN
Change the
bargraph slider
name or joystick
cursor name.
Slider names and cursor names can be found in the TPDesign4 slider name and cursor
drop-down list.
Syntax:
"'^GSN-<vt addr range>,<bargraph slider name>'"
Variab le :
variable text address range = 1 - 4000.
bargraph slider name = See table below.
Example:
SEND_COMMAND Panel,"'^GSN-500,Ball'"
Changes the bargraph slider name or the Joystick cursor name to ’Ball’.
^ICO
Set the icon to a
button.
Syntax:
"'^ICO-<vt addr range>,<button states range>,<icon index>'"
Variab le :
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).
icon index range = 0 - 9900 (a value of 0 is clear).
Example:
SEND_COMMAND Panel,"'^ICO-500.504&510.515,1&2,1'"
Sets the icon for On and Off states for buttons with variable text ranges of 500-504 &
510-515.
^IRM
Set the IR
channel.
Pulse the given IR channel for onTime in tenths of seconds. Delay offTime in tenths of a
second before the next IR pulse is allowed. ^IRM allows the command itself to specify the
port number. ^IRM is needed because commands programmed on the panel itself can
only be sent to a single port number. (currently this is defined as 1 only).
Note: The port number of the IR will be the port number assigned in TPD4.
Syntax:
"'^IRM-<port>,<channel>,<onTime>,<offTime>'"
Variab le :
port = User-defined port on the device (panel).
channel = 1 - 255 (channel to pulse).
onTime = 1/10th of a second.
offTime = 1/10th of a second.
Example:
SEND_COMMAND Panel,"'^IRM-10,5, 20, 10'"
Sets the port 10 IR channel 5 on time to 1 second and off time to 2 seconds.
Bargraph Slide r Nam es:
Circ le -M
None
Circle -S
Ball
Precisio n
Circle -L
Rectangle -L Rect angle - M Rectan gle -S
Windows Windo ws Active
Joystick Cursor Names:
Circ l e
None
Crosshairs
Arrow
Gunsight
Ball
Hand Meta l Spira l
Target View Fi nder