Moxa Technologies C360 User Manual

C360
SuperPort System
A Super Professional
Intelligent Multiport Board
for IBM PC/AT and
Compatible System
Dec. 1996 (1st Edition)
All Rights Reserved
This documentation is copyrighted by Moxa Technologies Co., Ltd. All rights are reserved. Moxa Technologies reserves the right to make improvements to the products described in this manual at any time without notice.
Information provided in this manual is intended to be accurate and reliable. However, Moxa Technologies assumes no responsibility for its use, nor for any infringements of rights of the fourth parties which may result from its use.
MOXA is a registered trademark of Moxa Technologies Co. Ltd. The other trademarks in this manual belong to their manufacturers individually.
Moxa Technologies Co., Ltd. Moxa Tech USA (CA)
Tel: +866-2-8665-6373 Tel: (408)734-2224
Fax: +886-2-8665-6372 Fax: (408)734-4442
www.moxa.com.tw support @moxa.com.tw
MoxaInternetService
s
Customer’s satisfaction is always our number one concern. To ensure customers get the full benefit of our services, Moxa Internet Services (MIS) have been built for technical support, product inquiry, new driver upgrade, etc.
The followings are the services we provide.
E-mail for technical support
address: support@moxa.com.tw
Ftp site for free driver upgrade
address: ftp.moxa.com or ftp.moxa.com.tw user ID: ftp password: your_email_address
World Wide Web (WWW) for product info.
address: www.moxa.com or www.moxa.com.tw
Table of Contents
. Chapter 1 Introduction 13 ~ 16
1.1 Overview 1
1.2 Features and Specifications 2
1.3 Check list 4
. Chapter 2 Hardware Installation¡@ 71 ~ 12
2.1 Installation of C360 7
2.2 Rack Mount Kit 9
2.3 Serial Number of the Async Concentrator 10
2.4 LED Indicators 10
2.5 Diagnostics 11
. Chapter 3 For DOS Users¡@ 13 ~ 18
3.1 Software Driver Installation and Setup 13
3.2 MOXA Serial Port Naming Convention 16
3.3 Dos API-232 Library and Programming Languages 17
3.4 Administrations 17
3.5 Data Scope 18
. Chapter 4 For UNIX Users¡@ 19 ~ 36
4.1 Driver Installation 19
4.2 MOXA TTY and Non-TTY Ports 21
4.3 Administrations 23
4.4 Programming the MOXA TTY Ports Using Standard UNIX API 27
4.5 Programming the MOXA Non-TTY Ports Using MOXA UNIX API-232 30
Appendix A Troubleshooting 37 ~ 42
Problem Report Form 42
Appendix B Technical Reference 43 ~ 48
B.1 Ethernet Cabling 43 B.2 Async Concentrator and Serial Number 44 B.3 RS-232 Cable Wiring 45
Appendix C Example Program 49 ~ 52
hapter 1
C
Introduction
1.1 Overview
The C360 SuperPort System is a newly-designed 16 to 256 port serial communication solution, which features high speed, large scale, distributed, and easy layout. It is designed for industrial and office applications where an AT/386/486/Pentium system needs to communicate with multiple terminals or devices through serial interfaces. One C360 provides 16 to 256 full duplex serial ports. Up to four C360 can be used in the same system and provide up to 1024 ports in total. However, each C360 Control Board must has its unique IRQ.
The C360 SuperPort System consists of a Control Board, and Async Concentrator(s). The switchless, jumperless and half-size Control Board links from one up to 16 Async Concentrators via 10BASE-2 or 10BASE-T cable. Each Async Concentrator contains 16 serial ports with RJ-45 connectors for easier connection. Each serial port supports complete set of modem control signals including RTS, CTS, DSR, DTR, and DCD.
The supported drivers are SCO UNIX and DOS initially. It is our commitment to support more operating system platforms. Please call Moxa dealer for more information about our newly available device drivers.
For DOS application programming, DOS API-232 library is provided which supports most popular languages such as Microsoft C, Turbo C, QuickBasic, Turbo Pascal, Assembly, and Clipper. For UNIX application programming, UNIX standard API and MOXA UNIX API-232 are provided for controlling standard TTY ports and MOXA specific non-TTY ports, respectively.
~1~
Chapter 1 Introduction
1.2 Features and Specifications
Features
v ASIC-designed control board, compact size v No switch, no jumper - easy configurable by software v I/O mapped architecture - no shared memory wasted v Low host CPU overhead v RISC-based Async Concentrator v Rack mountable - industry standard 19" rack v High speed - up to 460.8K bps each port v Reliable - 16550C UART with on-chip flow control, no data loss v More serial ports - 256 ports per board, 1024 per system v Longer distance - terminals/devices can be located 1000m away v Suitable for large-scale or distributed application - terminals/devices can
be located at different places or buildings
v Ease of use - menu-driven utilities help ease the configuration, monitoring
and diagnostics
v Easy upgrade - firmware downloading v Supports popular OSs - DOS and SCO UNIX/OpenServer
Specifications
The C360 SuperPort System consists of a PC Control Board and 1 to 16 Async Concentrator(s). The Control Board and Async Concentrator(s) are linked with Ethernet cable. The default shipment of Ethernet cable is 10BASE-2 with T-type connectors and Terminators. If 10BASE-T cabling is desired, a Hub and necessary 10BASE-T cables are required and should be prepared by the user.
System
v 16 to 256 serial ports per Control Board v Up to four Control Boards per PC system
~2~
Introduction Chapter 1
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
Control Board
v 16-bit ISA bus (EISA compatible) v I/O mapped address: 200H, 220H, 240H,260H, 280H, 2A0H,2C0H,2E0H,
300H, 320H, 340H, 360H 380H, 3A0H, 3C0H, 3E0H. (needs 32 bytes)
v IRQ: 2, 3, 4, 5, 10, 11, 12, 15 v Ethernet interface: BNC (for 10BASE-2/Coaxial) and UTP (for 10BASE-
T/Twisted pair), selectable by software IO-IRQ.EXE
v Transmission rate: 10M bps v Dimensions: 15.8 cm x 6.3 cm v Operating temperature: 0 °C ~ 55 °C
C360 Control Board
Async Concentrator
v Processor: RISC i80960CA-25 50 MIPS v RAM: 1MB v Ethernet interface: BNC (for 10BASE-2/Coaxial) and UTP (for 10BASE-
T/Twisted pair), auto-detection
v Transmission rate: 10M bps v No. of serial ports: 16 RS-232 ports v Serial connectors: RJ-45 v Serial port: Data bits - 5, 6, 7, 8
Stop bits - 1, 1.5, 2 Parity - none, even, odd, space, mark UART - high speed 16550C, 16 byte FIFO Speed (bps) - 50 ~ 460.8K Signals - TxD, RxD, DTR, DSR, RTS, CTS, DCD, GND
v Serial number: Used by the driver for identification v Rack Mount Kit: 2 L-type plates and 8 screws v Dimension: 27 cm x 16 cm x 4.4 cm
3
Chapter 1 Introduction
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
v Operating temperature: 0 °C ~ 55 °C v 110V or 220V AC, auto-select
L-type Plate
Async
Async
Concentrator
Concentrator
BNC
UTP
S0 S1 Tx RX
P1
P8
P16
L-type Plate
Async Concentrator with Rack Mount Kit installed ( Front View )
L-type Plate
Serial NO : 100
Caution:No user serviceable partsinside.Refer servicing to qualified personnel.
AC POWER
90-260 V 47-63HZ
0.6Amp/110V
L-type Plate
Async Concentrator with Rack Mount Kit installed ( Rear View )
1.3 Check list
Upon unpacking the C360 SuperPort System, user should find the following items included in the package:
C360 Control Board
v MOXA C360 Control Board v 2 Ethernet terminators with a T-type connector v Device driver diskettes for DOS and SCO UNIX v C360 User's Manual v API-232 Manual
Async Concentrator
v Async Concentrator with 16 serial ports v Female RJ-45 to Male DB-25 RS-232 cable v 1 meter 10BASE-2 Ethernet cable with a T-type connector v Power cord
~4~
Introduction Chapter 1
v Rack Mount Kit
5
hapter 2
C
Hardware Installation
2.1 Installation of C360
Step 1: Choose a PC that has DOS system inside.
NOTE: No matter what OS used, user has to configure the C360
Control Board via IO-IRQ.EXE under DOS.
Step 2: Power off the PC.
Step 3: Install the C360 Control Board(s) into a 16-bit slot(s).
NOTE: If installing more than one C360 Control Boards, insert ONE
AT A TIME and configure it using the IO-IRQ.EXE program before inserting the next board. Each C360 Control Board must have unique base I/O address and IRQ.
The C360 Control Board has the following default (factory) settings:
BASE I/O address : 300H IRQ : 2/9 Interface : BNC (10BASE-2)
Check if any existing board has the same I/O address or IRQ. If so, user must try to avoid the conflict by doing either one of the following:
a. Unplug the conflicting board temporarily if possible. Then
restore the board after changing the I/O address or IRQ of C360.
b. Change or disable the existing board's I/O address or IRQ in
advance.
~6~
Hardware Installation Chapter 2
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
Step 4: Power on the PC and enter DOS system.
Step 5: Execute IO-IRQ.EXE which is included in the DOS API-232 software
driver diskette, and follow the on-line help to configure the C360.
Be careful not to conflict the I/O address and IRQ of the C360 Control Board with any existing board's.
Step 6: After completing the configuration, the board is ready for use under
DOS or SCO UNIX.
Step 7: Connect the C360 Control Board and Async Concentrator(s) with the
shipped 10BASE-2 cables. Do not forget to put Terminators in place. Please refer to Appendix B.1 Ethernet Cabling for more details.
Async
Async
Concentrator
Concentrator
Async
Async
Concentrator
Concentrator
BNC
S0 S1 Tx RX
P1
BNC
UTP
S0 S1 Tx RX
P1
UTP
P8
P16
P8
P16
C360 SuperPort System with 10BASE-2 Cabling
If 10BASE-T cabling is desired, remember to select UTP interface for Control Board via executing IO-IRQ.EXE under DOS. Connect Control Board and Async Concentrator(s) to the Hub with 10BASE-T cables. Please refer to Appendix B.1 Ethernet Cabling for more details.
7
Chapter 2 Hardware Installation
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
Hub
Async
Async
Concentrator
Concentrator
Async
Async
Concentrator
Concentrator
BNC
S0 S1 Tx RX
P1
BNC
UTP
S0 S1 Tx RX
P1
UTP
P8
P16
P8
P16
C360 SuperPort System with 10BASE-T Cabling
2.2 Rack Mount Kit
To mount the Async Concentrator on the industry standard 19" rack, Rack Mount Kit, including two L-type plates and eight screws, should be applied.
Async
Async
Concentrator
Concentrator
BNC
UTP
S0 S1 Tx RX
P1
L-type Plate
Async Concentrator with Rack Mount Kit installed ( Front View )
P8
P16
L-type Plate
L-Type Plate
AC POWER
90-260V 47-63HZ
0.6Amp/110V
Caution:Nouser serviceable
Serial NO : 100
Async Concentrator with Rack Mount Kit Installed ( Rear View )
partsinside.Refer servicing to qualifiedpersonnel.
Screw
~8~
Hardware Installation Chapter 2
2.3 Serial Number of the Async Concentrator
It is the unique number identifying an Async Concentrator and written on a sticker which can be found at the left side of the rear panel of each Async Concentrator.
User has to type in the serial number when setup the driver in the system. Under DOS, user can use "Auto-Search Serial No." function of the setup program to detect the serial number(s) of all the existing Async Concentrator(s) for convenience without typing the serial number(s) one by one.
Under UNIX, "Auto-Search" function is not available at the time of driver installation due to that the C360 driver is not in the UNIX system at that time.
2.4 LED Indicators
C360 Control Board
The green link LED labeled Lk lights up to indicate that a valid 10BASE-T link beat is established. It should be ON under normal operating condition. If the LED remains off after power is applied, check for a proper RJ-45 connection.
Async Concentrator
After powering on the Async Concentrator, red indicator S0 "ON" and S1 "OFF" means normal initialization status of the Async Concentrator. And green indicator Tx and red indicator Rx will flash periodically and either more frequently if C360 driver is not started or less frequently if C360 driver is started.
Indicator Tx and Rx show the status of transmitting and receiving data. If the indicator Tx is ON, then some data is transmitted from the Async Concentrator. If the indicator Rx is ON, then some data is received by the Async Concentrator. On the other hand, if indicators Tx and Rx are all OFF, then no data is transferring at that time.
As to the signals' status of each serial port, please use "mini tester" to monitor.
2.5 Diagnostics
9
Chapter 2 Hardware Installation
When hardware installation is complete, it is highly recommended to run diagnostic program, SP-ADM.EXE, under DOS to check the Control Board, the Ethernet cabling and Async Concentrator(s) as well as the compatibility between the PC and C360 Control Board. Before running SP-ADM.EXE, user has to run IO-IRQ.EXE to setup the Control Board, then run SETUP.EXE to setup the DOS driver, then run SP-DRV.EXE to install the DOS driver.
For more information about SP-ADM.EXE, please refer to Section 3.5.
~10~
Hardware Installation Chapter 2
11
Loading...
+ 38 hidden pages