Rsxxx Interfaces - Jäger ADwin-Gold-USB Manual

Hide thumbs Also See for ADwin-Gold-USB:
Table of Contents

Advertisement

ADwin
Range
Receiving and sending of data
Write / read access to the
controller register
The instructions are in the include file <ADWGCAN.INC>. More information can
also be found in the ADbasic manual and the online help.

9.3 RSxxx Interfaces

Each of the 2 RSxxx interfaces is equipped with the "Quad Universal Asynchro-
nous Receiver/Transmitter" controller (UART), type TL16C754 from Texas
®
Instruments
. Functionality and programming of the interfaces are based on
this controller.
Both interfaces can be operated individually with the RS232 or RS485 protocol.
The physical difference between the protocols is the level of the signals, which
are generated by special driver components on the bus.
COM1, COM2
(RS232)
If an RS485 interface functions as the physical bus termination, the terminator
must be a resistor (only the first or last RS485 participant). RS485 participants,
which are not positioned in an end-location, must not be terminated.
For the termination there is – if required for the chosen circuit type – a voltage
of +5V provided at pin 6.
9.3.1 Setting the interface parameters
Each interface has an input and an output FIFO with a length of 64 bytes each.
The settings of the interface parameters are made separately for each channel,
using the controller register. Below the settings are described more detailed:
– Handshake: The interface is operated in 4 modes:
1. RS232 without handshake
2. RS232 with software handshake (Xon/Xoff)
3. RS232 hardware handshake (RTS/CTS). The signals RTS and CTS
must be connected.
4. RS485
ADwin-Gold USB / ENET, manual version 3.8, October 2005
Instructions
CAN_MSG
EN_RECEIVE
EN_TRANSMIT
READ_MSG
TRANSMIT
SET_CAN_REG
GET_CAN_REG
1
2
3
4
5
1
2
6
7
8
9
6
COM1, COM2
(RS485)
(male)
3
4
5
7
8
9
(male)
CAN add-on
Pin assignment
Bus termination
(RS485 only)
Handshake
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adwin-gold-enet

Table of Contents