background image

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.

Содержание AXC-232

Страница 1: ...instruction manual Axcess Control Cards AXC 232 RS 232 422 485 Control Card ...

Страница 2: ... RMA is cancelled will be refused AMX is not responsible for products returned without a valid RMA number AMX Corporation is not liable for any damages caused by its products or for the failure of its products to perform This includes any lost profits lost savings incidental damages or consequential damages AMX Corporation is not liable for any claim made by a third party or by an AMX Dealer for a...

Страница 3: ... 232 422 DIP Switch 2 Setting the Internal Jumpers 2 Enabling RS 232 Mode 2 Card Edge Pinouts 3 Preparing captive wires 3 Using RS 232 4 Using Hardware Handshaking 4 Using RS 422 4 Using RS 485 4 Programming 5 Send_Commands 5 Send_Strings 6 Send_String escape sequences 6 Axcess Master Mode 6 ...

Страница 4: ...ii AXC 232 RS 232 422 485 Card Table of Contents ...

Страница 5: ...G 1 AXC 232 RS 232 422 485 Control Card Specifications Power Requirement 125 mA 12 VDC RS232 422 DIP Switch An eight position DIP switch used to set the communication parameters for the card Refer to the RS 232 422 DIP Switch section on page 2 for more informa tion Asynchronous data standards Baud rates 300 600 1200 2400 4800 9600 19200 and 38400 Data bits 7 8 and 9 Stop bits 1 and 2 Parity None O...

Страница 6: ...ata Bits Parity Baud Rates Setting Off Off Off Off Off Off Off Off Value 2 bits 7 bits Unused 300 On On On Off Off On Off Off 1 bit 8 bits Unused 600 Off On Off Off On Off Unused 1 200 On On Off On On Off Unused 2 400 Off Off On Off Off On Mark 4 800 On Off On On Off On Even 9 600 Off On On Off On On Odd 19 200 On On On On On On None 38 400 ON 1 2 3 4 5 6 7 8 RS232 422 Static electricity can damag...

Страница 7: ...strip the threads and damage the connector FIG 3 JP2 Internal Jumper 232 485 mode Card Edge Pinouts Pin Signal Function 1 GND Ground RS 232 2 RX Receive data RS 232 3 TX Transmit data RS 232 4 12V Power 5 RX Receive data RS 422 6 RX Receive data RS 422 7 TX Transmit data RS 422 8 TX Transmit data RS 422 9 GND Ground 10 CTS Hardware handshaking Clear to send 11 RTS Hardware handshaking Ready to sen...

Страница 8: ...5 Using RS 422 When communicating via RS 422 connect the wiring as shown in FIG 6 Using RS 485 When communicating via RS 485 connect the wiring as shown in FIG 7 FIG 4 RS 232 wiring FIG 5 Hardware handshaking wiring FIG 6 RS 422 wiring FIG 7 RS 485 wiring RX TX GND AXC 232 Device TX RX RX TX TX RX GND 12V RTS CTS RTS CTS 1 2 3 4 AXC 232 Device TX RX RX AXC 232 Device TX RX TX TX RX TX RX GND 12V G...

Страница 9: ...nd 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 RX...

Страница 10: ...ess device s RS 232 port Press the escape key then type either MC or MD esc MC connects the device in Master Mode esc MD disconnects the device where esc means press the Esc key Send_Strings 27 17 time Sends a break character for the specified length of time Variable time 1 255 in 100 microsecond increments 27 18 1 Sets the ninth data bit to 1 for all of the following characters to be transmitted ...

Страница 11: ...Programming 7 AXC 232 RS 232 422 485 Control Card ...

Страница 12: ...a doing business as Panja Inc ARGENTINA AUSTRALIA BELGIUM BRAZIL CANADA CHINA ENGLAND FRANCE GERMANY GREECE HONG KONG INDIA INDONESIA ITALY JAPAN LEBANON MALAYSIA MEXICO NETHERLANDS NEW ZEALAND PHILIPPINES PORTUGAL RUSSIA SINGAPORE SPAIN SWITZERLAND THAILAND TURKEY USA ATLANTA BOSTON CHICAGO CLEVELAND DALLAS DENVER INDIANAPOLIS LOS ANGELES MINNEAPOLIS PHILADELPHIA PHOENIX PORTLAND SPOKANE TAMPA 30...

Отзывы: