Intellio C218Turbo/PCI User’s Manual A High Performance 8 Port Async Board for PCI Bus Dec. 1999 (4th Edition) The content of this manual is also available in CD-ROM and at Moxa Web Site. Moxa Technologies Co., Ltd. Tel: +866-2-8665-6373 Fax: +886-2-8665-6372 www.moxa.com support@moxa.com.
Intellio C218Turbo/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 the agreements. Copyright Notice Copyright 1999 Moxa Technologies Co., Ltd. All rights reserved. Reproduction in any form without permission is prohibited. Trademarks MOXA is a registered trademark of Moxa Technologies Co., Ltd. All other trademarks or registered marks in this manual belong to their respective manufacturers.
MOXA Internet Services Customer’s satisfaction is always our number one concern. To ensure that customers get the full benefit of our services, Moxa Internet Services have been built for technical support, product inquiry, new driver update, user’s manual update, etc. The followings are the services we provide. E-mail for technical support address: support@moxa.com.tw FTP site for free driver update address: ftp.moxa.com or ftp.moxa.com.
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-3 Check List.......................................................................................................... 1-4 Installation Guide..............
UNIX.................................................................................................................. 4-6 Programming the MOXA Ports................................................................................. 4-6 Extended UNIX Ioctl() Commands ........................................................................... 4-6 Utilities .................................................................................................................... 4-12 RS-485 Programming for Opt8J .....
1 1 Introduction Overview Intellio - The Intelligent Multiport Serial I/O Solutions The Intellio C218Turbo/PCI is an 8 port high performance intelligent serial interface board designed for 32-bit PCI bus with “Plug and Play” feature. It is suitable for remote access, industrial control and office automation, where a PC system needs to communicate with multiple modems, data acquisition equipment, serial printers and any other serial devices through RS-232/RS-422/RS-485 interfaces.
ASIC Design, Compact Size The Intellio C218Turbo/PCI is also equipped with MOXA customer-designed ASIC chip, which replaces lots of conventional IC and hence reduces the board to half-size, increases the operation performance, and lowers the failure rate of the board.
Introduction Office Automation Telecommunication PC-based (vending) Machine or Kiosk System Point-of-Sale (POS) System Features The following is a summary of all the outstanding features of Intellio C218Turbo/PCI: High speed serial communication channel-max. 921.6 Kbps per port (Max. speed may be limited by certain connection option such as Opt8J, which supports max. speed 460.8 Kbps only.
Check List Upon unpacking Intellio C218Turbo/PCI 8-port high performance intelligent async board, you should find the following common items included in the package: One Intellio C218Turbo/PCI 8-port high performance async board MOXA Software CD-ROM×1, which includes: Drivers for MOXA Multiport Async Products PComm Lite programming library and utilities for Windows NT/95/98 User’s Manual (PDF) Intellio C218Turbo/PCI User's Manual (This Manual) You need also one of the following connection options:
Introduction Installation Guide This section gives a brief summary of how to install the Intellio C218Turbo/PCI under each supported operating system. Installation is simple and involves the following stages: Check PCI BIOS settings Install Intellio C218Turbo/PCI board And connection option (cable/box) See Chapter 2 Install software from diskette And configure driver for board and ports See respective O.S.
1-6 Intellio C218Turbo /PCI User's Manual
2 2 Hardware Installation The installation of Intellio C218Turbo/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 C218Turbo/PCI board’s hardware configuration for IRQ and memory addresses is automatically assigned by PCI BIOS.
Step 7: Connect one of the connection box/cable (also adapter if required) detailed in the next Section. Step 8: Power on PC and BIOS will automatically set the IRQ and memory address. Note ! Each board must occupy one 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 normally this method is not available for memory. The possible IRQ numbers are 2, 3, 4, 5, 9, 10, 11, 12, and 15.
Hardware Installation Opt8C/Opt8D Hold one end of the DB62 cable and plug it into the DB62 connector on the bracket of the Intellio C218Turbo/PCI. Screw it carefully until it fits. P1 P5 P2 P3 P4 P6 P7 P8 Intellio C218 Turbo/PCI Opt8C/Opt8D Opt8J/Opt8F/Opt8Z Hold one end of the DB62 cable and plug it into the DB62 connector on the bracket of the Intellio C218Turbo/PCI. Carefully screw it until it is tight. Then plug the other end of the cable to the RS-422/RS-485 connection box's DB62 connector.
Operating Opt8J Opt8J is the RS-422/485 connection box with 8 port female DB25 connectors for MOXA 8 port boards, including the Intellio C218Turbo/PCI. There are 8-DIP switches on the side of the Opt8J. Each switch controls the communication mode (RS-422 or RS-485) of each port, respectively. 12345678 DIP ON RS-422/485 Port Switch of Opt8J 1 2 3 4 DIP 5 6 7 8 ON RS-422 Mode Set the respective switch to OFF position to use RS-422 interface.
3 3 Software Installation In this chapter, software driver installation, configuration and driver upgrade/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 The following is the procedure for installing the Intellio C218Turbo/PCI driver for the first time under Windows NT 4.0. Make sure the board(s) has(have) already been plugged in the system PCI slot. 1. Please Login NT as Administrator. 2. From [Control Panel], open [Network] icon and then select [Adapters] tab. 3. Click on [Add] button, then [Have Disk...] button for “Select Network Adapter”. 4. Specify the exact path for the driver diskette, A:\WINDOWS.NT. Then click on [OK] button.
Software Installation 5. Select “MOXA Intellio Family Multiport Board” in the “Select OEM Option” dialog box, and then 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 C218Turbo/PCI board. Select the “C218Turbo/PCI” in the “Board Type” field. 7.
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”. 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, you may customize the driver with the following two features: 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.
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 C218Turbo/PCI boards can be installed in a system. 9. When configuration is done, click on [OK] button for “Network ” dialog box. 10. Restart Windows NT system.
Software Installation Enter [Administrative] group, then open [Event Viewer] icon and then select [Application Event Log] item to check for successful message similar to "MOXA C218Turbo/PCI Multiport Board #1: addr(XXX) O.K." for each configured board. If error message is like “MOXA C218Turbo/PCI Multiport Board #1 addr(XXX): IRQ(10) test failure!”, refer to the “Troubleshooting” chapter for solutions.
3. Click on [Properties…] button to start the “MOXA Configuration Panel” dialog. In this configuration panel, you may: 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. 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 C218Turbo/PCI 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, multi-process and multi-thread, pure 32-bit Windows 95 virtual device port drivers (VxD) compliant with communication driver (VCOMM) are developed for C218Turbo/PCI and other MOXA multiport boards. The drivers conform to Win32 COMM API standard. If you are the first time installer or you want to install more boards, please go directly to the section “Installing Driver”.
Software Installation The following flow chart illustrates the driver installation stages of the Intellio C218Turbo/PCI board. Each stage is detailed later.
First Time Driver Installation Stage The stage presents the steps for installing the driver for the first time with the first Intellio C218Turbo/PCI board. The installation of Intellio C218Turbo/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. 3-14 Intellio C218Turbo /PCI User's Manual Click [Next>].
Software Installation Port Configuration Stage This stage displays the “MOXA Ports Installation” dialog box for the port configuration. Here you can map the MOXA ports to the system COM numbers. In the “C218Turbo/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 the “Advanced Settings” dialog box, you may customize the driver with the following two features: 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.
Software Installation Board and Port Ready Stage Click on [OK] buttons for all the dialog boxes to finish the configuration and exit the “MOXA Ports Installation” dialog. 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 C218Turbo/PCI board without restarting the Windows 95 system. After the port installation, click on the [Finish] button.
Once the installation is finished, error conditions of the board, if any, are displayed on the screen. Otherwise, everything should be fine. If an error message similar to “C218Turbo/PCI (BusNo=x, DevNo=x) at base memory [XXX] interrupt failure!” appears, consult the “Troubleshooting” chapter. Note ! Up to now, the driver installation of Intellio C218Turbo/PCI is completed and successful including the board and port configuration.
Software Installation Configuring Board and Port If you already have installed the driver and want to re-configure the Intellio C218Turbo/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 then [MOXA Utilities] menu and then [MOXA Configuration Panel] icon. The configuration panel will be popped up as below. The [Add] button and the [Remove] button are not applicable in PCI case.
3. In the “Property” dialog, you may click on [Port Setting] button to enter the following “Individual Port Setting” dialog box to change the port COM number mappings or do the advanced settings..
Software Installation 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. 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. For instance, if first port is mapped to COM10, then second port is mapped to COM11 sequentially.
In the “Advanced Settings” dialog box, you may customize the driver with the following two features: 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.
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 C218Turbo/PCI” entry. Click on the [Properties] button and select the [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 There are various UNIX operating systems, such as SCO UNIX, UNIX SVR4.2, XENIX and Solaris, etc. Different types of UNIX drivers are required for different UNIX. Moxa supports device drivers currently for SCO UNIX, UNIX SVR4.2 and XENIX. . In this section, driver installation procedure is described. Administration utility, mxadm, is explained, which is for configuration, monitor and terminal emulation. Related issues such as device naming, baud rate settings and terminal enable are stated.
Software Installation MOXA UNIX Device Driver Installation Ver. x.x Please select one of the following OS: 1. SCO UNIX 2. UNIX SVR4.2 3. XENIX Select: Please type 1 for SCO UNIX 3.2.x, SCO OpenServer or SCO Open Desktop. Type 2 for UNIX SVR4.2, UnixWare or MITUX. Type 3 for XENIX. Please select one of the devices where the driver diskette/files put: 1. /dev/fd0135ds18 (A: 1.44MB) 2. /dev/fd096ds15 (A: 1.2 MB) 3. /dev/fd1135ds18 (B: 1.44MB) 4. /dev/fd196ds15 (B: 1.2 MB) 5.
For more details, see later section “Administration Utility -mxadm”. Up to now, you have already completed the whole installation and the Intellio C218Turbo/PCI board is ready to work. Note! Please double check if all the Intellio C218Turbo/PCI components: Control Board, link cable and external modules, are connected and fastened tightly in order to ensure the system and driver will start successfully later. Now you can run any ready-made applications such as getty terminal or PPP/SLIP.
Software Installation MOXA TTY Device Naming Convention If the Intellio C218Turbo/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.
Administration Utility - mxadm You can use the administration utility, mxadm, to change the Intellio C218Turbo/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. For the details of the rest utilities: port monitoring, and terminal emulator, please refer to Section "UNIX" of Chapter "Serial Programming Tools". Basic Configuration This utility is to configure basic settings for the driver.
Software Installation In the “Basic Configuration” dialog, you should first press Enter in board type field to select board type, C218Turbo/PCI. And then a list of Intellio C218Turbo/PCI boards found available is popped up for you to select. Normally, one choice is available if there is one Intellio C218Turbo/PCI board installed beforehand. Press Enter on the desired entry of the list to select.
Advanced Configuration This is to provide advanced settings for advanced driver features beyond basic settings described in the previous Basic Configuration. Similarly, in “Board Settings” dialog, board reset (described later) is available for the latest configuration to take effect without kernel rebuilding and system reboot. 1. In the “Advanced Board Configuration” dialog, you can press Enter in each field to select the desired option. The fields are details as follows.
Software Installation 2. Press PageDown to enter “Advanced Port Settings” sub-dialog, there are some noticeable fields for initialize the ports for advanced usage. You may skip this step if you do not concern these features. Feature In “Port Feature Settings” sub-dialog, port feature [Terminal] is the only choice if On Board Line Discipline is set to “Enable”. This is good for terminal application users.
Response Three levels, Slow, Normal and Fast, of port response time are designed for user's 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. In addition, if the port feature is set to Onboard Line Discipline “Disable” and Feature “Terminal”, response option will be locked at "Slow" level.
Software Installation Performance Tuning The utility let you tune the favored response time for those ports with Resp = Norm or Slow in [Port Feature] sub-menu of Advanced configuration. Ten response time levels (0-9) are available for tuning. The idea is that the faster response time will consume more host CPU resource while slower response consume less resource. If the host CPU is fast enough or a quick response is highly demanded, choose level 9 would be suitable.
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 C218Turbo/PCI, including getty or tty monitor, are killed. Once the board is reset, the following message may show if it is successful. MOXA Serial I/O Board (Ver x.x) Downloading MOXA-C218Turbo/PCI (MemBank=XX000;BusNo=X;DevNo=X) is found. If one of the following message appears, please see Chapter "Troubleshooting".
Software Installation 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. use vi editor) the file /etc/inittab. Modify the tty entry from "ma11:23:off:/etc/getty "ma11:23:respawn:/etc/getty ttya11 9600". # init q ttya11 9600" to Or refer to your UNIX system manuals for how to activate a tty port.
3-36 Intellio C218Turbo /PCI User's Manual
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 will details the installation, the library and the utilities for various O.S. platforms.
PComm Programming Library The serial communication library is to assist users 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 Diagnostic (for MOXA boards only) A co3nvenient diagnostic program provides internal and external testing, such as IRQ, TxD/RxD, UART, CTS/RTS, DTR/DSR, DTR/DCD testing, etc., for the MOXA boards and ports to verify correct operation of both the software and hardware.
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.
Serial Programming Tools 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.
UNIX Programming the MOXA Ports The system calls that apply to standard tty port can also be applied 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' need.
Serial Programming Tools Syntax for SCO UNIX/XENIX #define MIBUFED 0x401 int count; /* number of bytes queued in the buffer */ ioctl(moxa_fd, MIBUFED, &count); Syntax for UNIX SVR4 #include #include #define MIBUFED 0x401 struct strioctl ioc; int count; /* number of bytes queued in the buffer */ ioc.ic_cmd = MIBUFED; ioc.ic_timout = 0; ioc.ic_len = sizeof(int); ioc.
ioc.ic_cmd = MOBUFED; ioc.ic_timout = 0; ioc.ic_len = sizeof(int); ioc.ic_dp = (char *)&count; ioctl(moxa_fd, I_STR, &ioc); Note: See MIBUFED for influence of STREAMS driver. 3. MTCRTS This function, only valid when hardware flow control is turned off (see MHWFLOW), is used to drive RTS signal on or off.
Serial Programming Tools Syntax for SCO UNIX/XENIX #define MTCDTR #define TurnON #define TurnOFF 0x404 1 0 ioctl(moxa_fd, MTCDTR, TurnON); ioctl(moxa_fd, MTCDTR, TurnOFF); 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.
Syntax for SCO UNIX/XENIX #define MLOWATER 0x405 int lowater; /* low water value of output buffer (default = 512 bytes) */ ioctl(moxa_fd, MLOWATER, lowater); Syntax for UNIX SVR4 #include #include #define MLOWATER 0x405 struct strioctl ioc; int lowater; /* 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.
Serial Programming Tools 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, users might want to control the DTR or RTS signal on their will, 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.
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.
Serial Programming Tools 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. Besides, data scope function with pattern/file transfer is provided. 1.
RS-485 Programming for Opt8J If you intend to do RS-485 communication with Opt8J, please follow the RS-485 programming guide below and also refer to Chapter “Connection Option (Opt8x) and Cable Wiring” for more Opt8J RS-485 operation details. The Opt8J supports only 2-wire half-duplex RS-485 communication. Data+/- pins are served for both data transmitting and receiving, depending on the RTS signal. The port switch of each port should be set to On position.
Serial Programming Tools Solution 2 There's a dedicated RS-485 function in PComm library. It integrates the above functions of solution 1 regarding sending data as one. sio_putb_x(port, buff, tick ); /* 1. Turn on RTS and ready for transmitting data. 2. Send data. 3. Wait for tick time. 4. Turn off RTS and ready for receiving data. */ For more information on these functions, please refer to PComm library on-line Help file for Windows NT and Windows 95/98.
4-16 Intellio C218Turbo /PCI User's Manual
5 5 Connection Option (Opt8x) and Cable Wiring In serial data communications, the term DTE is for Data Terminal Equipment like PC COM1/2, serial printer and terminal. The term DCE is for Data Communication Equipment like modem. Please check the precise pinouts, the following pinouts are typical examples.
The followings are pin assignments for various connection options: Opt8A/S (DCE, DB25 Female) 2 3 4 5 6 7 8 20 RxD TxD CTS RTS DTR GND DCD DSR Opt8B/C (DTE, DB25 Male) 2 3 4 5 6 7 8 20 TxD RxD RTS CTS DSR GND DCD DTR Opt8D (DTE, DB9 Male) 1 2 3 4 5 6 7 8 DCD RxD TxD DTR GND DSR RTS CTS 5-2 Intellio C218Turbo /PCI User's Manual DSR 20 8 7 6 5 4 3 2 DCD GND DTR RTS CTS TxD RxD
Connection Option (Opt8x) and Cable Wiring Type 1: To connect Intellio C218Turbo/PCI to a DTE device.
PC COM2 port, Serial Printer, Terminal, or any DTE Device Opt8D Opt8D DTE Device DB9 Male DB25 Male RxD TxD CTS RTS DTR DSR GND DCD 2 3 8 7 4 6 5 1 2 3 4 5 6 20 7 8 TxD RxD RTS CTS DSR DTR GND DCD Type 2: To connect Intellio C218Turbo/PCI to a DCE device.
Connection Option (Opt8x) and Cable Wiring Straight-through Cable Modem, or any DCE Device Opt8B/C Opt8B/C DCE Device DB25 Male DB25 Female TxD RxD RTS CTS DSR DTR GND DCD 2 3 4 5 6 20 7 8 2 3 4 5 6 20 7 8 RxD TxD CTS RTS DTR DSR GND DCD Modem or any DCE Device Opt8D Opt8D DCE Device DB9 Male DB25 Female RxD TxD CTS RTS DTR DSR GND DCD 2 3 8 7 4 6 5 1 2 3 4 5 6 20 7 8 RxD TxD CTS RTS DTR DSR GND DCD Intellio C218Turbo /PCI User's Manual 5-5
Type 3: To connect Intellio C218Turbo/PCI to a DTE 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.
Connection Option (Opt8x) and Cable Wiring PC COM2 port, Serial Printer, Terminal, or any DTE Device Opt8D Opt8D DTE Device DB9 Male DB25 Male RxD TxD GND RTS CTS DTR DSR DCD 2 3 5 7 8 4 6 1 2 3 7 4 5 6 20 8 TxD RxD GND RTS CTS DTR DSR DCD Intellio C218Turbo /PCI User's Manual 5-7
RS-422 Cable Wiring for Opt8J/F/Z RS-422 connection boxes designed for Intellio C218Turbo/PCI are: Opt8J: Connection box with 8 female RS-422/485 DB25 ports. Set the port switch to OFF position (RS-422) for the desired port(s). Opt8F: Connection box with 8 female RS-422 DB25 ports and Max. 500V DC isolation protection which prevents damage caused by high potential voltage. Opt8Z: Connection box with 8 female RS-422 DB25 ports but without isolation protection.
Connection Option (Opt8x) and Cable Wiring The followings are operation modes for RS-422: RS-422 Point-to-point Opt8F/Z 3 TxD+(B) 16 TxD-(A) 2 RxD+(B) 14 RxD-(A) 7 GND RS-422 Broadcasting RS-422 Device RxD+(B) RxD-(A) TxD+(B) TxD-(A) GND Opt8J/F/Z 3 TxD+(B) 2 RxD+(B) 16 TxD-(A) 14 RxD-(A) 7 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 Opt8J RS-422 with Handshaking Opt8J 3 TxD+(B) 16 TxD-(A) 2 RxD+(B) 14 RxD-(A) 7 GND 5 RTS+(B) 13 RTS-(A)
RS-485 Cable Wiring for Opt8J One RS-485 connection box designed for Intellio C218Turbo/PCI is: Opt8J: Connection box with 8 female RS-422/485 DB25 ports. Set the port switch to ON position. The Opt8J supports only 2-wire half-duplex RS-485 communication. Data+/- pins are served for both data transmitting and receiving, depending on the RTS signal.
Connection Option (Opt8x) and Cable Wiring RS-422/485 Impedance Matching For RS-422/485 serial communications, when an electrical signal travels through two different resistance junctions in a transmission line, the impedance 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.
5-12 Intellio C218Turbo /PCI User's Manual
6 Troubleshooting 6 Common C218Turbo/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 faster technical support. General Troubleshooting 1. MOXA PCI board can not be detected by the MOXA driver while installing the driver. Hardware causes and solutions: a.
Software Causes and Solutions: a. Intellio C218Turbo 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 Chapter “Connection Options (Opt8x) and Cable Wiring” for proper wiring. Check the line status of the suspected port using the diagnostic LED indicators on the mini tester. b.
Troubleshooting Windows NT This section is specific for troubleshooting under Windows NT. For general problems and solutions, please see previous Section “General Troubleshooting”. 1. After system reboot, error message “MOXA C218Turbo/PCI Multiport Board #1 addr [XXX]: IRQ test failure!” appears in Event Log. This indicates MOXA board is found but the IRQ is conflicting with other adapter. Please make sure there is no conflict with other adapter's IRQ. Check the PCI BIOS IRQ setting first.
Windows 95/98 This section is specific for troubleshooting under Windows 95/98. For general problems and solutions, please see previous Section “General Troubleshooting”. 1. Error Message “MOXA C218Turbo/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. 2. Error Message: C218tnt.
Troubleshooting UNIX This section is specific for troubleshooting under UNIX. For general problems and solutions, please see previous Section "General Troubleshooting". 1. During system reboot, error message “WARNING! C218Turbo/PCI (MemBank=XX000;BusNo=X;DevNo=X) not found!” appears. The possible cause is memory conflict or defective board. Please shutdown the system first, and then refer to the corresponding problem and solutions in previous Section “General Troubleshooting”. 2.
5. The newly rebuilt kernel could not boot. The C218Turbo/PCI driver might not be built into the new kernel correctly. a. Please use the last good kernel backup to boot again. The kernel backup in SCO UNIX is /unix.moxa while in UNIX SVR4.2 /stand/unix.moxa. b. Then remove the C218Turbo/PCI driver. Refer to Section “UNIX” of Chapter “Software Installation” for driver removal. c. Re-install the C218Turbo/PCI driver once more. 6.
A A Technical Reference Specifications Bus interface: Number of ports: Max. boards: Base memory addr.: IRQ: RISC processor: On-board buffer: Comm. controller: Speed (bps): Data bits: Stop bits: Parity: Data signals: Connectors: Surge protection: Operating temp: Power requirement: Dimensions: Operating Systems: 32-bit PCI (PCI Spec. 2.
C218Turbo/PCI Windows NT Windows 95/98 SCO UNIX/OpenServer UNIX SVR4.2 XENIX Linux2.0.x/2.2.x ✓ Note ✓ ✓ ✓ ✓ ✓ ✓ : Driver supported by Moxa and shipped with product : Download the newest drivers from the MOXA FTP service PCI The 32-bit Intellio C218Turbo/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.
Technical Reference much faster than normal I/O access. All messages and data are transferred through this 512 KB dual-ported memory. The buffer area appears as normal 16-bit memory to the PC AT I/O channel. Every Intellio C218Turbo/PCI only occupies 16 KB of memory space (window) from the system point of view. UART 16C550C The UART chip, 16C550C, is an intelligent asynchronous controller capable of supporting one full duplex channel that transfers data at 921.6 Kbps simultaneously.
Problem Report Form Intellio C218Turbo/PCI Customer name: Company: Tel: Email: Fax: Date: 1. Moxa Product: C218Turbo/PCI Serial Number: ________________ 2. Moxa Driver version: ________________ 3. Moxa hardware settings: PCI Slot number ________________________ 4. Operating System: Windows 95 Windows 98 Windows NT 3.51 Windows NT 4.0 SCO UNIX 3.2.4 SCO OpenServer Release 5 SVR4.2 UNIX (SCO) UnixWare ver _._ XENIX Linux2.0.x Linux2.2.x other 5.
Return Procedure For product repair, exchange or refund, you must: Provide evidence of original purchase Fill out the Problem Report Form (PRF) as detailed as possible for shorter product repair time. Obtain a Return Merchandise Authorization (RMA) number from the sales representative or dealer Carefully pack the product in anti-static package, and send it, pre-paid, to the dealer.