background image

   

3-22

  

Industio

 CI-132 Series User’s Manual

F6: INT vector:

This is to set interrupt vector for each port. You can set this
feature to  “

Yes

” (default)  and  gain best  performance  for

the board.

4.

To setup more boards, please follow the same instructions 

2

 to 

3

 described above.

5.

Press 

F10 

to save the latest configuration and exit the SETUP program.

Loading Driver

Having completed the setup, you can load the driver, 

"BIN\SER-DRV.EXE"

, at the

DOS prompt. The driver will detect the 

Industio

 CI-132 Series board automatically.

If the board(s) is(are) detected, a message similar to below will show:

API-232 Version 3.5
Universal 2/4/8 serial ports Communication Driver
Setup driver …
Device driver setup O.K.

It means the 

Industio

 CI-132 Series driver is installed properly. At this point, you are

ready  to  execute  application  that  supports  API-232  functions,  or  start  developing
applications using API-232 library.

Summary of Contents for Industio CI-132 Series

Page 1: ...anual Industrial 2 Port RS 422 RS 485 Serial Board Feb 1999 1st Edition The content of this manual is also available at Moxa Web Site Moxa Technologies Co Ltd Tel 866 2 8665 6373 Fax 886 2 8665 6372 w...

Page 2: ...otice 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 pur...

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: ...installation guide Chapter 2 Hardware Installation Hardware installation for the Industio CI 132 Series boards and connection cable Hardware configuration utility Io irq exe is detailed Chapter 3 Soft...

Page 5: ...Hardware Configuration 2 5 Software Installation 3 1 Windows NT 3 1 Installing Driver 3 2 Configuring Board and Port 3 7 Updating Driver 3 9 Removing Driver 3 9 Windows 95 98 3 10 Installing Driver 3...

Page 6: ...nection Cable and Cable Wiring 5 1 RS 422 Cable Wiring 5 1 RS 485 Cable Wiring 5 3 Impedance Matching and Termination Resistors 5 4 Troubleshooting 6 1 General Troubleshooting 6 1 Windows NT 6 4 Windo...

Page 7: ...nvironment Connections with point to point full duplex or multidrop half duplex are available to meet user s needs Automatic Data Direction Control for RS 485 With a well designed and fine tuned devic...

Page 8: ...e the family is so flexible in hardware configuration it is compatible virtually with all kinds of other manufacturer s non intelligent multiport boards using 16550 UART CAP Address Instead of using t...

Page 9: ...ws 95 98 and DOS device drivers and appendix for compatible OS are included For those compatible systems not mentioned please refer to system s manual for how to install and configure the standard dri...

Page 10: ...tch for RS 422 RS 485 selection v 2 wire RS 485 operation v Switch for RS 485 data control Automatic Data Direction Control Mode or By RTS Mode v Jumper for Termination Resistors selection no more hea...

Page 11: ...er each supported operating system The installation is simple and involves the following stages Configure CI 132 Series with Io irq exe See chapter 2 Install the CI 132 Series board Install the softwa...

Page 12: ...1 6 Industio CI 132 Series User s Manual...

Page 13: ...factory settings I O address 0x180 Port 1 0x188 Port 2 IRQ 10 INT Vector 0x1C0 CAP Jumper JP1 Open Interface Switch SW2 Port 1 ON RS 485 Port 2 ON RS 485 Data Mode Switch SW1 Port 1 ON Automatic Data...

Page 14: ...short and I O address 0xA700 must be free First Thing to Do Interface Settings Before installing the board into the slot you should set all the jumpers and switches to what you want CAP Jumper JP1 Ope...

Page 15: ...peed Spectrum and detailed in section Hardware Installation with IO IRQ Utility How to Do Quick Hardware Installation 1 Short the jumper JP1 on the upper left corner of the board 2 Plug the board in P...

Page 16: ...eeding to the software driver installation detailed in the next chapter Software Installation do hardware configuration to setup the I O and IRQ with Io irq exe detailed in the next section Remember t...

Page 17: ...uration for more details Or follow the on line help to configure the Industio CI 132 Series board After completing the hardware configuration the board is ready for use under operating systems such as...

Page 18: ...2 6 Industio CI 132 Series User s Manual 2 Select Smartio Industio ISA Family and press ENTER key...

Page 19: ...port I O address Enter the base I O address for each port either sequentially or not Avoid to conflicting with any other devices IRQ Enter the IRQ 2 3 4 5 7 10 11 12 or 15 for each port independently...

Page 20: ...speed For example the displayed speed 38 4 Kbps is equal to the working speed 38 4 Kbps However if the port is driven by NON Moxa provided driver such as standard serial driver or Moxa drivers other t...

Page 21: ...all ports I O address for interrupt vector is from 00000H to 0FFFFH Interrupt vector is one byte of I O address in which each bit is used to indicate the occurrence of interrupt for corresponding por...

Page 22: ...2 10 Industio CI 132 Series User s Manual...

Page 23: ...g Tools for programming issues Windows 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 b...

Page 24: ...Note Make sure the board has already been plugged in the system slot if you are doing quick installation 1 Please log in NT as Administrator 2 Open the Control Panel click on the Network icon and sel...

Page 25: ...l dialog box to start the installation 6 In the MOXA Configuration Panel dialog box click Add to enter Property dialog box to add the Industio CI 132 Series board Select the CI 132 Series in the Board...

Page 26: ...the board and conflict with no other devices Note You may go directly to the step 8 if you need not change any setting 7 In the Property dialog box select the desired port in the port list and click P...

Page 27: ...cond port is mapped to COM4 sequentially If Auto Enumerating COM Number is not checked specify the COM number for individual port For instance the second port can be out of sequence say COM10 while th...

Page 28: ...m restarts 11 Once the system restarts you may check the event log issued by the MOXA driver to see if the ports of the board are initialized successfully l Enter the Administrative group click on the...

Page 29: ...ny ready made applications such as PComm utility Terminal emulator See Serial Programming Tools chapter or HyperTerminal to transmit receive data as well as Remote Access Service to provide dial up ne...

Page 30: ...Interrupt No and Base I O Port Address 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 l Click Add to...

Page 31: ...reinstall it as detailed in section Installing Driver Removing Driver To remove the driver for the Industio CI 132 Series board 1 Open the Control Panel click on the Network icon and select the Adapte...

Page 32: ...oard and port add more boards or delete boards please refer to the section Configuring Board and Port l To upgrade or remove driver please go to the sections Updating Driver and Removing Driver Instal...

Page 33: ...Series board Select the CI 132 Series in the Board Type field If necessary type the desired interrupt vector address in the INT Vector field and the desired I O port address in the Base I O Port Addre...

Page 34: ...nflict 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 If...

Page 35: ...16 bytes are available and the default value is 16 bytes 7 Click OK in the Port and the Property dialog boxes to go back to the MOXA Configuration Panel dialog box Note If you need to install more th...

Page 36: ...ools chapter or the Microsoft Win32 API You can also execute any ready made applications such as PComm utility Terminal emulator See Serial Programming Tools chapter or HyperTerminal to transmit recei...

Page 37: ...board that is not yet configured in the system Please see steps 5 to 7 in the previous section Installing Driver for more details l Click Remove to remove the board currently selected from the configu...

Page 38: ...User s Manual Removing Driver Open Control Panel icon and then Add Remove Programs icon and then select Install Uninstall tab Then select and open the MOXA Smartio Industio Driver option and then ent...

Page 39: ...to install the package how to setup up the driver and how to load or unload driver For details of the serial programming API 232 Library and utilities please refer to the next chapter Serial Programm...

Page 40: ...are steps for setting up the Industio CI 132 Series driver Note that it is not intended to illustrate all the convenient functions of the setup programs when configuring the boards Please refer to th...

Page 41: ...io CI 132 Series User s Manual 3 19 2 Press Enter to pop up the SETUP dialog box In the SETUP dialog box Press F8 to specify the CAP Address and press ENTER and then type Y YES to load the configurati...

Page 42: ...132 Series board will be shown along with other default settings such as port number buffer size etc Note Up to now you have completed the setup for Industio CI 132 Series board You may skip this step...

Page 43: ...ial port is referred to as port number in terms of serial programming You may map the port number range to the one you prefer between 0 and 255 as long as no port number overlapping condition or port...

Page 44: ...g Driver Having completed the setup you can load the driver BIN SER DRV EXE at the DOS prompt The driver will detect the Industio CI 132 Series board automatically If the board s is are detected a mes...

Page 45: ...show a message like API 232 Version 3 5 Universal 2 4 8 serial ports Communication Driver Setup driver None serial port found It means the Industio CI 132 Series driver is not installed properly Pleas...

Page 46: ...3 24 Industio CI 132 Series User s Manual...

Page 47: ...ibrary 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 com...

Page 48: ...r a complete library function description and sample programs for Visual C Visual Basic and Delphi please check the help file and the sample programs in the PComm directory Utilities Following are sho...

Page 49: ...ring program that 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 time intervals Y...

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

Page 51: ...ded and placed in the sub directory EXAMPLE language of the API 232 directory In addition for DOS C language only there are also Modem Control and File Transfer library available supporting Hayes comp...

Page 52: ...o disk storage for later analysis 2 The TTY terminal emulation utility allows user to view the signal status and transfer data interactively or files using ASCII XMODEM YMODEM ZMODEM and KERMIT protoc...

Page 53: ...ols Industio CI 132 Series User s Manual 4 7 Diagnose The Diagnose BIN DIAGNOSE EXE is a utility that can help users to diagnose the hardware condition of each port of the selected board See on line h...

Page 54: ...Under this mode no extra code is required to control the data transferring data transmitting and receiving which is automatically managed with the intelligent hardware mechanism That is RS 485 program...

Page 55: ...e function blocks until last character transmitted sio_RTS port 0 Turn off RTS signal The RS 485 port is ready for receiving data sio_read port buff 10 Read 10 bytes Solution 2 There is a dedicated RS...

Page 56: ...4 10 Industio CI 132 Series User s Manual...

Page 57: ...ion Equipment like modems RS 422 Cable Wiring The RS 422 standard uses a balanced voltage digital interface to allow communications of 10M bps on cable length of 4000 feet Ten receivers can be connect...

Page 58: ...RxD B 2 TxD B RxD B 1 TxD A RxD A 3 RxD B TxD B 3 RxD B TxD B 1 TxD A RxD A 4 RxD A TxD A 4 RxD A TxD A 5 GND GND 5 GND GND RS 422 Device N RxD B TxD B RxD A TxD A GND CI 132 with Handshaking CI 132 R...

Page 59: ...drop system The CI 132 Series supports only 2 wire half duplex RS 485 communication Data pins are served for both data transmitting and receiving depending on the RTS signal RS 485 pin outs for CI 132...

Page 60: ...ne itself by terminating them with resistors Industio CI 132 already installs the resistors on board for your convenience indicated as follows The value of the termination resistor should equal the ch...

Page 61: ...plugged in the system If that is the case re install the board and make sure that it fits well in a 32 bit slot this time Sometimes the slot for plugging the board is bad In this case try other slots...

Page 62: ...r how to solve this problem b The CAP of the board conflicts with other add on boards I O address Please change other add on boards I O address to avoid the conflict c The Industio CI 132 board is not...

Page 63: ...per JP1 Install Step 3 Power on the PC Now the CAP address of the board will be 0xA700 ON Step 4 Execute Io irq under DOS environment A Io irq Step 5 Enter CAP address 0xA700 to access the board Enter...

Page 64: ...conflict with other adapter s IRQ Check the BIOS IRQ settings first Make sure that an IRQ is available 2 After the system reboots the error message Cannot find any configured MOXA Smartio Industio Ser...

Page 65: ...ems and solutions please see the previous section General Troubleshooting 1 The system fails to find the Industio CI 132 Series board After system reboot error message CI 132 Series CAP 0x0180 port 1...

Page 66: ...ons please see previous Section General Troubleshooting 1 After executing SER DRV EXE error message None serial port found appears a Make sure you re using the right driver b Check if the board is pro...

Page 67: ...50 921 6K v Data bits 5 6 7 8 v Stop bits 1 1 5 2 v Parity none even odd space mark v Data signals RS 422 TxD RxD RTS CTS GND RS 485 Data GND v Connectors 2 DB9 male DTE v Opto isolation max 2000V CI...

Page 68: ...neously transfers data at 921 6 Kbps To increase the overall data throughput special features such as on chip FIFO and on chip hardware flow control are used to reduce the number of interrupts to the...

Page 69: ...Color graphics display 3F0 3F7 Diskette controller 3F8 3FF Serial port 1 COM 1 Installing CI 132 Series under Compatible Systems SCO UNIX XENIX Because the SCO UNIX OpenServer XENIX has bundled a 2 p...

Page 70: ...T as the interrupt vector and those are not compatible with MOXA For example if the CI 132 is configured as COM1 one possible configuration would be IRQ 4 i e COM1 I O base address 0x280 Arnet compati...

Page 71: ...ocol o RS 422 o RS 485 3 4 RS 485 Mode o Automatic Data Direction Control Mode o By RTS 4 Operating System o Windows 95 o Windows 98 o Windows NT 3 51 o Windows NT 4 0 o DOS o Others 5 PC Host Make __...

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

Reviews: