C320 Turbo/PCI User’s Manual Fourth Edition, July 2008 www.moxa.com/product © 2008 Moxa Inc., all rights reserved. Reproduction without permission is prohibited.
C320 Turbo/PCI User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice Copyright © 2008 Moxa Inc. All rights reserved. Reproduction without permission is prohibited. Trademarks MOXA is a registered trademark of Moxa Inc. All other trademarks or registered marks in this manual belong to their respective manufacturers.
About This Manual This manual is composed of six Chapters and one Appendix. This manual is written for installer, system administrator and software programmer. If you are a first-time installer and system administrator, we recommend you to go through the whole manual except Chapter 4. If you are a software programmer, you may refer to Chapter 4 “Serial Programming Tools”. If you need cable wiring information, please see Chapter 5 “Connection Option (Opt8x) and Cable Wiring”.
Table of Contents Introduction ............................................................................................... 1-1 Overview ................................................................................................................ 1-1 Features................................................................................................................. 1-4 Check List ..............................................................................................................
Serial Programming Tools..................................................................... 4-1 Tools Windows NT and Windows 95/98 .......................................................................... 4-1 Installation............................................................................................................................4-1 PComm Programming Library.............................................................................................4-2 Utilities ............................
1 1 Introduction This manual covers both the hardware and software installation and configuration of C320Turbo/PCI, which is the member of the Intellio Family. In addition, the professional serial comm tools, PComm under Windows NT and Windows 95/98 and extended UNIX system calls, and utilities are introduced. Overview The excellent features, described below, make Intellio C320Turbo/PCI the best choice for medium to large-scale data communication systems from 8 to 128 serial ports.
Low Host Processor Overhead The Intellio C320Turbo/PCI is equipped with two high performance processors (TMS320) on both the Control Board and the CPU/Basic Module and 512KB onboard memory to relieve the host’s CPU workload of all data and I/O handling tasks. The memory buffer holds transmitted and received data to prevent data loss.
Introduction U ART M o d u le U ART M o d u le CPU M o du le 1 2 3 1 2 3 4 5 6 7 8 4 5 6 7 8 E x ten siv e M o du le D B 2 5 to D B 2 5 C a ble C 3 2 0 Turbo/P C I B a sic M o d u le Surge/Isolation Protection To prevent the boards from damage caused by lightning or high potential voltage, TVSS (Transient Voltage Surge Suppressor) and high potential difference protector technologies are introduced in some connection options to protect the multiport controller.
Powerful Serial Comm Developing Tools For application development, MOXA provides the easy-to-use while powerful serial communication library, including PComm under Windows NT, Windows 95/98 and extended UNIX system calls. You can use this library to develop applications with programming languages like Visual C++, Visual Basic, Borland C++, Borland Delphi, UNIX C, etc.
Introduction ❖ ❖ ❖ ❖ Rack mountable-Industrial standard 19” rack Supports most popular OS-Windows NT, Windows 95/98, UNIX, Linux Friendly user interface for configuration and utilities Powerful but easy serial programming library and illustrative examples Check List Upon unpacking Intellio C320Turbo/PCI package, you should find the following items: ❖ One Intellio C320Turbo/PCI Control Board ❖ One CPU Module or Basic Module ❖ One 2-meter DB25 to DB25 cable for connecting Control Board and CPU/Basic Module
Installation Guide This section gives a brief summary of how to install the Intellio C320Turbo/PCI under each supported operating system.
2 2 Hardware Installation The installation of Intellio C320Turbo/PCI consists of hardware installation and software installation. For software installation, please refer to the respective section of operating systems in the next chapter. Hardware installation is stated in this chapter. The no-switch-no-jumper Intellio C320Turbo/PCI board’s hardware configuration for IRQ and memory addresses is automatically assigned by PCI BIOS.
Step 6: Replace the system cover. Note ! Each board must occupy one unique IRQ and one unique memory address, which are assigned by PCI BIOS automatically. However, you may select the free IRQ number manually via PC’s BIOS setup for PCI slot, but this method is not available for memory. The possible IRQ numbers are 2(or 9), 3, 4, 5, 7, 10, 11, 12, and 15. ☞ Now the installation of the Control Board is complete. Continue to install the external modules.
Hardware Installation Without power adapter (for normal condition) In most cases, you need not a power adapter. A: Set the CPU Module power switch to the OFF position. This is absolutely necessary when installing or removing the cable, the CPU Module or the UART Module(s). Power should not be switched on until you installed all components. B: Plug the DB25 male end of the shipped 2-meter 25-signal-pin cable into the connector on the rear panel of the Intellio C320Turbo/PCI Control Board.
B: Plug the DB25 male end of the shipped 2-meter 10-signal-pin cable (the link cable comes with long range extension kit or the one fabricated according to the pinouts in the chapter 5) into the connector on the rear panel of the Intellio C320Turbo /PCI Control Board. 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 UART Module UART Module 10-signal-pin Cable 00 CPU Module C320 Turbo/PCI Power Adapter C: Plug the other DB25 female end into the CPU Module’s DB25 connector.
Hardware Installation Step 8: Connect the first UART Module to the CPU Module. Connect the second UART Module to the first one if necessary and so on. Metal Plate Screws To Control Board UART Module UART Module CPU Module For better fixation of modules, Fixing Kit is available and see the bottom view of modules below to install. Step 9: After making sure that each component has been correctly installed, you are recommended to power on the CPU Module first and then power on the PC system secondly.
Without power adapter (for normal condition) In most cases, you need not a power adapter. Extensive Module 25-singal-pin Cable C320 Turbo/PCI Basic Module A: Set the Basic Module power switch to the OFF position. This is absolutely necessary when installing or removing the cable, the Basic Module or the Extensive Module(s). Power should not be switched on until you installed all components.
Hardware Installation Extensive Module Power Adapter 10-singal-pin C able C 320 Turbo/PC I Basic Module C: Plug the other DB25 female end into the Basic Module’s DB25 connector. Warning! Step 8: Do not use a 25-signal-pin cable to connect the Intellio C320Turbo/PCI Control Board to the Basic Module when using the power adapter as this will cause power crash.
To mount the module(s) on the industrial standard 19” rack, Rack Mount Kit, including two L-type plates and eight screws, should be applied. Multiport Controller BASICMODULE Power TxD RxD DTR DSR RTS CTS DCD Module Channel L-type Plate L-type Plate Multiport Controller with Rack Mount Kit installed ( Front View ) Step 9: After making sure that each component has been correctly installed, you are recommended to power on the Basic Module first and then power on the PC system secondly.
Hardware Installation If the first test passed, the CPU/Basic Module will then display “Ld” waiting for loading firmware from the Intellio C320Turbo/PCI Control Board. After loading the firmware, the CPU Module will scan for the number of UART Modules or the number of ports available. The LED will show the last accessible port. CPU Module The left digit shows the UART Module number and the right digit shows the last port number within a UART Module.
indicators will light on when local port is opened while DSR and CTS indicators will light on when remote port is opened. TxD indicator will light on if local port is transmitting data and RxD indicator will light on if local port is receiving data (or remote port is transmitting data). DCD indicator is mostly useful to detect phone line carrier when a modem is connected to the port.
3 3 Software Installation In this chapter, software driver installation, configuration and driver update/removal procedures are described for various operating systems, including Windows NT, Windows 95/98 and UNIX. Before proceeding with software installation, complete the hardware installation detailed in the previous chapter. However, if you need to develop applications, refer to the next chapter, “Serial Programming Tools”, for more information.
Installing Driver Following is the procedure for installing the Intellio C320Turbo/PCI driver for the first time under Windows NT 3.51/4.0. Make sure the board(s) has(have) already been plugged in the PCI slot of the PC. 1. Please Login NT as Administrator. 2. Open the [Control Panel], click on the [Network] icon and select the [Adapters] tab. 3. Click on the [Add] button, then [Have Disk...] button in “Select Network Adapter”. 4. Specify the exact path of the driver diskette, A:\WINDOWS.NT. Click [OK].
Software Installation 5. Select “MOXA Intellio Family Multiport Board” in the “Select OEM Option” dialog box, and click [OK] to enter the “MOXA Configuration Panel” dialog box to start the installation. 6. In the “MOXA Configuration Panel” dialog box, click [Add] to enter “Property” dialog box to add the Intellio C320Turbo/PCI board.
7. In the “Property” dialog box, click [Port Setting] to enter the “Individual Port Setting” dialog box to change the port COM number mappings. You have to set up all the ports of the board with the desired “COM number”, which should not conflict with other COM number in use. In this “Individual Port Setting” dialog box, you may have two ways to map the physical ports to COM numbers depending on the check box “Auto Enumerating COM number”.
Software Installation Note ! You may skip the following settings and go directly to the next step 8 if you do not require any particular performance tuning for the In the “Advanced Settings” dialog, you may customize the driver with the following two features: D UART FIFO Enable: You can set this feature to “Enable” (default) and gain best performance for the board. Disable: You can set this feature to “Disable” to avoid from data loss when communicating with communication devices using S/W flow control.
Classical Mode: It lets MOXA ports behave like generic COM ports. Transmission for small data packets would be more precisely and reliable. 8. Click [OK] in the “Individual Port Setting” and the “Property” dialog boxes to go back to the “MOXA Configuration Panel” dialog box. Click [OK] to finish the configuration. However, if you installed more than one board, click [Add] and repeat steps 6 and 7 to configure another board. Up to four Intellio C320Turbo/PCI boards can be installed in a system. 9.
Software Installation 11. Once the system restarts, you may check the event log issued by MOXA drive to see if the ports of the board are initialized successfully. Enter the [Administrative] group, [Event Viewer] and select [Application Event Log] to check a successful message similar to “MOXA C320Turbo/PCI Multiport Board #1: addr(XXX) O.K.” for each configured board.
3. Click on the [Properties...] button to enter the “MOXA Configuration Panel” dialog box. In this configuration panel, you may: D Click [Property] to enter “Property” dialog box to configure the selected board with the correct “Total Ports” and “COM Number”. Please see steps 6 to 8 in the previous section, “Installing Driver”, for more details, except that the “Board Type” field is not supposed to be changed. D Click [Add] to add one more board that is not yet configured in the system.
Software Installation Adding/Removing Board Following is the procedure to add/remove Intellio C320Turbo/PCI Series boards after a first time installation. Note that the presence of the board(s) is(are) required for adding boards. 1. 2. 3. 4. Power off the system. Plug/unplug the boards in the system. Power on the system. Run the software configuration “MOXA Configuration Panel” to add/remove the boards, detailed in the previous “Configuring the Board and Port” section.
Windows 95/98 Windows 95/98 supports up to 128 serial ports, from COM1 to COM128. To fully integrate the advanced features of Windows 95/98, multi-process and multi-thread, pure 32-bit Windows 95/98 virtual device port drivers (VxD) compliant with communication driver (VCOMM) are developed for Intellio C320Turbo/PCI and other MOXA multiport boards. The drivers conform to Win32 COMM API standard.
Software Installation Install the Intellio PCI board in the system See chapter, “Hardware Installation” Start Windows 95/98 to detect the board Yes Driver installed before? No Install the driver with the diskette See “First Time Driver Installation Stage” Configure the board and port See “Port Configuration Stage” Ports of Intellio C320 Turbo/PCI board are ready to work.
First Time Driver Installation Stage The stage presents the steps for installing the driver for the first time with the first Intellio C320Turbo/PCI board. The installation of Intellio C320Turbo/PCI board for Windows 95 and Windows 98 differs slightly and will be described in two columns. Follow the steps in the left or right column for Windows 95 or 98, respectively. 1.
Software Installation 3.Type “A:\Windows.95” in the Location field, and click [OK]. The system will start reading the files from the diskette. 3. Selct “Other Devices” and click [Next>]. 4. Clink on the [Finish] button. 4. Click on the [Have Disk] button. 5. Type “A:\Windows.95” and click [OK]. The system will start reading the files from the diskette.
6. Click [Next>]. 7. Click [Next>].
Software Installation Port Configuration Stage This stage displays the “C320Turbo/PCI Installation” dialog box for the port configuration. Here you can map the MOXA ports to the system COM numbers. In the “C320Turbo/PCI Installation” dialog box, you can map the physical ports to COM numbers in two ways depending on the “Auto Enumerating COM number” check box.
In addition, in the “C320Turbo/PCI Installation” dialog box, you may click on [Advanced Settings] button to tune the advanced features, “UART FIFO” and “Transmission Mode”, for each port for particular performance requirements. In the “Advanced Settings” dialog box, you may customize the driver with the following two features: D UART FIFO Enable: You can set this feature to “Enable” (default) and gain best performance for the board.
Software Installation Board and Port Ready Stage Click [OK] for all the dialog boxes to finish the configuration and exit the “MOXA Ports Installation” dialog box. In this last stage, you will complete the driver installation. Windows 95 Windows 98 After the port installation, you can immediately use the COM ports of the Intellio C320Turbo/PCI board without restarting the Windows 95 system. After the port installation, click on the [Finish] button.
PComm utility Terminal emulator (See “Serial Programming Tools”) or HyperTerminal to transmit/receive data, as well as Remote Access Service to provide dial-up networking capability. ☞ ☞ If multiple boards are installed at the same time, the same scenario applies for the next boards, except that no driver diskette is asked any more.
Software Installation Configuring Board and Port If you already have installed the driver and want to re-configure the Intellio C320Turbo/PCI board under Windows 95/98, the following is the procedure for you. 1. Click on the Taskbar [Start] button, select the [Programs] menu, and the [MOXA Utilities] menu and the [MOXA Configuration Panel] icon. The [Add] button and the [Remove] button are not applicable in PCI case.
3. In the “Property” dialog, you may click on the [Port Setting] button to enter the “Individual Port Setting” dialog box to change the port COM number mappings. In the “Individual Port Setting” dialog box, you may have two ways to map the physical ports to COM numbers depending on the “Auto Enumerating COM number” check box. D Sequential Port Mapping: (Enable “Auto Enumerating COM number”) Specify the COM number of the first port and subsequent ports are mapped to continuous COM numbers.
Software Installation In the “Advanced Settings” dialog box, you may customize the driver with the following two features: D UART FIFO Enable: You can set this feature to “Enable” (default) and gain best performance for the board. Disable: You can set this feature to "Disable" to avoid from data loss when communicating with communication devices using S/W flow control.
4. Click [OK] in the “Individual Port Setting” and the “Property” dialog boxes to go back to the “MOXA Configuration Panel” dialog box. Click [OK] to finish the configuration. 5. Restart Windows 95/98 system if you have changed any setting. The latest configuration will not take effect unless the system restarts.
Software Installation Updating driver Open the [Control Panel] and click on the [System] button, and select the [Device Manager] tab. Select the “Moxa Intellio Multiport Board” entry and the “Moxa C320Turbo/PCI” entry. Click on the [Property] button and select the [Device Driver] tab and then click on the [Update Driver...] button. Removing driver Open [Control Panel] icon, and then [Add/Remove Programs] icon, and then select [Install/Uninstall] tab.
UNIX Installing Driver Up to four boards of combination of Intellio C320Turbo/PCI and C320Turbo can be installed together as long as memory resources are sufficient and available in a system. Step 1. Boot the system and login from the console as a super user (root). Step 2. Insert the driver diskette into a 1.44MB floppy drive, A: or B:. If the driver files are obtained from the MOXA FTP service, put them under the /tmp/moxa directory and skip to the step 5. Step 3.
Software Installation 1. /dev/fd0135ds18 2. /dev/fd096ds15 3. /dev/fd1135ds18 4. /dev/fd196ds15 5. Hard Disk (A: 1.44MB) (A: 1.2 MB) (B: 1.44MB) (B: 1.2 MB) /tmp/moxa Select: Please type 1, 2, 3, 4 or 5. Step 6. The MOXA Multiport Board Installation Utility dialog will show for driver installation. When finished, press any key to continue. SCO UNIX or SCO OpenServer or XENIX You will be prompted to rebuild kernel at this moment and you are recommended to do so unless you need to install other driver.
☞ Now you can run any ready-made applications such as getty terminal or PPP/SLIP. You can also start to develop applications with Standard UNIX system calls, as well as MOXA extended UNIX Ioctl() Commands.
Software Installation MOXA TTY Device Naming Convention If the Intellio C320Turbo/PCI is successfully configured, there will be two tty devices created for each port at /dev directory: one is non-MODEM tty (e.g. ttya11), and the other is MODEM tty (e.g. ttyA11). The two devices are actually accessing the same physical port except that the MODEM tty has to check the ON status of DCD signal to be able to open device, and closing device automatically as DCD signal is OFF.
Taking 8 port Intellio C320Turbo/PCI as an example, /dev/ttya11 1 /dev/ttya12 2 /dev/ttya13 3 /dev/ttya14 4 /dev/ttya15 5 /dev/ttya16 6 /dev/ttya17 7 /dev/ttya18 8 UART Module To Control Board I8 CPU Module Administration Utility - mxadm You can use the administration utility, mxadm, to change the Intellio C320Turbo/PCI basic and advanced configuration, to reset the board, to tune performance and to remove the installed MOXA driver from the UNIX system, which are detailed as follows.
Software Installation “Board type” field to select board type, C320Turbo/PCI. And a list of Intellio C320Turbo/PCI boards found available is for you to select. Normally, one choice is available if there is one Intellio C320Turbo/PCI board installed beforehand. Secondly, select number of ports in the “Ports” field to match exactly the number of ports physically connected. Press Enter on the desired entry of the list to select.
file /etc/inittab which could also be manually modified by system administrator. Its value comes from the UNIX system “getty default” file, i.e., “/etc/gettydefs”. Modify this field to suit your need. In some cases, you may need to modify the “getty default” file as well. For example, in some UNIXs, the “9600” symbol indicated 8-data-bit no-parity while in others it may stand for 7-data-bit, even-parity. So, please examine the “getty default” file carefully, and make sure the terminal settings is the same.
Software Installation Baud Rate Mapping This advanced feature is set to “High Band” by default, indicating that the baud rate 50, B50, will no longer stand for 50 bps. Instead, B50 means 57600 bps, B75 is for 115.2 Kbps, B110 is for 230.4 Kbps, and B134 is for 460.8 Kbps. You may press F1 Help for on-line details. 2. Press PageDown to enter the “Advanced Port Settings” sub-dialog, there are some noticeable fields to initialize the ports for advanced usage.
except flow control, thus non-terminal applications such as data acquisition will benefit from it, e.g. gain better throughput and performance. Response Three levels, Slow, Normal and Fast, of port response time are designed for your need. Ports with faster response time will consume more host CPU's resource while slower response consumes less resource. The response time for those ports with normal or slow response can be further tuned by the response level in “Performance Tuning” menu.
Software Installation Board Reset The board reset utility eliminates the need to shut down the UNIX system for reinitializing the Intellio C320Turbo/PCI board with new configuration. Press Enter to start board reset. However, before the board reset is issued, you must make sure that 1. All enabled ports must be disabled. 2. All processes related to the Intellio C320Turbo/PCI, including getty or tty monitor, are killed. Once the board is reset, the following message may show if it is successful.
Checking Board Initialization Status When the system starts up and enters into the multiuser mode, you should see the board initialization status report, which is same as one of the messages described in the “Board Reset” part of previous section. Setting MOXA Ports to Terminal Following procedure is how to set the MOXA port to the “Terminal” for login purpose, taking ttya11 as an example, SCO UNIX/OpenServer/Open Desktop/XENIX # enable /dev/ttya11 UNIX SVR4.2 and UnixWare 1. 2. 3. Edit (e.g.
4 4 Serial Programming Tools Moxa supports powerful but easy serial programming library and utilities under Windows NT, Windows 95/98 and UNIX. You will greatly save the developing time with the MOXA Serial Programming Tools. The following sections details the installation, the library and the utilities under various O.S. platforms.
PComm Programming Library The serial communication library is to assist you to develop programs for serial communications for any COM port complying with Microsoft Win32 API. It can ease the implementation of multi-process and multi-thread serial communication programs and hence greatly reduce the developing time. For complete library function description and example programs for Visual C++, Visual Basic and Delphi, please see help file and example programs in PComm directory for more details.
Serial Programming Tools Monitor (for MOXA boards under Windows NT Only) A useful port status monitoring program allows you to watch the selected MOXA COM ports’ data transmitting/receiving throughput and communication line status which are updated and displayed on the screen at every time interval. In addition, you may click on one of the specific displayed port in order to see the current communication parameters and status of that port.
Terminal Emulator The Terminal Emulator features multi-windows and supports terminal types of VT100 and ANSI. You can transfer data interactively, send pattern periodically or transfer file using ASCII, XMODEM, YMODEM, ZMODEM and KERMIT protocols.
Serial Programming Tools UNIX Programming the MOXA Ports The system calls that apply to standard tty port also apply to MOXA port since MOXA port conforms to UNIX tty standard. System calls are like open(), ioctl(), read(), write(), close(), etc. Please refer to your UNIX Programmer's Reference manual. However, these system services only provide limited functions and thus may not satisfy the sophisticated programmers’s need.
Syntax for UNIX SVR4 #include #include #define MIBUFED struct strioctl int count; 0x401 ioc; /*number of bytes queued in the buffer */ ioc.ic_cmd = MIBUFED; ioc.ic_timout = 0; ioc.ic_len = sizeof(int); ioc.ic_dp = (char *)&count; ioctl(moxa_fd, I_STR, &ioc); Note: Due to the characteristics of STREAMS driver, the returned count of bytes buffered only reflect the data buffered on MOXA board, not including the data buffered in STREAMS queue.
Serial Programming Tools 3. MTCRTS This function, only valid when hardware flow control is turned off (see MHWFLOW), is used to turn RTS on or off. Syntax for SCO UNIX/XENIX #define MTCRTS #define TurnON #define TurnOFF 0x403 1 0 ioctl(moxa_fd, MTCRTS, TurnON); ioctl(moxa_fd, MTCRTS, TurnOFF); Syntax for UNIX SVR4 #include #include #define MTCRTS #define TurnON #define TurnOFF struct strioctl int setting; 0x403 1 0 ioc; setting = TurnON /* or TurnOFF */; ioc.
Syntax for UNIX SVR4 #include #include #define MTCDTR #define TurnON #define TurnOFF struct strioctl int 0x404 1 0 ioc; setting; setting = TurnON /* or TurnOFF */; ioc.ic_cmd = MTCDTR; ioc.ic_timout = 0; ioc.ic_len = sizeof(int); ioc.ic_dp = (char *)&setting; ioctl(moxa_fd, I_STR, &ioc); 5. MLOWATER Sometimes the application software may not be able to write any further data to the output buffer because of the output buffer being full.
Serial Programming Tools Syntax for SCO UNIX/XENIX #define MLOWATER int lowater; 0x405 /* low water value of output buffer (default = 512 bytes) */ ioctl(moxa_fd, MLOWATER, lowater); Syntax for UNIX SVR4 #include #include #define MLOWATER struct strioctl int lowater; 0x405 ioc; /* low water value of output buffer (default = 512 bytes) */ ioc.ic_cmd = MLOWATER; ioc.ic_timout = 0; ioc.ic_len = sizeof(int); ioc.ic_dp = (char *)&lowater; ioctl(moxa_fd, I_STR, &ioc); 6.
7. MHWFLOW This function is used to enable/disable hardware flow control. The first open() function of a port will set the hardware flow control bits on or off depending on the [RTS/CTS Hardware Flow Control] configuration in mxadm. However, you might want to control the DTR or RTS signal, thus the RTS flow control bit should be turned off (HWFLowControlOff) in order to take over the control of DTR or RTS signal via function MTCRTS or MTCDTR.
Serial Programming Tools Utilities You can use the administration utility, mxadm, to monitor port activity and to do terminal emulation, which are details as follows. Port Monitoring This utility gives you a quick view about all the MOXA ports’ activities. You can easily learn each port’s total received/transmitted (Rx/Tx) character count since the time when the monitoring is started. Rx/Tx throughputs per second are also reported in interval basis (e.g.
Press Enter on the port, that the cursor stays, to view the port’s communication parameters, signal status, and input/output queue. Terminal Emulator This utility provides data sending and receiving ability of all tty ports, especially for MOXA ports. It is quite useful for testing simple application, for example, sending AT command to a modem connected to the port or used as a terminal for login purpose. Note that this is only a dumb terminal emulation without handling full screen operation.
Serial Programming Tools 1. Select and Press Enter on item “Communication Setup” to setup up all the communication parameters for connection. 2. Select and enter “Terminal” to enter terminal emulation. Or select and enter “Advanced Transfer Modes” to perform pattern or file transfer with protocols such as ZModem.
4-14 Intellio C320Turbo/PCI User's Manual
5 5 Connection Option and Cable Wiring In data communications, the term DTE is Data Terminal Equipment like terminal or PC COM1/2. The term DCE is Data Communication Equipment like modem. Please check the precise pinouts, the following pinouts are typical examples. The UART modules for Desktop option provide both RS-232 and RS-422 connection options, depending on the models of modules you choose. The Basic/Extensive modules for Rackmount option provide merely RS-232 connection options.
UART Module C32045T/71T DB25 Female Connector 2 3 4 5 6 7 8 20 RxD TxD CTS RTS DTR GND DCD DSR 8 7 6 5 4 3 2 20 DSR DCD GND DTR RTS CTS TxD RxD UART Module C32047T DB25 Male Connector 2 3 4 5 6 7 8 20 Type 1: TxD RxD RTS CTS DSR GND DCD DTR 2 3 4 5 6 7 8 20 DTR TxD RxD RTS CTS DSR GND DCD Connecting UART Module to a DTE device.
Connection Option and Cable Wiring Null Modem Cable PC COM2 port, Serial Printer, Terminal, or any DTE Device C32047T C32047T DB25 Male Connector TxD RxD RTS CTS DSR DTR GND DCD DTE Device Cable Wiring 2 3 4 5 6 20 7 8 2 3 4 5 6 20 7 8 PC COM2 port, Serial Printer, Terminal, or any DTE Device C32047T C32047T DB25 Male Connector TxD RxD RTS CTS DSR DTR GND DCD DB25 Male Connector TxD RxD RTS CTS DSR DTR GND DCD DTE Device Cable Wiring 2 3 4 5 6 20 7 8 2 3 8 7 4 6 5 1 DB9 Male Connector RxD TxD CT
Type 2: Connecting UART Module to a DCE device.
Connection Option and Cable Wiring Type 3: Connecting UART Module to a DTE device with 3-pin wiring. If the“Hardware flow control” feature is set to “ON”, you must loop back (or short) the RTS with CTS and DSR with DTR, DCD on MOXA site, indicated in dash-lines of the following diagrams. If the“Hardware flow control” feature is set to “OFF”, you could just leave RTS, CTS, DSR, DTR, DCD open, ignoring the connection indicated in dash-lines.
PC COM2 port, Serial Printer, Terminal, or any DTE Device C32047T C32047T DB25 Male Connector TxD RxD GND RTS CTS DSR DTR DCD 5-6 Intellio C320Turbo/PCI User's Manual DTE Device Cable Wiring 2 3 7 4 5 6 20 8 2 3 5 7 8 4 6 1 DB9 Male Connector RxD TxD GND RTS CTS DTR DSR DCD
Connection Option and Cable Wiring RS-422 Cable Wiring for C32061T/C32065T The following RS-422 UART Modules are designed for Intellio C320Turbo/PCI. C32061T: C32065T: UART Module providing 8 female RS-422 DB25 ports without isolation protection. UART Module providing 8 female RS-422 DB25 ports with 2000V isolation protection which can prevent damage caused by high potential voltage.
The followings are operation modes for RS-422: RS-422 Point-to-point C32061T/65T 3 TxD+(B) 16 TxD-(A) 2 RxD+(B) 14 RxD-(A) 7 GND RS-422 Device RxD+(B) RxD-(A) TxD+(B) TxD-(A) GND RS-422 Broadcasting C32061T/65T TxD+(B) RxD+(B) TxD-(A) RxD-(A) GND RS-422 Device 1 RxD+(B) TxD+(B) RxD-(A) TxD-(A) GND RS-422 Device N RxD+(B) TxD+(B) RxD-(A) TxD-(A) GND RS-422 with Handshaking C32061T/65T 3 TxD+(B) 16 TxD-(A) 2 RxD+(B) 14 RxD-(A) 7 GND 5 RTS+(B) 13 RTS-(A) 4 CTS+(B) 19 CTS-(A) RS-422 Device RxD+(B) RxD-(A)
Connection Option and Cable Wiring RS-422 Impedance Matching When an electrical signal travels through two different resistance junctions in a transmission line, the mismatch will sometimes cause signal reflection. Signal reflection causes signal distortion, which in turn will contribute communication errors. The solution to this problem is to establish the same impedance at the line ends as in the line itself by terminating them with resistors.
RS-232 Cable Wiring for C32080T/81T/82T/83T & CN20040 For Basic/Extensive Modules, only RS-232 interface with RJ-45 female connector is supported. A 1.5-meter male RJ-45 to male DB25 RS-232 testing cable, CN20040, is provided with shipment of the Basic Module. The following RS-232 Basic Modules are designed for Intellio C320Turbo/PCI. C32080T : Basic Module providing 8 female RS-232 ports. C32081T : Basic Module providing 16 female RS-232 ports. The following RS-232 C320Turbo/PCI.
Connection Option and Cable Wiring Type 1: Connecting Basic/Extensive Module to a DTE device. CN20030 PC COM2 port, Serial Printer, Terminal, or any DTE Device C3208xT RJ45 Plug Pin 1 C3208xT RJ45 Jack Connector DCD DSR RTS GND TxD RxD CTS DTR ☞ ☞ DTE Device Cable Wiring 1 2 3 4/7 5 6 8 9 8 20 5 7 3 2 4 6 DB25 Male Connector DCD DTR CTS GND RxD TxD RTS DSR For Rackmount option, this RJ45 to female DB25 RS-232 testing cable (CN20030) is available from Moxa.
Type 2: Connecting Basic/Extensive Module to a DCE device. Cable CN20040 Modem, or any DCE Device C3208xT RJ45 Plug Pin 1 C3208xT RJ45 Jack Connector DCD DSR RTS GND TxD RxD CTS DTR ☞ ☞ DCE Device Cable Wiring 1 2 3 4/7 5 6 8 9 8 6 4 7 2 3 5 20 DB25 Female Connector DCD DTR CTS GND RxD TxD RTS DSR For Rackmount option, this RJ45 to male DB25 RS-232 testing cable (CN20040) comes with the Basic Module and is provided for testing. 4/7 means either line 4 or line 7 can be used for GND.
Connection Option and Cable Wiring Type 3: Connecting Basic/Extensive Module to a DTE device with 3-pin wiring. If the“Hardware flow control” feature is set to “ON”, you must loop back (or short) the RTS with CTS and DSR with DTR, DCD on MOXA site, indicated in dash-lines of the following diagrams. If the“Hardware flow control” feature is set to “OFF”, you could just leave RTS, CTS, DSR, DTR, DCD open, ignoring the connection indicated in dash-lines.
C32020T Link Cable There are two different types of link cables: 25-signal-pin link cable and 10-signalpin link cable. The former is used when there is no external power applied to the external module (CPU/Basic Module). The latter is used when the external power is applied to the external module (CPU/Basic Module) if you have chosen to use Long Rang Extension Kit.
Connection Option and Cable Wiring 10-signal-pin Link Cable (for long range extension only) If the external power adapter is applied to the CPU/Basic Module, you will need to use the 10-pin cable accompanying with the Long Range Extension Kit. The Control Board to CPU/Basic Module should have only 10 signal pins with the following pinouts. Warning! Make the link cable carefully and precisely according to the following pinout, otherwise you will risk damaging the Control Board and CPU/Basic Module.
5-16 Intellio C320Turbo/PCI User's Manual
6 Troubleshooting 6 General Troubleshooting Common Intellio C320Turbo/PCI problems and possible solutions are listed below, in addition to those operating systems specific ones. If you still have problems, contact your dealer or Moxa for help. Or report it using “Problem Report Form” at the end of this manual to your dealer at once for technical support. 1. MOXA PCI board can not be detected by the MOXA driver while installing the driver. Hardware causes and solutions: a.
or box or board to verify. In addition, PComm utility “Diagnostic” for Windows NT and Windows 95/98 is good for testing MOXA board and port condition. If the report of diagnostic shows error, replace the error component. Software Causes and Solutions: a. Intellio C320Turbo Series will check line status (CTS) before it sends data out if RTS/CTS flow control feature is set to “Enable” in configuration or application program. Please see the “Connection Options and Cable Wiring” chapter for proper wiring.
Troubleshooting 4. Error messages appear on CPU/Basic Module LED display. Any of the following messages means failure of the Intellio C320Turbo/PCI initialization. E0: E1: E2: E4: E5: A1: A2: 10: 20: 30: 40: CPU/Basic Module ROM error. CPU/Basic Module RAM error. No UART Module present. The power to the CPU/Basic Module has been switched off and on swiftly, or some Module is missing during the power-off time. The connection between Modules is loose or broken. CPU/Basic Module execution failure.
5. Upon system startup or driver initialization, the “Number of ports mismatch” message appears. Hardware Causes and Solutions: The total number of ports installed is less than that of configured. a. Shut off the system and check all modules and their connections. Make sure that all the module(s) is(are) fastened properly. b. Run the board configuration program to check the board configuration.
Troubleshooting Windows NT This section is specific for troubleshooting under Windows NT. For general problems and solutions, please see the previous section, “General Troubleshooting”. 1. After system starts, error message “MOXA C320Turbo/PCI Multiport Board #1 addr(XXX): CPU/Basic Module not found!” appears in Event Log. Shutdown the system first and refer to the problem 3 for solutions in the previous section, “General Troubleshooting”. 2.
5. After system starts, error message “MOXA C320Turbo Multiport Board #1 addr(XXX): CPU/Basic module download failure!” appears in Event Log. Shutdown the system first and refer to the problem 3 for solutions in the previous section, “General Troubleshooting”. 6. Windows NT system panic (blue screen). The possible reason is IRQ conflict with other ISA Bus adapters like LAN and SCSI board, RAID controller or system BIOS. 7. Error message “C320tnt.cod file not found!” appears. Error message “C320tnt.
Troubleshooting Windows 95/98 This section is specific for troubleshooting under Windows 95/98. For general problems and solutions, please see the previous section, “General Troubleshooting”. 1. Error message “MOXA C320Turbo/PCI (BusNo=xx, DevNo=xx) at base memory [XXX] download failure!” appears. Shutdown the system first and refer to the problem 3 for solutions in the previous section, “General Troubleshooting”. 2.
6. Error message “C320Turbo/PCI (BusNo=xx, DevNo=xx) at base memory [XXX] interrupt failure!” appears. This indicates MOXA board is found but the IRQ is conflicting with other adapter. Make sure there is no conflict with other adapter's IRQ. Check the PCI BIOS IRQ setting and make sure IRQ is available. 7. Error message “C320twin.cod file not found!” appears. Error message “C320twin.cod file length is wrong!” appears. Error message “C320twin.cod file data content error!” appears.
Troubleshooting 4. When respawning quite a few number of tty ports, the following error messages appear: “Time out table overflow”, “File table overflow”, “Region table overflow”. The above error messages imply that the system resources are exhausted. You should tune the kernel parameters to a larger value and rebuild the kernel to be able to accommodate the new configuration. Refer to UNIX system manual about how to tune the parameters and rebuild kernel.
6-10 Intellio C320Turbo/PCI User's Manual
Ap p e n d i x A Technical Reference Specifications System Up to 32 serial ports per Control Board Up to 4 Control Boards per PC system for a total of 128 ports Supports device drivers for most popular operating systems. See the driver support list below: C320Turbo/PCI Windows NT Windows 95/98 SCO UNIX/OpenServer UNIX SVR4.2 XENIX Linux2.0.x/2.2.
CPU Module and UART Module for Desktop Option CPU Module (for Desktop option) 40 MHz TMS320C52 processor 16 KB ROM and 32 K Words RAM Diagnostic LEDs show full status of each serial port, including TxD, RxD, DTR, DSR, RTS, CTS, DCD Optional power adapter for use when the distance between Control Board and CPU Module is longer than 2 meters. In this case, a 10-signal-pin DB25 to DB25 cable must be used between Control Board and CPU Module.
Technical Reference 1 2 3 4 5 6 7 8 UART Module Basic Module and Extensive Module for Rackmount Option Basic Module (for Rackmount option) 8 or 16 serial ports 40MHz TMS320C52 processor 16KB ROM and 32K Words RAM Diagnostics LEDs show full status of each serial port, including TxD, RxD, DTR, DSR, RTS, CTS, DCD 16550C UART chip with 32 bytes FIFO (Tx+Rx) and on-chip hardware flow control Each UART chip drives one serial port (Max. 460.
Basic Module ( Front View ) Multiport Controller B?a?s?i?c M?o?d?u?l?e Power TxD RxD DTR DSR RTS CTS DCD Module Channel Basic Module ( Rear View ) P9 P16 P1 P8 To next module From PC DC IN ON/OFF To Control Board Extensive Module (for Rackmount option) ❖ 8 or 16 RS-232 serial ports ❖ 16550C UART chip with 32 bytes FIFO (Tx+Rx) and on-chip hardware flow control ❖ Each UART chip drives one serial port (Max. 460.
Technical Reference PCI The 32-bit Intellio C320Turbo/PCI board complies with PCI Spec. 2.1. Hardware configuration for IRQ and Memory addresses is automatically assigned by PCI BIOS. Hence, it is a must to have the board plugged first before installing software driver. Unlike ISA slots, different PCI slots in the same PC may have different bus numbers and device numbers with respect to PCI specifications.
16550C in UART/Basic/Extensive Modules The 16550C is an advanced asynchronous controller capable of on-chip hardware flow control and highest speed up to 921.6 Kbps. Inside UART/Basic/Extensive Module, each 16550C chip controls one port.