Set Baud; Tset Baud; Hsoff; Hson - AMX NXI Operation/Reference Manual

Integrated controller (no master)
Hide thumbs Also See for NXI:
Table of Contents

Advertisement

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

SET BAUD

TSET BAUD

HSOFF

HSON

RXCLR

RXOFF

RXON

6
Sets the RS-232/422/485 port's communication parameters.
Syntax:
SEND_COMMAND <DEV>,'SET BAUD (Baud),(Parity),(Data),(Stop)
(485 DISABLE/ENABLE)'
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.
Temporarily sets the RS-232/422/485 port's communication 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.
Syntax:
SEND_COMMAND <DEV>,'TSET BAUD (Baud),(Parity),(Data), (Stop)
(485 DISABLE/ENABLE)'
Disables hardware handshaking (default).
Syntax:
SEND_COMMAND <DEV>,'HSOFF'
Example:
SEND_COMMAND RS232_1,'HSOFF'
Disables hardware handshaking on the RS232_1 device.
Enables RTS (ready-to-send) and CTS (clear-to-send) hardware handshaking.
Syntax:
SEND_COMMAND <DEV>,'HSON'
Example:
SEND_COMMAND RS232_1,'HSON'
Enables hardware handshaking on the RS232_1 device.
Clears all characters in the receive buffer waiting to be sent to the Master Card.
Syntax:
SEND_COMMAND <DEV>,'RXCLR'
Example:
SEND_COMMAND RS232_1,'RXCLR'
Clears all characters in the RS232_1 device's receive buffer waiting to be sent to the Master Card.
Stops transmitting received characters to the Master Card (default).
Syntax:
SEND_COMMAND <DEV>,'RXOFF'
Example:
SEND_COMMAND RS232_1,'RXOFF'
Stops the RS232_1 device from transmitting received characters to the Master Card.
Starts transmitting received characters to the Master Card.
This command is sent automatically when issuing a CREATE_BUFFER SEND_COMMAND.
Syntax:
SEND_COMMAND <DEV>,'RXON'
Example:
SEND_COMMAND RS232_1,'RXON'
Sets the RS232_1 device to transmit received characters to the Master Card.
NetLinx Integrated Controller (No Master) - Operation Reference Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netlinx nxi

Table of Contents