Programming
88
NI Series WebConsole & Programming Guide
RS-232/422/485 Send_String Escape Sequences
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_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.
27,19,<time>
Insert a time delay before
transmitting the next
character.
Syntax:
SEND_STRING <DEV>,"27,19,<time>"
Variable:
time = 1 - 255. Measured in 1 millisecond increments.
Example:
SEND_STRING RS232_1,"27,19,10"
Inserts a 10 millisecond delay before transmitting characters to the RS232_1
device.
27,20,0
Set the RTS hardware
handshake's output to high
(> 3V).
Syntax:
SEND_STRING <DEV>,"27,20,0"
Example:
SEND_STRING RS232_1,"27,20,0"
Sets the RTS hardware handshake's output to high on the RS232_1 device.
27,20,1
Set the RTS hardware
handshake's output to
low/inactive (< 3V).
Syntax:
SEND_STRING <DEV>,"27,20,1"
Example:
SEND_STRING RS232_1,"27,20,1"
Sets the RTS hardware handshake's output to low on the RS232_1 device.
Содержание NetLinx Master-Ethernet Card/Module NXC-ME260
Страница 8: ...vi NI Series WebConsole Programming Guide Table of Contents ...
Страница 12: ...Overview 4 NI Series WebConsole Programming Guide FIG 1 Internet Explorer with BonJour plug in ...
Страница 13: ...Overview 5 NI Series WebConsole Programming Guide ...
Страница 14: ...Overview 6 NI Series WebConsole Programming Guide ...
Страница 34: ...Onboard WebConsole User Interface 26 NI Series WebConsole Programming Guide ...
Страница 36: ...WebConsole WebControl Options 28 NI Series WebConsole Programming Guide ...
Страница 88: ...WebConsole System Options 80 NI Series WebConsole Programming Guide ...
Страница 104: ...Programming 96 NI Series WebConsole Programming Guide ...
Страница 156: ...Appendix A IPSec Configuration File 148 NI Series WebConsole Programming Guide ...
Страница 161: ...Terminal Program Port Telnet Commands 153 NI Series WebConsole Programming Guide ...