Quatech DS-102 user manual Setting the address, Examination of a serial port base address

Page 10

III. ENABLING AND ADDRESSING PORTS

Setting the address

Each serial port on the DS-102 uses 8 consecutive I/O locations in the range of 0000 hex to 07FF hex. The base address of each port is set using a DIP switch pack on the DS-102. When setting the address selection switches, a switch in the "ON" position specifies that the corresponding address line must be a logic 0 for the port to be selected. Similarly, a switch in the "OFF" position forces the corresponding address line to be a logic 1 for the port to be selected.

Switch SW1 selects address lines A10 through A3 for Serial 1. Switch SW2 serves the same purpose with respect to Serial 2. The remaining address lines (A2, A1 and A0) are used by the UART to select the register being accessed. Address lines A11 through A15 must be at logic 0 for a port to be selected. The serial ports may be independently enabled or disabled by installing or removing a jumper from jumper pack J4.

Figure 3 shows how the switches on the DS-102 represent the address values for serial ports. This figure can be used to explain the examples shown in Figure 4.

A serial port's address is a 16-bit quantity that is most often expressed

in four hexadecimal (base 16) digits. A hex digit can hold a value from 0 to 15 (decimal), and is made up of four binary bits given weights of eight, four, two, and one, hence the maximum value of 8+4+2+1 = 15.

A common serial port address is 03F8 hex. The example below shows how the hex digits are broken down into binary bits.

Binary bits

0

0

0

0

0

0

1

1

1

1

1

1

1

0

0

0

Bit weight

8

4

2

1

8

4

2

1

8

4

2

1

8

4

2

1

Sum of bits

0+0+0+0

0+0+2+1

8+4+2+1

8+0+0+0

Hex digits

 

0

 

 

 

 

3

 

 

F

 

 

 

8

 

 

These address bits are set by the switches.

All other bits are considered to be zero.

0 0 0 0

0 0 1 1

1 1 1 1

1 0 0 0

 

 

 

 

 

 

 

 

Figure 3 --- Examination of a serial port base address

4

Quatech DS-102 User's Manual

Image 10
Contents DS-102 Page Table of Contents IV. Setting Interrupt Levels IrqsVII. Specifications VIII. Troubleshooting External Connections VI. Serial Port Functional DescriptionPage Date of Purchase Model Number Page General Information Port Address IRQ Enabled ? Diagram of DS-102 Setting the address Examination of a serial port base addressSerial 1 uses SW1 Serial 2 uses SW2 Enabling or disabling ports Recommended addresses for serial portsThis page intentionally left blank Serial Interrupt Sharing Channel Connection Interrupt OperationExternal Connections J7 -- Serial J8 -- Serial DS-102 connector definitions for RS-232-C This page intentionally left blank VI. Serial Port Functional Description Accessing the Serial Port registers DlabInterrupt Enable Register Interrupt Identification RegisterInterrupt Identification Register bit definitions Fifo Control Register 16550 only RXT0Line Control Register Stkp EPS PEN ParityModem Control Register Are being usedLine Status Register Line Status Register bit definitionsModem Status Register Scratchpad RegisterFifo Interrupt Mode Operation 16550 Uart only When the receiver Fifo and receiver interrupts are enabledFifo polled mode operation 16550 Uart only Factory default Baud Rate Selection026 VII. Specifications 16450 16550 optionalComputer will not boot up

DS-102 specifications

Quatech DS-102 is a prominent device in the realm of serial device servers, designed to facilitate seamless communication between Ethernet networks and serial devices. This robust solution caters to various industries, including manufacturing, telecommunications, and data center operations, where reliable and efficient data transmission is critical.

A key feature of the Quatech DS-102 is its dual-port architecture, which allows users to connect two serial devices simultaneously. This capability is particularly advantageous in scenarios where multiple connections are necessary, enabling cost savings and simplified management. Supporting a wide range of serial protocols, including RS-232, RS-422, and RS-485, the DS-102 ensures compatibility with a diverse array of equipment.

The DS-102 employs advanced technology to ensure reliable performance. It utilizes a potent ARM-based processor that enhances data handling and decreases latency. Additionally, the device features embedded firmware that supports TCP/IP protocol stacks. This integration is pivotal for enabling remote access and management of serial devices, significantly improving operational efficiency.

One of the standout characteristics of the Quatech DS-102 is its ease of installation and configuration. The device is designed to be user-friendly, enabling quick deployment in various environments. The inclusion of a web-based configuration interface simplifies network settings and device management, providing users with intuitive access to essential functions.

Robust security protocols are also at the forefront of the DS-102's design. It supports TLS/SSL encryption to secure data transmission, ensuring that sensitive information remains protected during communication. The device is built with reliability in mind, featuring durable hardware that withstands industrial conditions, further enhancing its appeal for demanding applications.

In terms of flexibility, the Quatech DS-102 can be integrated with various operating systems, including Windows, Linux, and Mac OS, making it versatile for a range of technical environments. Its compatibility with popular software applications further streamlines operations, allowing for easy incorporation into existing systems.

Overall, the Quatech DS-102 stands out as a powerful solution for serial-to-Ethernet communication. With its dual-port capability, advanced technology, user-friendly configuration, and robust security features, it represents an ideal choice for businesses seeking to enhance their data management capabilities. As organizations continue to embrace IoT and automation, the DS-102 is well-positioned to play a vital role in connecting the legacy serial devices with modern Ethernet networks seamlessly.