Programming
5
AXC-232 RS-232/422/485 Card
Programming
Send_Commands
The commands used to program the AXC-232 RS-232/422 Card are Axcess (version 3.0 or higher)
based. Refer to the
Axcess Programming Language
instruction manual for more information.
Send_Commands
B9MOFF
(default)
Returns the values for stop bits, data bits, and parity back to the original DIP switch
setting values.
B9MON
Enables a special "9 bits with 1 stop bit" mode which overrides the DIP switch settings for
stop bits, data bits, and parity. The baud rate is locked on the current DIP switch setting
upon issuance of this command.
CHARD
Sets specified delay between all transmitted characters
Syntax:
’CHARD-<time>’
Variable:
time = 0 - 255 in 100 microsecond increments.
Example:
’CHARD-10’
Sets 1mS delay between all transmitted characters.
CTSPSH
Enables PUSHes, RELEASEs, and status on channel 255 for CTS hardware handshake
input. If CTS is high, the channel is on.
CTSPSHF
Disables PUSHes, RELEASEs, and status on channel 255 for CTS hardware handshake
input (See CTSPSH above).
EOFF
(default)
Disables the 'EON' command described below.
EON
Intended for RS-485 mode, this command causes characters received from the transmit-
ter to be ignored.
HSOFF
(default)
Disables hardware handshaking.
HSON
Enables hardware handshaking.
RXCLR
Clears any characters, waiting in a receive buffer to be sent to the Master Card.
RXOFF
(default)
Disables the card’s ability to send incoming characters to the Master Card.
RXON
Enables the card to send incoming characters to the AXC-M Master Card; this command
is automatically sent by the Master Card when a buffer is created for the corresponding
device.
TXCLR
Clears any characters, waiting in a transmit buffer, to be sent to a card and stops
transmission.
TXEND
Used in 485 mode, this command inserts a delay between transmit enable and the first
character being transmitted in each packet.
Syntax:
’TXEND-<time>’
Variable:
time = 0 - 255 in 100 microsecond increments.
Example:
’TXEND-20’
Sets 2mS delay between transmit enable and the first character to be transmitted.
XOFF
(default)
Disables software handshaking.
XON
Enables software handshaking.