WebCatPlus Web Server Remote Commands


WebCatPlus Web Server Supports Remote commands to execute on server side.
You can send the remote commands to server using http GET method.

Example Syntax


http://192.168.1.10/default.asp?CLR=P1.0 // (Clears P1.0)

Command List


PASS=password // User password for perform command on a secure server
USER=user // User name for perform command on a secure server
 
OUT=P0.0, ..., OUT=P0.31 // Configures port #0 pin as OUT
INP=P0.0, ..., INP=P0.31 // Configures port #0 pin as IN
CLR=P0.0, ..., CLR=P0.31 // Sets logical 0 on port #0 pin
SET=P0.0, ..., SET=P0.31 // Sets logical 1 on port #0 pin
 
OUT=P1.16, ..., OUT=P1.31 // Configures port #1 pin as OUT
INP=P1.16, ..., INP=P1.31 // Configures port #1 pin as IN
CLR=P1.16, ..., CLR=P1.31 // Sets logical 0 on port #1 pin
SET=P1.16, ..., SET=P1.31 // Sets logical 1 on port #1 pin
 
CLR=R00,...,CLR=R63 // These commands allow to control PCF8574 I/O expanders on "4REED RELAYS" boards
SET=R00,...,SET=R63 // These commands allow to control PCF8574 I/O expanders on "4REED RELAYS" boards
 
LCDSTR="/images/2541549/string" // Sends "/images/2541549/string" to LCD
LCDD=%xx // Sends byte to LCD
LCDC=num // Writes to LCD242 control register
 
I2CSTART // Starts I2C
I2CNUM=number // Transmits data byte, for example, I2CNUM=208
I2CREC // Receives data byte to 8-byte I2C Buffer
I2CNAK // I2C NAK
I2CACK // I2C ACK
I2CSTOP // Stops I2C
I2CSTR=String // Transmits string
I2CH=%XX // Transmits data byte, for example, %0D
CLR=IP // Clears 8-byte I2C receive buffer, executes I2C repair
CLR=IB // Resets ^I2C^ tag pointer
 
BAUD=baudrate // Sets speed of serial port UART0 in bauds
PARITY=parity // (NONE=0,ODD=1,EVEN=2). For example, PARITY=0
COMSTR="/images/2541549/string" // Sends "/images/2541549/string" to UART0
COM=%xx // Sends onr byte to UART0
CLR=CP // Empties COM buffer
CLR=CB // Resets ^COM^ tag pointer
 
DELAY=msecs // Delays page loading on the specified time
 
WCSEC=16-bit number // Writes 16-bit number to SEC (seconds) register LPC2138
WCMIN=16-bit number // Writes 16-bit number to MIN (minutes) register LPC2138
WCHOUR=16-bit number // Writes 16-bit number to HOUR (hours) register LPC2138
WCDOM=16-bit number // Writes 16-bit number to DOM (day of month) register LPC2138
WCDOW=16-bit number // Writes 16-bit number to DOW (day of week) register LPC2138
WCDOY=16-bit number // Writes 16-bit number to DOY (day of year) register LPC2138
WCMONTH=16-bit number // Writes 16-bit number to MONTH (month) register LPC2138
WCYEAR=16-bit number // Writes 16-bit number to YEAR (year) register LPC2138