AMX NXI manual SET Baud, Tset Baud, Hsoff, Hson, Rxclr, Rxoff

Page 17

 

Programming

 

RS-232/422/485 Send_Commands (Cont.)

 

 

SET BAUD

Syntax:

Sets the RS-232/422/485

SEND_COMMAND <DEV>,'SET BAUD

port's communication param-

(Baud),(Parity),(Data),(Stop) (485 DISABLE/ENABLE)'

eters.

Variables:

 

 

Baud = 150, 300, 600, 1200, 2400, 4800, 9600, 19200, 38400 (factory set

 

default), 57600, 76800, 115200, 230400

 

Parity = N (none), O (odd), E (even), M (mark), S (space)

 

Data = 7 or 8 data bits

 

Stop = 1 or 2 stop bits

 

485 Disable = Disables RS-485 mode and enables RS-422.

 

485 Enable = Enables RS-485 mode and disables RS-422.

 

Example:

 

SEND_COMMAND RS232_1,'SET BAUD 9600,N,8,1 485 ENABLE'

 

Sets the RS232_1 port's communication parameters to 9,600 baud, no parity, 8

 

data bits, 1 stop bit, and enables RS-485 mode.

 

 

TSET BAUD

Syntax:

Temporarily sets the RS-232/

SEND_COMMAND <DEV>,'TSET BAUD (Baud),(Parity),(Data),

422/485 port's communica-

(Stop) (485 DISABLE/ENABLE)'

tion parameters.

TSET BAUD works the same as SET BAUD, except that the changes are not

 

 

permanent, and the previous values will be restored if the power is cycled on

 

the device.

 

 

HSOFF

Syntax:

Disables hardware hand-

SEND_COMMAND <DEV>,'HSOFF'

shaking (default).

Example:

 

 

SEND_COMMAND RS232_1,'HSOFF'

 

Disables hardware handshaking on the RS232_1 device.

 

 

HSON

Syntax:

Enables RTS (ready-to-send)

SEND_COMMAND <DEV>,'HSON'

and CTS (clear-to-send)

Example:

hardware handshaking.

SEND_COMMAND RS232_1,'HSON'

 

 

Enables hardware handshaking on the RS232_1 device.

 

 

RXCLR

Syntax:

Clears all characters in the

SEND_COMMAND <DEV>,'RXCLR'

receive buffer waiting to be

Example:

sent to the Master Card.

SEND_COMMAND RS232_1,'RXCLR'

 

 

Clears all characters in the RS232_1 device's receive buffer waiting to be sent

 

to the Master Card.

 

 

RXOFF

Syntax:

Stops transmitting received

SEND_COMMAND <DEV>,'RXOFF'

characters to the Master Card

Example:

(default).

SEND_COMMAND RS232_1,'RXOFF'

 

 

Stops the RS232_1 device from transmitting received characters to the Master

 

Card.

 

 

NXI NetLinx Integrated Controller

13

 

 

Image 17
Contents NXI AMX Limited Warranty and Disclaimer Table of Contents Table of Contents NXI NetLinx Integrated Controller Front and Rear Panel Components Product InformationNXI Specifications SpecificationsPorts Front panel componentsRear Panel Components Product Information NXI NetLinx Integrated Controller RS-232/422/485 Wiring Specifications Installing the Master or Hub CardRelay Connections and Wiring RS-232/422/485 Wiring SpecificationsInput/Output I/O Connections and Wiring IR/Serial Connections and WiringIR/Serial Connector Wiring Specifications Port Wiring SpecificationsNumberportsystem Using the ID ButtonStructure DEV PC COM Port Communication Settings Program Port CommandsProgram Port Commands Command DescriptionSendcommand Reboot DPSProgram Info PulseEscape Pass Codes ESC Pass CodesLED SendCommands LED Disable/Enable SendCommandsRS232/422/485 Ports Channels RS232/422/485 Ports ChannelsRS-232/422/485 SendCommands RS-232/422/485 SendCommandsTset Baud SET BaudHsoff HsonTxclr RxonXoff XONRS-232/422/485 SendString Escape Sequences RS-232/422/485 SendString Escape SequencesIR/Serial SendCommands IR/Serial SendCommandsIR / Serial Ports 8 15 Channels IR / Serial Ports ChannelsCtof GET ModeCton IroffPON SET ModePtof PtonSendcommand IR1, SP,25 Sendcommand DEV, SP,IR OUTXCH XchmZAP High Input/Output SendCommandsZAP LOW GET InputProgramming NXI NetLinx Integrated Controller Programming Enter the Document Name Here It’s Your World Take Control