13off_vol, 14set_voltotol, 15set_volhight – CREATOR CR-PGMIII User Manual
Page 33: 16set_vollow, 17up_wm, 26 pgmⅢ programmable ethernet control system

CREATOR CHINA 2011-03
WWW.CREATOR1997.COM
26
PGMⅢ Programmable Ethernet Control System
ON_VOL(vol_N,1); // turn on the first channel of
vol_N
7.6.2.13 OFF_VOL
void OFF_VOL(String dev,int channel)
Function:Turn off the volume
Parameters:
dev - :Sound controlling device
channel - :Device channel number
Example:
vol_N = N:9:VOL; // define the sound controlling
device with the CR-NET device number of 9:
vol_N ON_VOL(vol_N,1); //turn off the first
channel of vol_N
7.6.2.14 SET_VOLTOTOL
void
SET_VOLTOTOL(String dev,int channel,int val)
Function:Control the overall volume
Parameters:
dev - :Sound controlling device
channel - :Device channel number
val - :Analog value (Note: this analog value’s
range is 0 - 65535)
Example:
vol_N = N:9:VOL; // define the sound controlling
device vol_N with the CR-NET device number of
9
SET_VOLTOTOL(vol_N,1,600);//Set vol_N’s first
channel volume to 600
7.6.2.15 SET_VOLHIGHT
void
SET_VOLHIGHT(String dev,int channel,int val)
Function:Control the high-pitch part
Parameters:
dev - :Sound controlling device
channel - :Device channel number
val - :Analog value (Note: this analog value’s
range is 0 - 65535)
Example:
vol_N = N:9:VOL; // define the sound controlling
device vol_N with the CR-NET device number of
9
SET_ VOLHIGHT (vol_N,1,600);// Set the
high-pitch part of the vol_N’s first channel volume
to 600
7.6.2.16 SET_VOLLOW
void
SET_VOLLOW(String dev,int channel,int val)
Function:Control the low-pitch part
Parameters:
dev - :Sound controlling device
channel - :Device channel number
val - :Analog value (Note: this analog value’s
range is 0 - 65535)
Example:
vol_N = N:9:VOL; // define the sound controlling
device vol_N with the CR-NET device number of
9
SET_VOLLOW (vol_N,1,600);// Set the low-pitch
part of the vol_N’s first channel volume to 600
7.6.2.17 UP_WM
void UP_WM(String dev,int channel)
Function:Send “bounce back” command to the
wall-mounted control keypad, applied for the
communication when there is touch panel and the
wall-mounted control keypad controlling the same
device
Parameters:
dev - :wall-mounted control keypad device
channel - :Device channel number
Example:
wm_N = N:14:WM; // define the wall-mounted
control keypad device with the CRNET device
number of 14