Home
C114HI User`s Manual
Contents
1. In this chapter software driver installation configuration upgrade removal procedure are described If it is necessary for you to develop your own applications we strongly recommend the easy but powerful PComm serial comm tool which includes library for easy programming and useful utilities for diagnostic and monitor Finally Windows NT specific troubleshooting is included Driver Installation The following is the procedure for installing the C114HI device driver under Windows NT 4 0 or NT 3 51 1 2 Login NT as Administrator Enter Control Panel group then select Network icon and then Adapters folder Enter Control Panel folder then select Network icon for NT 3 51 Click Add button then Have Disk button for Select Network Adapter Click Add Adapter button then lt Other gt Requires disk from manufacturer item for Network Adapter Card for NT 3 51 Specify the exact path for the driver diskette e g ANWINDOWS NT Click Continue OK Select MOXA Smartio Industio Family multiport board in Select OEM Option dialog Click OK to start installation When Moxa Configuration Panel is popped up to configure the board s and ports please refer to the Section Board and Port Configuration for more details Industio C114HI User s Manual 4 1 7 Select OK for Network Settings dialog
2. 2 3 C114HI Board ss nra ree ei OI REQUE era Da eh e ue 2 5 Software nnmnnn nnmnnn 3 1 Windows NT 95 98 DOS Windows 3 1 UII 04040 Fn nen 3 1 3 3 For Windows NT 2 2 2 2 11 4 1 Driver Installationen trout doo steed FADE EAE EXER deel sated 4 1 Board and Port Configuration 4 2 Board Initialization Status Checking eere teet ens 4 3 Updating Removing oret ee RI Fade epe Eo ERN Eee rid eR REDE RE 4 4 Baud Rate Semis nt oae De edit etia tato 4 4 MOXA Serial Comm Tool P COMM int pao e Ree POL oben 4 4 HTTP 4 4 For Windows 95 98 2 0022 1 5 1 Driver Installation dtr epe ees cp 5 1 Board and Port Configuration tern ete eco Rene Pene se ERE enda 5 3 Board Initialization Status 5 3 Updating Removing t 5 4 Updating eet ae eer edente itu Dato ee reete ese 5 4 Removing rs 5 4 Rate Sells te Dee per Et dites 5
3. e ele e ele o ele e ele e ele 4294 e ele e Tx RTS ON Tx REG Tx AUTO Rx RTS OFF Rx REG Rx AUTO Please also refer to Chapter 9 for RS 485 programming and Appendix A for RS 485 cable wiring C114HI Board Installation To install C114HI please follow the steps below Step 1 Step 2 Step 3 Step 4 Choose a PC installed with DOS system or prepare a MS DOS boot disk for your PC Power off PC Set the interface type to RS 232 RS 422 or RS 485 for each port with the jumpers on board Install the C114HI board into a 16 bit slot The C114HI has the following default factory settings address 0 180 15 port 0x188 2nd port IRQ 0x190 3rd port 0x198 4th port 10 shared by four ports Interrupt vector 0x1C0 Configuration Access Port CAP 0 180 Industio C114HI User s Manual 2 5 2 6 If you are going to install multiple C114HI boards configure one board at a time to prevent hardware conflict Make sure no existing devices have the same I O address as the CAP address e g 0x180 If so try to avoid the conflict by doing either one of the following a or b a Short the jumper at position JP1 on the upper left corner of C114HI This will force the CAP address to 0xA700 b Change or disable the existing board s I O address For safety and to prevent C114HI from damage please do not attempt
4. 9 1 Appendix A Pinouts and Cable Wiring 1 1 T A 4 pig A 5 Impedance Matching and Termination Resistors A 6 of DB 37 Connector Rn ep eee RI Re NES ek reme ieee A 8 Appendix B High Speed Operations B 1 Appendix C 4 2 2 C 1 Appendix D 1 0 Port Address D 1 1 Introduction The Smart 3 in 1 Multiport Async Solutions C114HI is RS 232 RS 422 RS 485 4 port serial communication interface board Each port can be configured to RS 232 RS 422 or RS 485 individually It is designed for the system manufacturers integrators or VARs that want to provide all high performance reliability and quality multiple port data communication system The C114HI provides a low cost high performance solution for connecting up to 4 devices such as terminals modems and printers to PC based host computer It belongs to the C104 family and features high speed and isolation protection The C114HI is so flexible in configuration that they are compatible with virtually all kinds of other manufac
5. message dialog 3 Click on Finish button in the Complete message dialog to enter the configuration panel 4 The MOXA Configuration Panel dialog will pop up for you to configure the board and ports 5 In the MOXA Configuration Panel dialog box click Add to enter Property dialog box to add the Industio C114HI Series board Select the C114HI Series in the Board Type field If necessary type the desired interrupt vector address in the INT Vector field Select the desired interrupt number in the Interrupt No field Type the desired base I O address the Base I O Port Address field the settings should match settings that are physically set on the board and conflict with no other devices Go directly to step 7 if you need not change any setting Industio C114HI User s Manual 5 1 5 2 In the dialog box select the desired port in port list and click Port Setting to enter the individual setting dialog box to change the port number mappings or FIFO settings Port Number You have to set up all the ports of the board with the desired 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 If Auto Enumerating COM Number is
6. 8 2 Industio C114HI User s Manual For Windows 3 x Users Utility The utility TTY in the program group MOXA Standard COMM Driver is intended to help users monitor and debug RS 232 communications under Windows 3 x which can manipulate ports from COMI to COMO It is just a simplest example program which can send and receive data after each port opened with selected communication parameters Multiple windows for ports simultaneously are available for a demonstration of multitasking feature of Windows 3 x The Windows provided application Terminal can only make use of COMI to which is obviously a restriction Windows 3 x COMM API Programming Windows compatible COMM Driver supports Microsoft Windows COMM such as OpenComm ReadComm WriteComm etc It supports any language conforming to the Windows COMM API like Microsoft C Borland C Visual C Visual Basic Delphi etc Sample programs for only Microsoft C Borland C and Visual Basic are supported For other languages sample programs please refer to the language provided communication example programs Existing Applications Many Windows software packages such as pcANYWHERE LabView FIX WinFax Pro Fax Server PROCOMM PLUS LapLink etc can access MOXA C114HI COM ports directly since these applications follow the Microsoft Windows COMM API Industio C114HI User s Manual 8 3 8 4 Industio C114HI User s Manual 9 RS 232 422 485 Progr
7. The user forgot or does not know the Configuration Access Port CAP of the board Refer to the next question and answer The CAP of the board conflicts with other add on board s I O address Please change one of them The board 15 not plugged in a right or good slot Please plug the board in a good 16 bit ISA slot The board may malfunction Please return for repair 4 What to do if user forget or does not know the Configuration Access Port of the board Steps to recall CAP Power off the PC Install jumper cap onto the JP1 of the board Power on the PC Now the CAP address of the board is forced to 0xA700 Execute IO IRQ under DOS Enter CAP address 0xA700 to access the board and configure it Keep in mind the CAP Exit IO IRQ and power off PC Industio C114HI Series User s Manual 1 Remove jumper on the position 1 1 Power on PC C 2 Industio C114HI User s Manual Appendix D 1 0 Port Address Map VE The following is the list of the I O port address commonly used which is for preventing I O address conflict when configuring C114HI IO Address Device 000 01F DMA controller 1 020 03 interrupt controller 040 05 Timer 060 06F Keyboard 1070 07 Real time clock 1080 09 page register 0 0 Interrupt
8. The following lists pinouts of the RS 232 port C114HI DB 25 Male Connector 1 TxD RxD RTS CTS DSR GND DCD DTR Industio C114HI User s Manual A 1 2 C114HI DB 9 Male Connector GND DTR TxD RxD DCD RS 232 cable wiring is as follows DCD RxD TxD DTR GND DSR RTS CTS RI 1 To connect C114HI to DTE C114HI DTE DB 9 Male DB 25 Male 3 TxD 3 RxD 2 RxD 2 TxD 7 RIS 5 CTS 8 CTS 4 RTS 6 DSR 20 DTR 4 DTR 6 DSR 5 GND 7 GND 1 DCD 8 DCD Industio C114HI User s Manual C114HI Pin head Connector 1 DCD 2 RxD 3 TxD 4 DTR 5 GND 6 DSR 7 RTS 8 CTS 9 RI 10 NC NC 10 9 CTS 8 1 0 6 5 DTR 2 RxD 2 C114HI DTE DB 9 Male DB 9 Male TxD 2 RxD 2 RxD 3 TxD 7 RTS 8 CTS 8 CTS 7 RTS 6 DSR 4 DTR 4 DTR 6 DSR 5 GND 5 GND 1 DCD 1 DCD RI RTS GND TxD DCD Pinouts and Cable Wiring 2 connect C114HI to DCE C114HI DB 9 Male DB 25 Female TxD RxD RTS CTS DSR GND DTR DCD RU O AN DCE 2 RxD 3 TxD 4 CTS 5 RTS 6 DTR 7 GND 20 DSR 8 DCD 3 connect C114HI to a DTE with 3 pin wiring If Hardware flow control feature is set to ON user must loop back or short the RTS with CTS and DSR with DTR DCD on MOXA site C114HI DTE DB 9 Male DB 25 Male 3 IxD 3 RxD 2 RxD 2 TxD 5 GND 7 GND 7 RTS 8 CTS
9. 4 MOXA Serial Comm Tool 5 4 Troubleshooting eee 5 5 dcelm 6 1 Iristallatlori eL E 6 1 Programming ou tte iid ed 6 1 BI PET 6 2 For DOS 5 7 1 Driver Installation Setup Loading and 7 1 Serial Port Naming 7 4 Baud autour es 7 4 DOS API 232 Library and Programming 7 4 5 E 7 5 For Windows USCIS 8 1 WAST all ON aoe i edo seio oU 8 1 TIL 8 1 Driver Hemoval ete eerte tee teed sabes 8 2 Baud Rate Settings RP 8 2 e 8 3 Windows 3 x COMM API Programming 8 3 Existing APpliGatlons izei qi n dena aE 8 3 RS 232 422 485 9 1 RS 232 Programming iere CORR Vei vam ive 9 1 RS 422 Programing pet 9 1 RS 485 Programrmnihig
10. 6 DSR 4 DTR 1 DCD C114HI DTE DB 9 Male DB 9 Male 3 TxD 2 RxD 2 RxD 3 TxD 5 GND 5 GND 7 5 8 5 6 DSR 4 DTR 1 DCD If Hardware flow control feature is set to OFF users could just leave RTS CTS DSR DTR DCD open C114HI DB 9 Male 3 TxD 2 RxD 5 GND 7 RTS 8 CTS 6 DSR 4 DTR 1 DCD DTE DB 25 Male 3 2 7 RxD TxD GND C114HI DTE DB 9 Male DB 9 Male 3 TxD 2 RxD 2 RxD 3 TxD 5 GND 5 GND 7 RTS 8 CTS 6 DSR 4 DTR 1 DCD Industio C114HI User s Manual A 3 5 422 4 The following lists pinouts of the RS 422 port C114HI DB 25 Female Connector 13 14 15 19 C114HI DB 9 Male Connector TxD B RxD B CTS B RTS B GND RTS A RxD A TxD A CTS A GND RxD A TxD4 B RxD4 B TxD A Industio C114HI User s Manual TxD A RxD B TxD B RxD A GND RTS A RTS B CTS B CTS A CTS A CTS RTS4 B RTS A C114HI Pin head Connector CTS A CTS4 B RTS RTS A TxD A RTS A RxD B RTS B TxD B CTS B RxD A CTS A GND NC o GND RxD A TxD4 B TxD A Pinouts and Cable Wiring RS 422 cable wiring is as follows C114HI site Remote site 1 TxD A RxD A 2 RxD B 3 T
11. JP1 jumper cap is installed the CAP address will be forced to 0xA700 To save time please determine in which operating system e g Windows or OS 2 or SCO UNIX the C114HI board will be used In order to ease the configuration the commonly used I O address and IRQ combinations supported by most popular OSs have been collected in the IO IRQ utility Press F3 Select OS Compatibility on 3rd level menu to bring the suggested list and choose a proper one You can however enter the I O and IRQ manually if none of the items is suitable For example if the C114HI board is to be installed under SCO UNIX system as the primary first four port board using SCO UNIX system serial driver here is one of the possible settings a Press F3 Select OS Compatibility on 3rd level menu b Then choose the entry of SCO UNIX 1 Arnet Compatible which will designate the C114HI s I O base address to 0x280 IRQ to 4 and interrupt vector to 0x2C2 Be careful not to conflict the I O address and IRQ of the C114HI board with the existing board s Industio C114HI User s Manual 2 1 m N siu ILY 9191 1 L 1 L 1 L 1 L 1 L 1 L 1 L 1 94 49 L 1 z L 1 L 1 0 691 ES NO NO C N jejeje p 5 OLny Li 23u ojo
12. OS2 Chapter 4 For Windows NT Users Software installation configuration driver loading unloading driver update and removal for Windows NT system Chapter 5 For Windows 95 98 Users Software installation configuration driver loading unloading driver update and removal for Windows 95 98 Windows Chapter 6 PComm Roughly describing the programming tools P Comm for Windows NT 95 98 Chapter 7 For DOS Users Software installation configuration driver loading unloading driver update and removal for DOS 8 For Windows Users Software installation configuration driver loading unloading driver update and removal configuration driver loading unloading driver update and removal for Windows 3 x Chapter 9 RS 232 422 485 Programming Roughly describing the RS 232 422 485 Programming Appendix Pinouts and cable wiring High Speed Operations Troubleshooting and I O port Address Map Table Of Contents 9 1 1 6 tial ita pd 1 2 M ME 1 2 ur quc Pr 1 3 ach cesar EP Da Ea pe ra Sep heard ra 1 3 Hardware Installation and 2 1 IO IRQ Configuration Utility iet enne ree e emer 2 1 Jumper Settings for Interface
13. Restart system as prompted Board and Port Configuration 4 2 The following is the procedure for configuring the C114HI driver under Windows NT 4 0 or NT 3 51 1 Enter Control Panel group then select Network icon and then Adapters folder Enter Control Panel folder then select Network icon for NT 3 51 2 Select Smartio Industio Family multiport board item for Network Adapters then Properties button to start the Moxa Configuration Panel dialog When the configuration panel is popped up Click Add button to add a board Click Remove button to remove a board Click Property button to set up a board with correct Board Type IRQ INT vector I O address COM Number FIFO Trigger and FIFO Size where the possible parameters are as follows Board Type C114HI Series IRQ No 2 3 4 5 7 10 11 12 15 INT Vector I O address for interrupt vector from 00000H to OFFFFH To use INT vector type in the hardware INT vector I O address If not using INT vector do not check INT Vector There are two modes for the C114HI driver One is using INT vector the other is not using INT vector INT vector is one byte of I O address in which each bit is used to indicate the occurrence of interrupt for corresponding port Driver employing INT vector scheme is supposed to have better performance than employing polling scheme Industio C114HI User s Manual For Windows
14. board settings of the software configuration via clicking on Start button then Programs menu then MOXA Utilities menu and then Moxa Configuration Panel icon for each board installed then shut down the system and run Io irq exe to check the board settings of the hardware configuration Make sure both are same The board might be defective Industio C114HI User s Manual 5 5 5 6 Industio C114HI User s Manual 6 PComm MEME E MM EE MM PComm the professional serial comm tool for is software package under Windows NT 95 98 which consists of powerful serial communication library for easy programming in most popular languages useful utilities such as diagnostic and monitor illustrative example programs and comprehensive on line documents The serial communication library is especially for users who develop a system for data communication remote access data acquisition or industrial control in the Windows NT 95 98 environment which offers an easier solution compared with the more complex Windows Win32 COMM API Installation To install P Comm please run Setup exe in the diskette Note that the MOXA Windows NT 95 98 device driver is required as using PComm diagnostic and monitor utilities Programming Library The serial communication library is to assist users to develop programs for serial communications for any COM port complying with Microsoft W
15. to install or remove the jumper cap of 7 1 until the power of PC is off Step 5 gt Power on the PC and enter DOS system Step 6 gt Execute IO IRQ EXE included in the DOS Windows 3 x software driver diskette and follow the on line help to configure the C114HI Step 7 Proceed software installation described in Chapter 3 After completing both the hardware and software configurations the board is ready for use Remember to connect the DB 37 to 4 9 cable Industio C114HI User s Manual 3 Software Installation C114HI boards are compatible with various operating systems such as 5 UNIX XENIX OS 2 QNX PICK OS MUMPS Linux and IMS Multiuser DOS Please refer to the relative operating system s manual for how to configure the board The C114HI boards support Windows NT Windows 95 98 DOS and Windows 3 x device drivers The compatible SCO UNIX XENIX and OS 2 drivers are also described in this Chapter Windows NT 95 98 DOS Windows 3 x Please refer to Chapter For Windows NT Users or For Windows 95 98 Users For DOS Users or For Windows 3 x Users for more details SCO UNIX XENIX Because the SCO UNIX XENIX has bundled a 4 port board driver additional driver is not necessary The following description is based on the SCOUNIX XENIX driver Under SCO UNIX XENIX if the C114HI is used as the first 4 port board one possible configuration would be IRQ 4 i e COMI I O base address 0
16. 4HI User s Manual 7 The C114HI is useful for office automation and industrial control as well as data acquisition and communication Because many users need to implement an industrial control system or data acquisition system in the DOS environment but DOS did not have any better communication API thus Moxa has developed device drivers and library functions under DOS Furthermore Data Scope utility is very helpful for troubleshooting and debugging the serial communications In this chapter driver installation setup loading and removal procedure are described Utility Data Scope is explained which is good for terminal emulation data scope and diagnostics Related issues such as device naming and programming are also stated Moxa device driver is a port based one and supports maximum of 8 serial ports Settings of each port can be set independently Driver Installation Setup Loading and Unloading MOXA provides a software package that assists users to develop and or debug programs for serial communications under DOS Driver Installation Run the installation program DOSINST EXE in the DOS Windows 3 x software diskette Specify the target directory e g where software driver and library will be copied to Press F2 to start the installa
17. 4HI User s Manual 7 5 7 6 Industio C114HI User s Manual Installation 8 For Windows 3 x Users In this chapter driver installation and configuration procedure are described Utility TTY is explained which is good for terminal emulation Related issues such as driver removal baud rate settings programming and existing applications are also stated To install run WININST EXE in the DOS Windows 3 x driver diskette click OK in the Driver Installation dialog box to install the driver When installation completed the program group MOXA Standard COMM Driver and Board Configuration dialog boxes appear If the default settings are what you desired click Save to save the configuration and exit Configuration The configuration program Configuration in the Standard COMM Driver program group has the easiest way to configure the 4 ports of C114HI Either from COMI to from 2 to COMS from COMG to COM6 from to COM7 from COMS to or from COM6 to COMO depending user s need Normally COMI is used by mouse and to fully use the 4 MOXA ports thus COMG to COM6 is recommended In this case the original COMI and COM2 on PC will be still available For example if 4 ports are configured and starting from COMG t
18. C114HI User s Manual Industrial 3 in 1 RS 232 422 485 Serial Board Fourth Edition June 2008 www moxa com product MOXA 2008 Moxa Inc all rights reserved Reproduction without permission is prohibited C114HI User s Manual Technical Reference C114HI 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 rights reserved Reproduction without permission is prohibited Trademarks MOXA is a registered trademark of Moxa Inc other trademarks or registered marks in this manual belong to their respective manufacturers Disclaimer Information in this document is subject to change without 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 its particular purpose Moxa reserves the right to make improvements and or changes to this manual or to the products and or the programs described in this manual at any time Information provided in this manual is intended to be accurate and reliable However Moxa assumes no responsibility for its use or for any infringements on the rights of third parties that may result from its use This product might include unintentional technical or typographical errors Changes are periodically
19. Hz Make Model 7 BIOS Make Version 8 Problem Description Please describes the problem as clearly as possible including the error message you see We may have to follow your description to reproduce the problem Board not found Board found but can t transfer data Can transfer data but lose data Can transfer data but with garbled data Others Detailed error message description is recommended RETURN PROCEDURE For product repair exchange or refund the customer must v Provide evidence of original purchase v Obtain a Product Return Agreement PRA from the sales representative or dealer v Fill out the Problem Report Form as detailed as possible for shorter product repair time v Carefully pack the product in anti static package and send it pre paid to the dealer The PRA should show on the outside of the package and include a description of the problem along with the return address and telephone number of a technical contact
20. Port There are many combinations of configuration for RS 485 To control the enable disable mode of the transmitter and receiver there are 3 options RTS ON REG and AUTO for the transmitter jumpers for Tx and 3 options RTS OFF REG and AUTO for the receiver jumpers for Rx Please decide which you need and put the jumpers in positions as depicted Full Duplex Operation Mode Tx RTS ON Rx RTS OFF 2 4 Industio C114HI User s Manual RTS ON REG AUTO ON RTS OFF REG AUTO ON e RTS ON 9 nc e AUTO e e e e ON e RIS OFF 9 9 6 REG AUTO e e ON eo Rx REG Hardware Installation and Half Duplex Operation Mode RTS ON e RTS ON e RTS ON e e e e REG e ej 9 REG eeje e nc 9 e e AUTO 9 e e AUTO eje e AUTO e e e e ej ON e e e e e ON e ejo e e ON e ej RTS OFF e o o RTS OFF e ojo RTS OFF e REG e e ntc e ojo REG e o o e e AUTO e e e AUTO e ejo e e AUTO e ON e e e e ON e e e
21. Speed Spectrum with displayed speed 38 4 Kbps will actually work at 307 2 Kbps 38 4 Kbps 8 MOXA Serial Comm Tool PComm PComm is a software package consisting of MOXA serial communication library and utilities for diagnostic and monitor as well as example programs under Windows NT 95 98 Please see Chapter P Comm for details Troubleshooting The error messages and solutions are stated as clearly as possible If all the possible solutions fail the board or connection box might be defective Please check the board or connection box ONE AT A TIME and find out the defective one 4 4 Industio C114HI User s Manual For Windows Users 1 Cannot find any configured MOXA C114HI board To avoid this please double check the board settings from the driver configuration for each board installed then shut down the system before checking the following items Plug in the board s properly Inspect carefully on the settings of I O address for each board installed Sometimes slot for plugging board is malfunctioned In this case please try other slots until good one is found The board might be defective For quick installation users make sure the jumper 1 1 is always short and the additional I O address 0xA700 is not occupied by other devices If some other device use 0xA700 at the same time I O address conflict occurs For example a partially decoded device is using I O address 0x300 This will cause conflict w
22. Users Port Number You have to set up all the ports of the board with the desired 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 Enumerating COM Number If Auto Enumerating COM Number is checked and specify the COM number of the first port subsequent ports are mapped to continuous COM numbers For instance if first port is mapped to then second port is mapped to 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 the first port is mapped to COM3 Rx FIFO Trigger Rx FIFO trigger levels at 1 4 8 or 14 bytes are available and the default value is 14 bytes Tx FIFO Size Tx FIFO sizes from 1 to 16 bytes are available and the default value is 16 bytes At most 4 boards of C114HI can be installed together as long as the IRQ and I O address resources are sufficient and available in a system 3 Unless the system restarted the latest configuration will not take effect Board Initialization Status Checking There are two alternative ways to find out if ports of the board are initialized successfully 1 Enter Control Panel group and then Ports icon to check the port list and see if all configured ports
23. amming MEE MM MM EE EM EM The C114HI could be used for RS 232 RS 422 or RS 485 communications It comes with high level RS 232 Application Programming Library API 232 and PComm Lite for serial communication control under DOS Windows 3 x Windows NT and Windows 95 98 With proper jumper settings and cable wiring users can program as follows RS 232 Programming Please refer to the API 232 User s Manual or the documentation file API 232 TXT in the DOS Windows 3 x driver diskette or PComm hlp in the PComm Lite software diskette RS 422 Programming When RS 422 is needed there is no difference from RS 232 in programming except that the jumper settings must be Tx ON and Rx ON RS 485 Programming The C114HI has four independent ports and each port has one receiver and one transmitter Both of the transmitter and receiver can be either enabled or disabled in order to achieve not only point to point communication but also the multidrop communication Depending on the jumper settings described in the section Jumper settings for Interface of Chapter 2 there are three ways for controlling transmitter and receiver of the port Industio C114HI User s Manual 9 1 9 2 1 RTS ON OFF When the RTS signal is true the transmitter is enabled and the receiver is disabled Otherwise the transmitter is in the high impedance status and can not transmit any signal A statement of as following will set RTS signal true and turn o
24. are already added in the system correctly If no configured port shown in the port list refer to Section Troubleshooting for solutions 2 Enter Administrative group then Event Viewer icon and then System Event Log to check for message like MOXA C114HI with first serial port has been enabled for each configured board If error message like Cannot find any configured MOXA C114HI board appears refer to Section Troubleshooting for solutions Industio C114HI User s Manual 4 3 Updating Removing Driver To upgrade driver remove the installed driver first and install the new one To remove driver 1 Enter Control Panel group then select Network icon and then Adapters folder Enter Control Panel folder then select Network icon for NT 3 51 2 Select MOXA Smartio Industio Family Adapter in the adapter list then click on the Remove button to start removing the MOXA board Baud Rate Settings When the board is configured as High Speed Spectrum any port driven by the Moxa provided driver will display the exact working 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 the real working speed is equal to 8 times of the displayed speed For example a port if set to Normal Speed Spectrum with 38 4 Kbps will work at 38 4 Kbps for sure while a port if set to High
25. by the default device driver accompanying with OS 2 or by the COM SYS device driver provided by Device Driver Source Kit for OS 2 COM SYS Default Device Driver The default device driver can only apply to standard COMI and ports It 15 active when the system is booted up Please configure the first and second ports of the CII4HI as COMI 3F8H 4 and COM2 2F8H IRQ3 respectively Interrupt vector is not used Remember to disable the 1 2 on the host if exist COM SYS Device Driver from Device Driver Source Kit for OS 2 The COM SYS device driver can support up to 4 COM ports with user defined I O port addresses and interrupt levels To enable it a line describing C114HI s configuration same as configured in IO IRQ program should be added to file CACONFIG SYS and then reboot the system again Syntax DEVICE PATH COM SYS COM PORTG IRQ BADINT FIFO Where PATH the path of the device driver COM SYS the com port number 1 4 PORTO the port s base I O address the IRQ level to use for port no sharing BADINT what to do for bad interrupti ignore d disable port p post to application FIFO if this is a FIFO port or not t or f Example DEVICE C COM SYS 1 3F8 4 d t 2 2F8 3 d t 3 2C0 5 d t 4 2C8 7 d t Industio C114HI User s Manual 3 3 3 4 Industio C114HI User s Manual 4 For Windows NT Users
26. ce The value of termination is determined by cable Please refer to your cable supplier for more information regarding the characteristic impedance for your cable It is normally sufficient when the value of the termination resistor equals the characteristic impedance of the transmission line The resistors should be added near the receiving side See below RS 422 example 6 Industio C114HI User s Manual Pinouts and Cable Wiring C114HI site Remote site TxD A RxD A TxD B dE RxD B RxD B 4 TxD B RxD A TxD A RTS A CTS A RTS4 B CTS B CTS B RTS B CTS4A RTS A Note 1 stands for termination resistor near the receiving side 2 The suggested termination resistor for AWG 26 cable is 100 ohm 3 The suggested termination resistor for phone cable is 100 ohm For C114HI to reserved on the board are to be used to install termination resistors for impedance matching These resistors are not installed at the factory Users should install the resistors with appropriate resistance according to the application is for CTS of C114HI port 1 2 is for of C114HI port 1 RT3 is for CTS of C114HI port 2 is for of C114HI port 2 RT5 is for CTS of C114HI port 3 RT6 is for of C114HI port 3 RT7 is for CTS of C114HI port 4 RTS8 is for RxD of C114HI port 4 Industio C114HI User
27. checked and specify the COM number of the first port subsequent ports are mapped to continuous COM numbers For instance if first port is mapped to COMG then second port is mapped to 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 COMIO while the first port is mapped to Rx FIFO Trigger Rx FIFO trigger levels at 1 4 8 or 14 bytes are available and the default value is 14 bytes Tx FIFO Size Tx FIFO sizes from 1 to 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 Configuration Panel dialog box Note If you need to install more than one board click Add and repeat steps 5 to 7 to configure another board Up to four ndustio C114HI Series boards can be installed in a system Click OK to finish the configuration 8 Restart Windows 95 98 system Note The latest configuration will not take effect unless system restarts Industio C114HI User s Manual For Windows 95 98 Users Board and Port Configuration If you already have installed the driver and want to re configure the ndustio C114HI Series board and ports add more boards or delete boards under Windows 95 98 the following is the procedure for you 1 Click on the Taskbar Start button then selec
28. controller 2 OCO ODF DMA controller 0 0 Math coprocessor 100 1EF not usable 1FO 1F8 Fixed disk 200 207 278 27 printer port 2 LP2 2 8 2 Serial Port 2 COM2 300 31F card 360 36 378 37 printer port 1 Monochrome display Reserved 3D0 3DF Color graphics display 7 Diskette controller 3 8 3 Serial port 1 COM 1 Industio C114HI Series User s Manual 0 1 Problem Report Form ndustio Customer name Company Tel Email Date 1 Moxa Product C114HI Serial Number 2 Moxa Driver Version 3 Moxa hardware settings 3 1 Please check the hardware configuration for I O IRQ and speed via running IO IRQ EXE from DOS or Windows 95 98 DOS Prompt And also check the switch settings for interface and data mode for each port ror qro 6 IO IRQ Speed High Normal Interface RS 422 RS 485 RS 485 Data Mode AUTO RTS Interrupt Vector 3 2 CAP Jumper JP1 on the board open short 4 Operating System Windows 95 Windows 98 Windows NT 3 51 0 Windows NT 4 0 DOS Windows 3 Others 5 PCHost Model 6 CPU Speed M
29. creen will show a message like API 232 Version 3 5 Universal 2 4 8 serial ports Communication Driver Setup driver None serial port found Please refer to Appendix Troubleshooting for possible reasons and solutions Driver Unloading To unload the driver from memory type SER DRV Q at the DOS prompt Industio C114HI User s Manual 7 3 Serial Port Naming Convention Each MOXA serial port are referenced as port number in terms of programming The port numbers are automatically assigned once the starting port number is decided by user when configuring the ports of the board Duplication of the port numbers is not allowed For example if 4 ports are configured and the starting port number is 1 then the mapping of serial port numbers will be as depicted n D De Baud Rate Settings Be aware that for Smartio ndustio boards configured as High Speed Spectrum the real working speed is equal to 8 times of the displayed speed For example a port if set to Normal Speed Spectrum with 38 4 Kbps will work at 38 4 Kbps for sure while a port if set to High Speed Spectrum with shown speed 38 4 Kbps will actually work at 307 2 Kbps 38 4 Kbps 8X This is applicable to Moxa provided driver and utility such as Setup and Data Scope and also any non Moxa provided driver and utility such as Telix DOS API 232 Library and Pro
30. driver In addition for two C114HI boards in a system two separate interrupt vectors are required which can be accomplished with F3 Toggle one two INT vector Press F8 Load config to load the hardware configuration set by Io irq exe This 15 the most convenient way of configuration comparing to add port one by one with function F3 Industio C114HI User s Manual For DOS Users Port number This is actually the port ID of each port The application software will refer to the port by its port number ID Duplicated port number is not allowed Base I O address The I O address of each port Overlapped or duplicated I O address is not allowed Interrupt number The IRQ number of each port Several ports may share one common TxD buffer size transmit output buffer reserved for the port RxD buffer size receive input buffer reserved for the port Driver Loading Having completed the setup load the driver BINSER DRV EXE at the DOS prompt The driver will detect the multiport 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 Which means the board and the driver have been successfully installed At this point user is ready to execute application that supports API functions or start developing applications If there is no matched port the s
31. ect Device Manager tab Then select and open the MOXA Smartio Industio Family option and then select the C114HI Series Click on Properties button and then select Device Driver tab and then click on Update Driver button Removing Driver Open Control Panel icon and then Add Remove Programs icon and then select Install Uninstall tab Then select and open the Smartio Industio Driver option and then enter OK to remove the driver Baud Rate Settings When Smartio board is configured as High Speed Spectrum any port driven by the Moxa provided driver will display the exact working 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 the real working speed is equal to 8 times of the displayed speed For example a port if set to Normal Speed Spectrum with 38 4 Kbps will work at 38 4 Kbps for sure while a port if set to High Speed Spectrum with displayed speed 38 4 Kbps will actually work at 307 2 Kbps 38 4 Kbps 8 MOXA Serial Comm Tool PComm 5 4 PComm is a software package consisting of MOXA serial communication library and utilities for diagnostic and monitor as well as example programs under Windows NT 95 98 Please see Chapter P Comm for details Industio C114HI User s Manual For Windows 95 98 Users Troubleshooting The error messages and solutions are sta
32. gramming For DOS programming API 232 includes powerful libraries supporting languages like Microsoft C Turbo C Macro Assembly QuickBasic Turbo Pascal Clipper etc Sample programs for each supported language are included and placed in the sub directory EXAMPLE language of the API 232 directory 7 4 Industio C114HI User s Manual For DOS Users In addition for DOS C language only there are also Modem Control and File Transfer library available supporting Hayes compatible modem control as well as ASCII KERMIT XMODEM YMODEM and ZMODEM file transfer protocol functions For complete and last minute API function description see file API 232 TXT in the API 232 directory for more details Data Scope The Data Scope BINSSCOPE EXE is a suite of utility programs that can help users with system troubleshooting and serial communication debugging There are three major functions 1 The Data Scope utility offers transparent monitoring of serial communication lines and allows data to be streamed to 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 protocols 3 The diagnostic test utility provides port connection test with two MOXA ports connected via a properly wired cable Please see on line help as running BIN SCOPE EXE for more usage and capability information Industio C11
33. hen the mapping of serial port numbers will be as depicted Industio C114HI User s Manual 8 1 COM3 4 E Rome X 5 6 Due to limitations of Windows 3 x operating system itself only up to 9 COM ports are supported 1 COMI to COMO Hence C114HI with 4 ports or other 4 port non intelligent boards maximum 6 ports is supported if the existing standard COM ports COMI and 2 are included After successful installation the program group Standard COMM Driver will be created which contains all the useful programs Moxa provided Restarting Windows 3 x system is required for MOXA Standard Windows compatible COMM Driver after installation When system restarted the MOXA COMM Driver is ready to go Driver Removal The program Driver Removal in the program group Standard COMM Driver is provided to remove the installed driver from the Windows Baud Rate Settings For those Industio C114HI boards configured as High Speed Spectrum the real working speed is equal to 8 times of the displayed speed For example a port if set to Normal Speed Spectrum with 38 4 Kbps will work at 38 4 Kbps for sure while a port if set to High Speed Spectrum with shown speed 38 4 Kbps will actually work at 307 2 Kbps 38 4 Kbps 8X This is applicable to Moxa provided utility such as CONFIG and TTY existing applications and programming which are described later in this chapter
34. in32 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 Industio C114HI User s Manual 6 1 Utilities The followings are short descriptions of each utility For details please see on line help in the diskette Diagnostic for MOXA boards only A convenient 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 users 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 users 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 V T100 and ANSI You can transfer data interactively send pattern periodically or transfer file using 5 XMODEM YMODEM ZMODEM and KERMIT protocols 6 2 Industio C11
35. ith 0xA700 a fully decoded I O address In this case either find out the other device causing conflict and change its I O address if possible Or use normal installation procedure for C114HI board instead to avoid conflict 2 The C114HI s software and hardware configuration mismatch CAP 0xX XXX To avoid this please check the board settings of the software configuration via entering Control Panel group then Network icon then Adapters folder and then Moxa Configuration Panel for each board installed then shut down the system and run Io irq exe to check the board settings of the hardware configuration Make sure both are same The board might be defective Industio C114HI User s Manual 4 5 4 6 ndustio C114HI User s Manual 5 For Windows 95 98 Users MM E MEE MM In this chapter software driver installation configuration and removal procedures are described If it is necessary for you to develop your own applications we strongly recommend that try out the easy but powerful P Comm serial comm tool which includes MOXA serial communication library for easy programming and utilities for diagnostic and monitor Finally Windows 95 98 troubleshooting is included Driver Installation Setup95 exe 1 Run Setup95 exe in the driver diskette 2 Click on Next gt button in the Welcome message dialog box And then click on Next gt button in the Ready
36. iver is enabled No handshaking signals such as RTS are necessary Users can build a RS 485 network with just two wires The RS 485 control is completely transparent to users This feature means RS 485 acts just like RS 232 in half duplex operation mode Applications written for half duplex RS 232 can be used without modification Please refer to the sample program rs485 c in the DOS EXAMPLEIC directory for more programming details Industio C114HI User s Manual 9 3 9 4 Industio C114HI User s Manual Appendix A Pinouts and Cable Wiring MEE C114HI is suitable for RS 232 RS 422 or RS 485 communications Each port can be set to RS 232 RS 422 or RS 485 interface independently via the jumpers Refer to Chapter Hardware Installation and IO IRQ for more details In data communications the term DTE is Data Terminal Equipment like terminal or PC COMI 2 The term DCE is Data Communication Equipment like modem Their precise pinouts and cable wiring are as follows The following comparison table is for EIA Standards RS 232 RS 422 and RS 485 Mode of operation of of Rcv Max length Rate bps RS 232 single ended 1 1 50 20 RS 422 differential 1 10 4000 10M RS 485 32 32 4000 10M RS 232
37. jo 310519 330519 ojejo NO NO ejejeje 10514 10514 8df SS 99 ojojo ojojo Ldf mee NO NO k ony k 26 6 93y 934 ay eje 340514 440514 ee NO NO o1nv 934 934 ej NOSLY NOSLY 0141 941 e C114HP s Layout 2 2 Industio C114HI User s Manual Hardware Installation and Jumper Settings for Interface Jumpers for the first and second ports are symmetric with those for the third and forth ports as shown in the above picture P tl Port 2 3 4 Selection Function 1 2 JP3 JP4 5 Interface amp RS 485 Operation Mode JP6 10 IP 12 RS 422 RS 485 Transmitter Mode JP7 IP 13 RS 422 RS 485 Receiver Mode For illustration jumper settings of the first port is shown below JP6 Tx JP2 JP7 Rx ccc e 000000009 Put the jumpers in the positions as depicted Do not care Tx JP6 and Rx JP7 RTS ON REG AUTO e e RTS OFF REG AUTO ON Jumper Settings for RS 232 Port Put the jumpers in the positions exactly as depicted Industio C114HI User s Manual 2 3 RTS ON REG AUTO ON RTS OFF REG AUTO ON Jumper Settings for RS 422
38. made to the information herein to correct such errors and these changes are incorporated into new editions of the publication Technical Support Contact Information www moxa com support Moxa Americas Toll free 1 888 669 2872 1 714 528 6777 Fax 1 714 528 6778 Moxa Europe Tel 49 89 3 70 03 99 0 Fax 49 89 3 70 03 99 99 Moxa China Shanghai office Toll free 800 820 5036 Tel 86 21 5258 9955 Fax 86 10 6872 3958 Moxa Asia Pacific 886 2 8919 1230 Fax 886 2 8919 1231 About This Manual This manual is composed of nine chapters and four appendixes 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 9 If you are a software programmer you may refer to chapter and RS 232 422 485 programming If you need cable wiring information please see Appendix A Pinouts and Cable Wiring If you encounter any problem during installation please refer to Appendix C Troubleshooting Chapter 1 Introduction Overview and features for the ndustio C114HI are described Also check list and overall installation guide Chapter 2 Hardware Installation and Hardware installation for the ndustio C114HI is detailed Chapter 3 Software Installation Software installation for the compatible operating systems SCO UNIX XENIX and
39. n the transmitter outportb BASE 4 3 Or use the following function in API 232 library sio RTS port 1 A statement as following will clear the RTS signal and turn off the transmitter outportb BASE 4 0 Or use the following function in API 232 library sio RTS port 0 Besides the following function API 232 library is provided especially for RS 485 programming sio putb x Please refer to API 232 User s Manual for more details 2 REG The transmitter or receiver is controlled by the control register BASE 7 bit 1 or bit 0 where BASE is the base I O address of the port When the corresponding bit is set to 1 the transmitter receiver is enabled Setting the bit to 0 will turn the transmitter receiver off to high impedance status and the 16x50 UART chip will not transmit receive any signal In Turbo C language a statement as following will turn on the transmitter outportb BASE 7 1 Industio C114HI User s Manual RS 232 RS 422 RS 485 Programming A statement as following will turn on the receiver outportb BASE 7 2 A statement as following will turn off both the transmitter and receiver outportb BASE 7 0 A statement as following will turn on both the transmitter and the receiver outportb BASE 7 3 AUTO In the AUTO mode the transmitter is enabled and the receiver is disabled whenever outgoing data is available Otherwise the transmitter is disabled and the rece
40. ported Moxa and shipped with product R Driver supported byMoxa but shipped by request C Driver supported by OS Note site is available for driver download Check List Upon unpacking the C114HI package you should find the following items included CI14HI 4 port RS 232 RS 422 RS 485 board This User s Manual 3 Windows NT 95 98 driver diskette DOS Windows 3 x driver diskette P Comm diskette 4 30 cm cable DB 37 to 4 9 male connectors N Installation Guide To install C114HI in a system follow the instructions of Chapter Hardware Installation and IO IRQ and then O S specific instruction of Chapter Software Installation Industio C114HI User s Manual 1 3 1 4 Industio C114HI User s Manual 2 Hardware Installation and EE MM E EE MM Configuration Utility Before installing any driver for C114HI in the system it is necessary to run DOS configuration utility IO IRQ EXE to configure the ports such as I O address IRQ Interrupt vector etc The utility is in the DOS Windows 3 x driver diskette The C114HI uses on board EEPROM to save the board s configuration which can be accessed read or written via the Configuration Access Port CAP While the JP1 jumper cap of C114HI is removed the CAP address is always equal to the same address of the first port When the
41. s Manual 7 Pinouts of DB 37 Connector The following lists pinouts of the C114HI DB 37 connector on the bracket 1 O 20 TXD2 AJDCD2 Of a RI2 CTS2 A GND2 3 O 5 DTR2 RXD2 A CTS24BBICTS 2 4 DSR2RTS2 A RXD2 B RXD 5 54 ASAR TS B CTS3 A R13 6 m XD2 TXD2 B RXD3 AJ DTR 7 9 ad DCD3 TXD3 A RTS3 AJDSR 3 8 GND3 RTS34BJ RTS 3 9 CTS3 CTS3HB TXD34 BTXD 10 E s TXD1 A DCD1 11 n RIT CTS 1 A 12 O DTR 1 RXD1 A GND1 3i 51 1 3 m DSRIRTS1 A RXD14 B RXD 14 33 ATSIRTS iip CTSO A RI0 15 m XD1 TXD14 B RXDO AJ DTRO 16 m DCDO TXD0 A RTSO AJDSRO 1 5 GNDO RTSO B RTS 0 18 CTSO CTSOHB 19 0 RXDORXDO B Note make shield grounded to the connector 8 Industio C114HI User s Manual Appendix B High Speed Operations This section describes use of high speed capability supported C114HI There are two speed spectra which are Normal Speed Spectrum High Speed Spectrum 50 400 75 600 110 880 134 5 1076 150 1200 300 2400 600 4800 1200 9600 1800 14400 2400 19200 4800 38400 7200 57600 9600 76800 19200 153600 38400 307200 57600 460800 115200 921600 The corresponding speed in High Speed Spectrum is exactly eight times the speed in Normal Speed Spectrum A por
42. ss and IRQ settings for each of 4 serial ports 4high speed up to 921 6K bps 16C550C UARTS with on chip hardware flow control no data loss 16C550C compatible Compatible with PC standard ports COMI u Supports isolation protection for RS 422 RS 485 u Supports 2 wire or 4 wire RS 485 operation modes u Supports RS 485 auto data direction switching feature u Supports Windows NT 95 98 DOS and Windows 3 x device drivers Compatible with most popular Operating Systems Specifications Bus interface ISA EISA compatible u Number of ports 4 u I O address 0x0000 OxFFFF u IRQ 2 3 4 5 7 10 11 12 15 u Data bits 5 6 7 8 u Stop bits 1 1 5 2 u Parity none even odd space mark UART 49 46 550 or Compatible u Speed 50 921 6K bps u Connectors 4 BB 9 male DTE Data signals RS 232 TxD RxD RTS CTS DTR DSR DCD GND RS 422 TxD RxD RTS CTS DCD GND RS 485 TxD RxD GND 1 2 Industio C114HI User s Manual Introduction u Isolation protection max 2000V for RS 422 or RS 485 u Operating temp 0 55 C u Dimensions 22cm H 5 cm C114HI is compatible with various operating systems However Moxa supports proprietary drivers for better performance See the driver list below C114HI Windows NT 3 C Windows 95 98 3 C Windows 3 x 3 C DOS 3 C Linux R C OS 2 C SCO UNIX OpenServer C SCO XENIX C QNX C FreeBSD C PICK OS C MUMPS C Multiuser DOS C 3 Driver sup
43. t Programs menu then MOXA Utilities menu and then MOXA Configuration Panel icon 2 The configuration panel will be popped up Please see steps 4 7 in the previous Section Driver Installation for more details In this configuration panel you may Click Property to enter Property dialog box to configure the selected board with the correct COM Number INT Vector Interrupt No and Base I O Port Address Please see steps 5 to 7 in the previous section Driver Installation for more details except that the Type field is not supposed to be changed Click Add to add one more board that is not yet configured in the system Please see steps 5 to 7 in the previous section Driver Installation for more details Click Remove to remove the board currently selected from the configured board list Click OK to confirm the configuration changes you made Click Cancel to leave the dialog with the configuration unchanged Board Initialization Status Checking the error conditions during the initialization of Windows 95 98 will be popped up onto the screen Otherwise everything should be fine If error message like C114HI Series CAP 0x0180 port 12COM3 Board is not found appears refer to Section Troubleshooting for solutions Industio C114HI User s Manual 5 3 Updating Removing Driver Updating Driver Open Control Panel icon and then System icon and then sel
44. t if set to Normal Speed Spectrum with 38 4K bps will work at 38 4K bps for sure while a port if set to High Speed Spectrum with 38 4K bps will actually work at 307 2K bps 307 2K 38 4K X 8 Choose either one of the two speed spectra by running DOS utility IO IRQ EXE Hint 1 Check what speed range is needed for a port 2 If a port will work at speed slower than 400 bps e g 75 bps then choose Normal Speed Spectrum by running IO IRQ 3 Ifa port will work at speed faster than 115 2K bps e g 460 8K or at a special speed e g 400 bps then choose High Speed Spectrum by running IO IRQ For UNIX Users For the C114HI board configured as High Speed Spectrum the real working speed is equal to 8 times of the displayed speed with stty command Industio C114HI Series User s Manual 1 2 Industio C114HI User s Manual Appendix C Troubleshooting 1 Board not found The software base addresses do not match with the hardware ones The base I O addresses selected conflict with other devices Avoid it and refer to Appendix D The board is not properly plugged in the system Reinstall it The board is defective Return it for repair 2 Board found but can not transfer data a b Wrong cable wiring Correct it Wrong IRQ setting or conflict Change it 3 Why the DOS utility IO IRQ can not access C114HI to configure There are several reasons that may lead to this trouble d
45. ted as clearly as possible If all the possible solutions fail the board or connection box might be defective Please check the board or connection box ONE AT A TIME in the system and find out the defective one 1 C114HI Series CAP 0x0180 port 12COM3 Board is not found To avoid this please double check the board settings via clicking on Start button then Programs menu then MOXA Utilities menu and then Moxa Configuration Panel icon for each board installed then shut down the system before checking the following items Plug in the board s properly Inspect carefully on the setting of I O address for each board installed Sometimes slot for plugging board is malfunctioned In this case please try other slots until good one is found board might be defective For quick installation users make sure the jumper 1 1 is always short and the additional I O address 0xA700 is not occupied by other devices If some other device use 0xA700 at the same time I O address conflict occurs For example a partially decoded device is using I O address 0x300 This will cause conflict with 0xA700 a fully decoded I O address In this case either find out the other device causing conflict and change its I O address if possible Or use normal installation procedure for C114HI board instead to avoid conflict 2 The 114 lt software and hardware configuration mismatch CAP 0xX XXX To avoid this please check the
46. tion Industio C114HI User s Manual 7 1 7 2 Driver Setup 1 Change to target directory and run the setup program BINSETUP EXE This program is to configure IRQ port number etc of the MOXA boards The configuration will be referred to by the later executed DOS driver Note that before running SETUP program execute Io irq to designate I O address and IRQ Choose Smartio Industio ISA Family in the Driver Selection dialog and then enter or modify each port s configuration which are the port initial value when driver is loaded Press F8 to specify the CAP Address and press ENTER and then type Y YES to load the configuration of the board to be setup Use other functions to modify settings if necessary Finally remember to use F10 function to save the configuration Some noticeable function keys and fields are explained below Press F1 Help to learn an up to date instruction Press F3 Add port to add one port entry and modify the settings if necessary Press F4 Delete port to delete the port entry where the cursor stops Press F5 Group edit to set the selected ports as a group to the same settings Press F6 INT vector to specify the interrupt vector I O address and set the status for each port Interrupt driven scheme is applied for those ports using interrupt vector while polling scheme for those ports not using interrupt vector The former is more efficient and has better performance in terms of
47. turer s 4 port non intelligent boards using 16C550C UART Operating System Support The family is operational under most popular operating systems such as Windows NT Windows 95 98 SCO UNIX XENIX OpenServer DOS Windows 3 x OS 2 Linux QNX FreeBSD MUMPS PICK OS IMS Multiuser DOS etc However MOXA device drivers for Windows NT Windows 95 98 DOS Windows 3 x and Linux are provided for better installation configuration and performance In this manual chapters for MOXA Windows NT Windows 95 98 DOS and Windows 3 x device drivers are included For other compatible systems not mentioned please refer to the respective operating system s manual for how to install and configure the standard driver MOXA Serial Comm Tool For easy application development provides an easy use serial communication library under Windows NT 95 98 P Comm and Windows 3 x DOS Industio C114HI User sManual 1 1 API 232 Users can use this library to develop your own applications using Microsoft C Turbo C Assembly QuickBASIC Turbo Pascal Clipper Visual Basic Visual Borland Delphi etc Utilities such as diagnostic and monitor are included for diagnosing the board port or monitoring the communication status Features The CII4HI 4 port RS 232 422 485 board provides the following advanced features 16 bit AT bus architecture more IRQs supported ASIC designed easily configured by software IO IRQ DOS u Independent I O addre
48. x280 Arnet compatible Vector 0x2C2 0 280 offset 0x42 For second 4 port board the C114HI can be configured as 3 i e COM2 T O base address 0x300 Arnet compatible Industio C114HI User s Manual 3 1 3 2 Vector 0x342 Use the following SCO UNIX XENIX command to start the software installation of a new serial board 3t mkdev serial The screen will show You would like to install a 1 1 port card 2 2 port card 3 4 port card 4 Enter number 3 to choose 4 port card The screen then shows The card is configured as 1 COMI 2 COM2 3 COM3 4 COMA For first C114HI 4 port board choose number 1 COMI for second number 2 2 Then the screen shows like Which card do you have 1 Arnet base address 2 Arnet base address Oxbbb 3 Hostess base address 4 For first C114HI 4 port board select Arnet base address 0x280 for second Arnet base address 0x300 Follow the on line instruction to complete the rest of the installation procedure Once the installation is successfully completed the following serial devices along with their modem devices upper case will be added to the system ttylb ttyld first C114HD tty2a tty2b second C114HI Be sure to activate the device by using SCO command enable ttyxx Industio C114HI User s Manual Software Installation OS 2 The C114HI can be driven either
49. xD B 4RxD A TxD A 5 GND GND 6 RTS A 5 7 RTS B 15 8 CTS B RTS B 9 CTS A RTS A RS 485 The RS 485 standard is an enhanced version of the RS 422 balanced line standard It allows multiple drivers and receivers in a multidrop systems As many as 32 drivers and 32 receivers can be put on any multidrop system C114HI DB 25 Female Connector 2 Data B 7 GND 16 Data A C114HI DB 9 Male Connector C114HI Pin head Connector 1 Data A 1 Data A 5 5 GND 9 GND GND 10 9 GND 8 7 Data B 5 DataHB 4 3 Data A Data A Industio C114HI User s Manual 5 Multidrop RS 485 Half duplex C114HI RS 485 Device 1 Master Slave 3 Data B Data B 1 Data A Data A 5 GND GND RS 485 Device N Slave Data B Data A GND Impedance Matching and Termination Resistors When an electrical signal travels through two different resistance junctions in a transmission line the mismatched impedance between cable and receiver 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 receiver ends by connecting a termination resistor in parallel with the same impedance as the cable s characteristic impedan
Download Pdf Manuals
Related Search
Related Contents
SIMERUS-tape15-2013 W1752S 自動散水制御機器 Explorer 657 Start 2012 - User manual TELEVISOR LED ( ”) Victor Technology 1310 calculator panorama & perspectives de la fonction publique Trixie Patricia User's Manual Copyright © All rights reserved.
Failed to retrieve file