18dowmp_wm, 19dev_reg, 20dev_query – CREATOR CR-PGMIII User Manual
Page 34: 21otherfunctions, 27 pgmⅢ programmable ethernet control system

CREATOR CHINA 2011-03
WWW.CREATOR1997.COM
27
PGMⅢ Programmable Ethernet Control System
UP_WM(wm_N,1);// set wm_N device’s first
channel to be “bounced up” status
7.6.2.18 DOWMP_WM
void DOWN_WM(String dev,int channel)
Function:Send “pressed down” 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
DOWN_WM(wm_N,1);// set wm_N device’s first
channel to be “pressed down” status
7.6.2.19 DEV_REG
void DEV_REG(String dev, int channel)
Function:Device registration, mainly applied for
the registration of the second generation
wall-mounted control keypad
Parameters:
dev – input 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
DEV_REG(wm_N,1);//register the first channel of
the wm_N
7.6.2.20 DEV_QUERY
void DEV_QUERY(String dev, int channel)
Function:Device inquire , mainly applied for
inquiring the second generation wall-mounted
control keypad
Parameters:
dev – input 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
DEV_ QUERY (wm_N,1);//inquire the first
channel of wm_N
7.6.2.21 Other functions
Many other functions have been provided to
realize various controlling requirements. Hereby
below are some brief introductions:
TRACE
Function:print the message msg
START_TIMER
Function:start the time with the name of
“name” at the time interface of “time” milliseconds
This function is used together with
CANCEL_TIMER(XXX)
START_TIMER
Function:at the time of “year, mouth, day, hh,
minute, second”, start the time with the name of
“name” at the time interface of “time”
milliseconds 。
CANCEL_TIMER
Function:Cancel the timer with the name of
“Timer”.
This function is used together with
START_TIMER(XXX,t)
WAIT