AMX MAX-CSE Webcam User Manual


 
NetLinx Programming
98
MAX-CSE/MAX-CSD10 Operation/Reference Guide
RS232/422/485 Ports Channels
RS232/422/485 ports are Port 2 on the MAX-CSE.
RS-232/422/485 Send_String Escape Sequences (Port 2)
This device also has some special SEND_STRING escape sequences:
If any of the 3 character combinations below are found anywhere within a SEND_STRING program
instruction, they will be treated as a command and not the literal characters.
In these examples: <DEV> = device.
RS-232/422/485 Send_Commands (Cont.)
Command Description
XON
Enable software
handshaking.
Syntax:
SEND_COMMAND <DEV>,"'XON'"
Example:
SEND_COMMAND RS232_1,"'XON'"
Enables software handshaking on the RS232_1 device.
RS232/422/485 Ports Channels
255 - CTS push channel Reflects the state of the CTS input if a 'CTSPSH' command was sent to the
port.
RS-232/422/485 Send_String Escape Sequences
Command Description
27,17,<time>
Send a break character for a
specified duration to a
specific device.
Syntax:
SEND_STRING <DEV>,"27,17,<time>"
Variable:
time = 1 - 255. Measured in 100 microsecond increments.
Example:
SEND_STRING RS232_1,"27,17,10"
Sends a break character of 1 millisecond to the RS232_1 device.
27,18,0
Clear the ninth data bit by
setting it to 0 on all character
transmissions.
Used in conjunction with the 'B9MON' command.
Syntax:
SEND_STRING <DEV>,"27,18,0"
Example:
SEND_STRING RS232_1,"27,18,0"
Sets the RS232_1 device's ninth data bit to 0 on all character transmissions.
27,18,1
Set the ninth data bit to 1 for
all subsequent characters to
be transmitted.
Used in conjunction with the 'B9MON' command.
Syntax:
SEND_STRING <DEV>,"27,18,1"
Example:
SEND_STRING RS232_1,"27,18,1"
Sets the RS232_1 device's ninth data bit to 1 on all character transmissions.