Programming

"^" Button Commands (Cont.)

^BWW

By default, word-wrap is Off.

Set the button

Syntax:

 

word wrap

"'^BWW-<vt addr range>,<button states range>,<word wrap>'"

feature to those

Variable:

 

buttons with a

 

 

 

defined address

variable text address range = 1 - 4000.

range.

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.

 

 

 

^CPF

Syntax:

 

Clear all page flips

"'^CPF-<vt addr range>'"

from a button.

Variable:

 

 

 

 

variable text address range = 1 - 4000.

 

Example:

 

 

SEND_COMMAND Panel,"'^CPF-500'"

 

Clears all page flips from the button.

 

 

 

^DPF

Syntax:

 

Delete page flips

"'^DFP-<vt addr range>,<actions>,<page name>'"

from button if it

Variable:

 

already exists.

 

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

 

 

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,"'^DPF-409,Prev'"

 

Deletes the assignment of a button from flipping to a previous page.

 

 

 

^ENA

Syntax:

 

Enable or

"'^ENA-<vt addr range>,<command value>'"

disable buttons

Variable:

 

with a set

 

variable text address range = 1 - 4000.

variable text

command value = (0= disable, 1= enable)

range.

 

Example:

 

 

SEND_COMMAND Panel,"'^ENA-500.504&510.515,0'"

 

Disables button pushes on buttons with variable text range 500-504 & 510-515.

 

 

 

VG-Series Modero Touch Panels

203

 

 

Page 213
Image 213
AMX NXD/NXT-1500VG, NXD/NXT-1700VG, NXD/NXT-1200VG manual Bww, Cpf, Dpf, Ena