background image

Intellio

 C218

Turbo

/PCI

 

User’s Manual

A High Performance 8 Port Async Board for PCI Bus

March. 1999 (3rd 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
[email protected]

Summary of Contents for INTELLIO C218

Page 1: ...h Performance 8 Port Async Board for PCI Bus March 1999 3rd 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 8...

Page 2: ...notice and does not represent a commitment on the part of Moxa Moxa provides this document as is without warranty of any kind either expressed or implied including but not limited to the particular pu...

Page 3: ...ilt 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 fr...

Page 4: ...rdware Installation Hardware installation for Intellio C218Turbo PCI and connection option Opt8x is detailed Chapter 3 Software Installation This Chapter details the software installation configuratio...

Page 5: ...7 Adding Removing Board 3 9 Updating Driver 3 9 Removing Driver 3 10 Windows 95 98 3 10 Installing Driver 3 11 Configuring Board and Port 3 19 Updating driver 3 23 Removing driver 3 23 UNIX 3 24 Insta...

Page 6: ...iring for Opt8A B C D S 5 1 RS 422 Cable Wiring for Opt8J F Z 5 8 RS 485 Cable Wiring for Opt8J 5 10 RS 422 485 Impedance Matching 5 11 Troubleshooting 6 1 General Troubleshooting 6 1 Windows NT 6 2 W...

Page 7: ...rovides 8 serial ports Up to four boards of Intellio C218Turbo PCI may be used in the same system See Section Features and Chapter Hardware installation for details PCI Solution The board complies wit...

Page 8: ...ations Major Operating System Support It supports most popular O S platforms from Windows NT Windows 95 98 SCO UNIX OpenServer UNIX SVR4 2 and Linux with nice installation configuration and performanc...

Page 9: ...he art ASIC design v Compact size design v Easy Monitoring TxD and RxD status indicators for each port on connection box v Various Connection options RS 232 422 485 female male DB25 DB9 v Easy Install...

Page 10: ...female male female ports respectively surge protection for Opt8S v 1 5 meter DB62 to DB62 cable Opt8C Opt8D v RS 232 octopus cable with 8 port male connectors DB25 for Opt8C and DB9 for Opt8D 1 meter...

Page 11: ...tall Intellio C218Turbo PCI board See Chapter 2 And connection option cable box Install software from diskette See respective O S Section And configure driver for board and ports of Chapter 3 Connect...

Page 12: ...1 6 Intellio C218Turbo PCI User s Manual...

Page 13: ...ed first before installing software driver After this simply install the control board into the PC and then connect one of the connection cable or box Opt8A B C D S J F Z At the end of this Chapter RS...

Page 14: ...p 9 Proceed with software installation detailed in the next Chapter Software Installation Installing Connection Option Opt8x Connect the Intellio C218Turbo PCI with the one of the following connection...

Page 15: ...ew it carefully until it fits P1 P2 P3 P4 P6 P5 P7 P8 Opt8C Opt8D Intellio C218 Turbo PCI Opt8J Opt8F Opt8Z Hold one end of the DB62 cable and plug it into the DB62 connector on the bracket of the Int...

Page 16: ...RS 232 RS 422 RS 485 cable wiring And also to Chapter Serial Programming Tools for RS 232 RS 422 RS 485 programming details Operating Opt8J Opt8J is the RS 422 485 connection box with 8 port female D...

Page 17: ...plex RS 485 Mode The Opt8J supports only 2 wire RS 485 communication Set the respective switch to ON position to use RS 485 interface This means the port can transmit data only when RTS is asserted an...

Page 18: ...2 6 Intellio C218Turbo PCI User s Manual...

Page 19: ...NT Windows NT supports up to 256 serial ports from COM1 to COM256 To fully integrate the advanced features of Windows NT multi process and multi thread pure 32 bit Windows NT device drivers are develo...

Page 20: ...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...

Page 21: ...onfiguration 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...

Page 22: ...continuous COM numbers For instance if first port is mapped to COM10 then second port is mapped to COM11 sequentially l Non sequential Port Mapping Disable Auto Enumerating COM number Specify the COM...

Page 23: ...to avoid from data loss when communicating with communication devices using S W flow control l Transmission Mode Hi Performance Mode This feature is set to Hi Performance by default which accelerates...

Page 24: ...installed in a system 9 When configuration is done click on OK button for Network dialog box 10 Restart Windows NT system The latest configuration will not take effect unless the system restarts Note...

Page 25: ...successfully you can start to develop applications by using PComm library See Chapter Serial Programming Tools or using Microsoft Win32 API Also you can execute any ready made application such as PCom...

Page 26: ...ialog In this configuration panel you may l 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 previ...

Page 27: ...you made l Click Cancel to leave the dialog with the configuration unchanged Adding Removing Board Following is the procedure to add remove Intellio C218Turbo PCI boards after a first time installati...

Page 28: ...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 C218 Turbo PCI and other MOXA multiport boa...

Page 29: ...y with little installation effort under Windows 95 98 which supports Plug and Play capability The Windows 95 98 will automatically detect the presence of the newly plugged board and prompt you to inst...

Page 30: ...See Chapter Hardware Installation Yes Driver installed before No Install the Intellio PCI board in the system Start Windows 95 98 to detect the board Install the driver with the diskette See First Ti...

Page 31: ...oard 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 Upon detecting the first new I...

Page 32: ...ation field and click OK The system will start reading the files from the diskette 4 Clink on the Finish button 3 Selct Other Devices and click Next 4 Click on the Have Disk button 5 Type A Windows 95...

Page 33: ...Software Installation Intellio C218Turbo PCI User s Manual 3 15 6 Click Next 7 Click Next...

Page 34: ...COM numbers in two ways depending on the Auto Enumerating COM number check box l Sequential Port Mapping Enable Auto Enumerating COM number Specify the COM number of the first port and subsequent port...

Page 35: ...og In this last stage you will complete the driver installation Windows 95 After the port installation you can immediately use the COM ports of the Intellio C218Turbo PCI board without restarting the...

Page 36: ...etails Note Once the board and driver are installed and the driver restarts successfully you can start to develop applications by using PComm library See Chapter Serial Programming Tools or using Micr...

Page 37: ...figuration panel will be popped up as below The Add button and the Remove button are not applicable in PCI case A new C218Turbo PCI board will be automatically found as new hardware and added during t...

Page 38: ...C218Turbo PCI User s Manual 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 adv...

Page 39: ...ed to COM10 then second port is mapped to COM11 sequentially l Non sequential Port Mapping Disable Auto Enumerating COM number Specify the COM number for individual port For instance the second port c...

Page 40: ...his feature is set to Hi Performance by default which accelerates the reaction of data writing behavior by utilizing buffering technology It lets your communication software reach maximum data through...

Page 41: ...ntry Click on the Properties button and select the Driver tab and then click on the Update Driver button Removing driver You can not actually remove the driver You can only remove all the configured b...

Page 42: ...Tools for advanced programming UNIX specific troubleshooting is included in Chapter Troubleshooting Installing Driver Up to four boards of combination of Intellio C218Turbo PCI and C218Turbo can be i...

Page 43: ...moment and you are recommended to do so unless you need to install other driver Please type y After kernel rebuild please shutdown the system on your own For UNIX SVR4 2 or UnixWare or MITUX Then you...

Page 44: ...ble 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...

Page 45: ...ical 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 The convention of the MOXA tty device name...

Page 46: ...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 Pro...

Page 47: ...eable fields for initialize the port for getty usage You may skip this step if you will not use getty utility Non Modem and Modem Baud Rate This field stands for the initial baud rate symbol and hunt...

Page 48: ...line discipline jobs e g translating NL to CR will be done on the Intellio C218Turbo PCI board Terminal mode instead of doing them on host This will reduce the host workload significantly If it is set...

Page 49: ...ver if On Board Line Discipline is set to Disable port feature could be either Transparent or Terminal In case of Terminal all the tty line discipline jobs will be done on host which surely is a burde...

Page 50: ...ature Terminal response option will be locked at Slow level UART FIFO You can set this feature to Enable default and gain most performance for the board Or you can set this feature to Disable to avoid...

Page 51: ...s 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 respo...

Page 52: ...wnloading MOXA C218Turbo PCI MemBank XX000 BusNo X DevNo X is found If one of the following message appears please see Chapter Troubleshooting WARNING C218Turbo PCI MemBank XX000 BusNo X DevNo X not f...

Page 53: ...eset 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 Desk...

Page 54: ...3 36 Intellio C218Turbo PCI User s Manual...

Page 55: ...y for easy programming in most popular languages useful utilities such as diagnostic monitor and terminal emulator illustrative example programs and comprehensive on line documents The serial communic...

Page 56: ...ase 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 V...

Page 57: ...4 3 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...

Page 58: ...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 yo...

Page 59: ...Manual 4 5 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...

Page 60: ...x401 To get byte count in input buffer 2 MOBUFED 0x402 To get byte count in output buffer 3 MTCRTS 0x403 To control RTS output signal 4 MTCDTR 0x404 To control DTR output signal 5 MLOWATER 0x405 To se...

Page 61: ...REAMS driver the returned count of bytes buffered only reflect the data buffered on MOXA board not including the data buffered in STREAMS queue In this case the count is for reference only For example...

Page 62: ...CO UNIX XENIX define MTCRTS 0x403 define TurnON 1 define TurnOFF 0 ioctl moxa_fd MTCRTS TurnON ioctl moxa_fd MTCRTS TurnOFF Syntax for UNIX SVR4 include sys stropts h include sys sysmacros h define MT...

Page 63: ...uffer being full The application has to wait until the output buffer has enough space again The criteria to tell if the output buffer has enough space is whether the output buffer reached its low wate...

Page 64: ...int ioc ic_dp char lowater ioctl moxa_fd I_STR ioc 6 MSTATUS This function is used to know the RS 232 line status CTS DSR DCD Syntax for SCO UNIX XENIX define MSTATUS 0x407 int status status RS 232 l...

Page 65: ...ve only after the RTS flow control bit of MHWFLOW is turned off Syntax for SCO UNIX XENIX define MHWFLOW x40e define HWFlowControlOff 0x00 define CTSFlowControlBitOn 0x01 define RTSFlowControlBitOn 0x...

Page 66: ...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 the last 5 second...

Page 67: ...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 handlin...

Page 68: ...Intellio C218Turbo PCI User s Manual 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 ZMo...

Page 69: ...S or UNIX that permits RTS control from application programs How to transmit and receive data under Windows NT and Windows 95 98 We recommend you to configure Intellio C218Turbo PCI ports as follows i...

Page 70: ...ve 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...

Page 71: ...modem Please check the precise pinouts the following pinouts are typical examples RS 232 Cable Wiring for Opt8A B C D S RS 232 8 port connection boxes octopus cable designed for Intellio C218Turbo PCI...

Page 72: ...pin assignments for various connection options Opt8A S DCE DB25 Female 2 RxD 3 TxD 4 CTS 5 RTS 6 DTR 7 GND 8 DCD 20 DSR Opt8B C DTE DB25 Male 2 TxD 3 RxD 4 RTS 5 CTS 6 DSR 7 GND 8 DCD 20 DTR Opt8D DT...

Page 73: ...ice Opt8A S Straight through Cable Opt8A S DTE Device DB25 Female DB25 Male RxD 2 2 TxD TxD 3 3 RxD CTS 4 4 RTS RTS 5 5 CTS DTR 6 6 DSR DSR 20 20 DTR GND 7 7 GND DCD 8 8 DCD PC COM2 port Serial Printe...

Page 74: ...2 2 TxD TxD 3 3 RxD CTS 8 4 RTS RTS 7 5 CTS DTR 4 6 DSR DSR 6 20 DTR GND 5 7 GND DCD 1 8 DCD Type 2 To connect Intellio C218Turbo PCI to a DCE device Modem or any DCE Device Opt8A S Null Modem Cable...

Page 75: ...ht through Cable Opt8B C DCE Device DB25 Male DB25 Female TxD 2 2 RxD RxD 3 3 TxD RTS 4 4 CTS CTS 5 5 RTS DSR 6 6 DTR DTR 20 20 DSR GND 7 7 GND DCD 8 8 DCD Modem or any DCE Device Opt8D Opt8D DCE Devi...

Page 76: ...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 Opt8A S Opt8A S DTE Device DB...

Page 77: ...ng Intellio C218Turbo PCI User s Manual 5 7 PC COM2 port Serial Printer Terminal or any DTE Device Opt8D Opt8D DTE Device DB9 Male DB25 Male RxD 2 2 TxD TxD 3 3 RxD GND 5 7 GND RTS 7 4 RTS CTS 8 5 CTS...

Page 78: ...22 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 RS 422 P...

Page 79: ...vice Opt8J F Z RS 422 Device 1 3 TxD B RxD B 3 TxD B RxD B 16 TxD A RxD A 2 RxD B TxD B 2 RxD B TxD B 16 TxD A RxD A 14 RxD A TxD A 14 RxD A TxD A 7 GND GND 7 GND GND RS 422 Device N RxD B TxD B RxD A...

Page 80: ...erved for both data transmitting and receiving depending on the RTS signal RS 485 Pinouts for Opt8J Opt8J 3 Data B 7 GND 16 Data A Multidrop RS 485 Half duplex Point to Point RS 485 Half duplex Opt8J...

Page 81: ...s problem is to establish the same impedance at the line ends as in the line itself by terminating them with resistors The value of the termination resistor should equal the characteristic impedance o...

Page 82: ...5 12 Intellio C218Turbo PCI User s Manual...

Page 83: ...case then re install the board and make sure that it fits well in a 32 bit PCI slot this time Sometimes the slot for plugging board is bad In this case please try other slots until a good one is found...

Page 84: ...98 PComm Utility Terminal emulator or HyperTerminal is good for testing COM ports Under UNIX Terminal emulator in the MOXA administration utility mxadm and stty cat or getty are existed programs for t...

Page 85: ...stall the driver again 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 Mes...

Page 86: ...ion General Troubleshooting 3 MOXA port responds too slowly or abnormal key operation The applications are not compatible with the C218 Turbo PCI On board line discipline The only way to work it aroun...

Page 87: ...boot again The kernel backup in SCO UNIX is unix moxa while in UNIX SVR4 2 stand unix moxa b Then remove the C218 Turbo PCI driver Refer to Section UNIX of Chapter Software Installation for driver rem...

Page 88: ...6 6 Intellio C218Turbo PCI User s Manual...

Page 89: ...ported RAM v Comm controller 16C550C or Compatible 8 v Speed bps 50 921 6K Maximum speed may be limited by certain connection option such as Opt8J 460 8K bps v Data bits 5 6 7 8 v Stop bits 1 1 5 2 v...

Page 90: ...slot which may be called slot sensitive or slot dependent This may also apply to PCI slots in PC of different mother board which may use different device number set For example some use 17 18 19 and 2...

Page 91: ...p hardware flow control are used to reduce the number of interrupts to the on board CPU and to prevent any loss of valuable data DB62 Connector Pinouts The following lists the pin assignments of the D...

Page 92: ...SCO UnixWare ver _ _ o XENIX o Others 5 PC Host Make _________ Model _________ 6 CPU Speed _____MHz Make ______ Model ______ 7 BIOS Make __________________ Version _______ 8 PCI IRQ Configuration in B...

Page 93: ...er product repair time v Obtain a Return Merchandise Authorization RMA number from the sales representative or dealer v Carefully pack the product in anti static package and send it pre paid to the de...

Reviews: