Home
Industio C114HI User`s Manual
Contents
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 1 L 1 L 1 0 691 ES NO NO C N jejeje p 5 OLny Li 23u ojojo 310519 330519 ojejo NO NO ejejeje NOSLY NOSLY 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 a C114HP s Layout 2 2 Industio C114HI User s Manual Hardware Installation 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 Port 4 Selection Function 1 2 JP3 JP4 5 Interface amp RS 485 Operation Mode 6 JP10 IP 12 RS 422 RS 485 Transmitter Mode JP7 JP 13 RS 422 RS 485 Receiver Mode For illustration jumper settings of the first port is shown below JP6 Tx JP2 JP7 Rx lt Put the jumpers in the positions as depicted Do not care Tx 7 6 and Rx JP7
2. 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 controller 2 OCO ODF DMA controller 0 0 Math coprocessor 100 1EF not usable 1FO 1F8 Fixed disk 200 207 Game I O 278 27 printer port 2 LP2 2 8 2 Serial Port 2 COM2 300 31F card 360 36 378 37 Parallel 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 4 5 6 7 IO IRQ Speed High Normal Interface RS 422 RS 485 RS 485 Data Mode AUTO RTS Interrupt Vector 3 2 CAP Jumper JP1
3. 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 ON e ej RTS OFF e 9 15 OFF e ojo RTS OFF REG e e ntc e ojo REG e e AUTO e e AUTO e ejo e e AUTO e ON e e e e ON e e e e ON e ele e ele eee e ojo 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 0x180 1st 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
4. RTS ON REG AUTO 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 Tx ON Rx ON RTS ON REG AUTO ON RTS OFF REG AUTO ON Jumper Settings for RS 422 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 ndustio 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 REG e e e AUTO e e e e ON ele Rx REG Hardware Installation and Half Duplex Operation Mode RTS ON RTS ON e RTS ON e e e
5. 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 TxD B 4RxD A TxD A 5 GND GND 6 RTS A 16 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 Data B 5 Data B 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 refle
6. 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 supported Moxa and shipped with product R Driver supported byMoxa but shipped by request C Driver supported by OS Note MOXA FTP site is available for driver download Check List Upon unpacking the C114HI package you should find the following items included C114HI 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 MMM MMMM MMMM MMMM lds IO IRQ 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 v
7. 1 2 ur quc Pr 1 3 ach cesar EP Da Ea pe ra Sep heard ra 2 1 3 Hardware Installation and 2 1 IO IRQ Configuration Utility iet enne ree e emer 2 1 Jumper Settings for Interface 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 acta NS YEAR DURS UE 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 odes 4 4 MOXA Serial Comm Tool COMM int pao e Ree POL oben 4 4 THOUDISSIOOUING 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 Initializatio
8. 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 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 is 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 address is not allowed Interrupt number The IRQ number of each port Several ports may share one common IRQ 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 seria
9. 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 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 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 conflic
10. 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 ndustio C114HI User s Manual 9 RS 232 422 485 Programming MMMM MMMM MMMM MMMM MMMM MMMM lds 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 5 422 is needed there 15 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 th
11. 6 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 port 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 B 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 repa
12. AppliCallons n dena 8 3 RS 232 422 485 mnnn 9 1 RS 232 Programming ncn oes iere CORR re Vei vam ive 9 1 RS 422 Programing uses en eee re ro eb etie te Dele pet 9 1 RS 485 Programrmnihig He e qe ee ree eui e a rentas 9 1 Appendix A Pinouts and Cable Wiring A 1 opc A 1 un no T A 4 pig A 5 Impedance Matching and Termination Resistors A 6 Pinouts 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 MMM MMMM The Smart 3 in 1 Multiport Async Solutions C114HI is a 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 communic
13. 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 then 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 the 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 MOXA 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 MOXA 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 s
14. Industio C114HI User s Manual EE Industrial 3 in 1 RS 232 422 485 Serial Board Apr 1999 3rd Edition The content of this manual is also available in CD ROM and at Moxa Web Site Moxa Technologies Co Ltd 866 2 8665 6373 4 4 4 Fax 886 2 8665 6372 WWW moxa com MO lt A support moxa com tw TECHNOLOGIES Industio C114HI User s Manual The product described in this manual is furnished under a license agreement and may be used only in accordance with the terms of the agreements Copyright Notice Copyright 1999 Moxa Technologies Co Ltd All rights reserved Reproduction in any form without permission is prohibited Trademarks MOXA is a registered trademark of Moxa Technologies Co Ltd All other trademarks or registered marks in this manual belong to their respective manufacturers 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 the particular purpose Moxa may make improvements and or changes in this manual or in the product s and or the program s described in this manual at any time Information provided in this manual is intended to be accurate and reliable However Moxa Technologies assumes no responsibility for its use or for any inf
15. NT 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 MMMM 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 Indust
16. OXA 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 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 in the Base I O Port Address field All the settings should match settings that are physically set on the board and conflict with no other devices Note Go directly to the step 7 if you need not change any setting Industio C114HI User s Manual 5 1 5 2 In the Property dialog box select the desired port in the port list and click Port Setting to enter the individual Port setting dialog box to change the port number mappings or FIFO settings P
17. ation 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 manufacturer 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 C Borland Delphi e
18. bps 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 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 NT 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
19. ction 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 impedance 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 2 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 RTI is for CTS of C114HI port 1 RT2 is for R
20. 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 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 E MMMM Md lll 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 PComm serial comm tool which includes M
21. displayed port in order to see the current communication parameters and status of that port Terminal Emulator The Terminal Emulator features multi windows and supports terminal types of VT100 and ANSI You can transfer data interactively send pattern periodically or transfer file using ASCH XMODEM YMODEM ZMODEM and KERMIT protocols 6 2 ndustio C114HI User s Manual 7 MMMM MMMM MMMM MMMM 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
22. e 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 on 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 in 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
23. ect 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 6 DSR 4 DTR 1 DCD C114HI DTE DB 9 Male DB 9 Male TxD 2 RxD 2 RxD 3 TxD 5 GND 5 GND 7 RTS 8 CTS 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 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 RS 422 A 4 The following lists pinouts of the RS 422 port C114HI DB 25 Female Connector amp WY 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 NC CTS A CTS B RTS RTS A TxD A RTS A RxD B RTS B TxD B CTS B
24. ector 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 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
25. er 1 Introduction Overview and features for the ndustio C114HI are described Also check list and overall installation guide Chapter 2 Hardware Installation and IO IRQ Hardware installation for the ndustio C114HI is detailed Chapter 3 Software Installation Software installation for the compatible operating systems SCO UNIX XENIX and 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 Chapter 8 For Windows 3 X 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 ELON 1 1 6 tial ita pd 1 2 M ME
26. hown 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 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 COM4 which is obviously a restriction Windows 3 x COMM API Programming MOXA Windows compatible COMM Driver supports Microsoft Windows COMM API 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
27. ing 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 NT Users Port Number You have to set up all the ports of the board with the desired COM number which should not conflict with other COM number in use In this Individual Port Setting dialog box you may have two ways to map the physical ports to COM numbers depending on the check box 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 COM3 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 s
28. io 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 select 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 Board 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 All the error conditions during the initialization of Windows 95 98 will be popped
29. io 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 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 MOXA 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 Rx FIFO Trigger and Tx 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 us
30. ir 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 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 is 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 CAP 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 the jumper cap on the position JP1 Power on PC C 2 Industio C114HI User s Manual Appendix D 1 0 Port Address Map VE MEM The following is the list of the I O port address commonly used which is for preventing I O address conflict when configuring C114HI
31. l 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 screen 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 MOXA 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 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 p
32. les 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 C114HI 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 MOXA 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 COM3 to COM6 from to COM7 from 5 from COM6 to 9 depending on user s need Normally
33. n Status 5 3 Updating Removing t t t ERR eet eases 5 4 Updating eet ae eer edente itu Dato ee reete ese 5 4 Removing 5 4 Rate Sells te Dee per Et dites One oc E mr seo 5 4 MOXA Serial Comm Tool 5 4 Troubleshooting eee 5 5 dcelm 6 1 Iristallatlori ee eL E 6 1 Programming ooo ee te E edd ou tte iid ed 6 1 BI PET 6 2 For DOS USGFsS ARA SEED MER ONERE 7 1 Driver Installation Setup Loading and 7 1 Serial Port Naming 7 4 Baud Rate autour es 7 4 DOS API 232 Library and Programming 7 4 SCOPG E 7 5 For Windows USCIS 8 1 Acea Ace Steen ote ete 8 1 COMM CUA TION TIL 8 1 Driver pieces suce danas teen teed 8 2 Baud Rate SC UIs RP 8 2 Ene E 8 3 Windows 3 x COMM API Programming 8 3 Existing
34. n32 COMM API Installation To install PComm 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 Win32 API It can ease the implementation of multi process and multi thread serial communication programs and hence greatly reduce the developing time For complete library function description and example programs for Visual C Visual Basic and Delphi please see help file and example programs in PComm directory for more details 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
35. nd RS 485 Mode of operation of of Rcv Max length Max Rate bps RS 232 single ended 1 1 50 20K RS 422 differential 1 10 4000 10M RS 485 differential 32 32 4000 10M RS 232 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 A 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 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 a DCE C114HI DB 9 Male DB 25 Female TxD RxD RTS CTS DSR GND DTR DCD O AN DCE 2 RxD 3 TxD 4 CTS 5 RTS 6 DTR 7 GND 20 DSR 8 DCD 3 conn
36. on the board open short 4 Operating System Windows 95 Windows 98 Windows NT 3 51 Windows NT 4 0 DOS Windows 3 x Others 5 PC Host Model 6 CPU Speed MHz 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 PRF 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
37. 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 installation Industio C114HI User s Manual 7 1 7 2 Driver Setup 1 Change to target directory and run the setup program BIN SETUP 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
38. ort 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 Programming 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 fi
39. ort Number You have to set up all the ports of the board with the desired COM number which should not conflict with other COM number in use In this Individual Port Setting dialog box you may have two ways to map the physical ports to COM numbers depending on the check box Auto Enumerating COM Number 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 COMG then second 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 COMIO 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 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 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 the system restarts Indust
40. ringements of rights of the fourth parties which may result from its use This product could include technical or typographical errors Changes are periodically made to the information herein these changes may be incorporated in new editions of the publication MOXA Internet Services Customer s satisfaction is always our number one concern To ensure that customers get the full benefit of our services Moxa Internet Services have been built for technical support product inquiry new driver update user s manual update etc The followings are the services we provide E mail for technical support address support moxa com tw FTP site for free driver update address ftp moxa com or jtp moxa com tw user ID ftp password your email address World Wide Web WWW Site for product info address www moxa com Or Www moxa com tw 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 Chapt
41. sers 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 4 i e COMI T O base address 0x280 Arnet compatible Vector 0x2C2 0x280 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 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 1 2 2 3 COM3 4 COM4 For first C114HI 4 port board choose number 1 1 for second number 2 COM2 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 s
42. t 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 C114HI s software and hardware configuration mismatch CAP 0xX XXX To avoid this please check the 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 ndustio C114HI User s Manual 6 PComm E MM EE MM PComm the professional serial comm tool for PC is a 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 Wi
43. tc 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 address 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 u Compatible with PC standard ports COMI COM4 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 u Compatible with most popular Operating Systems Specifications Bus interface ISA EISA compatible Number of ports 4 I O address 0 0000 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 4 46C550C 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 Isolation protection 2000V for RS 422 or RS 485 u Operating temp 0 55 C u Dimensions
44. 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 safety and to prevent C114HI from damage please do not attempt to install or remove the jumper cap of 7 1 until the power of PC is off Step 5 Power on the PC and enter DOS system Step 6 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 BB 9 cable Industio C114HI User s Manual 3 Software Installation MM The C114HI boards are compatible with various operating systems such as SCO 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 U
45. 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 receiver 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 ndustio C114HI User s Manual Appendix A Pinouts and Cable MM lll Wiring Md 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 a
46. uccessfully 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 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 is active when the system is booted up Please configure the first and second ports of the CII4HI as COMI 3F8H IRQ4 and COM2 2F8H IRQ3 respectively Interrupt vector is not used Remember to disable the COM1 COM2 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 COM the com port number 1 4 PORTO the port s base I O address the IRQ level to use for the port no IRQ sharing BADI
47. 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 select 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 MOXA 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
48. xD of C114HI port 1 RT3 is for CTS of C114HI port 2 RT4 is for RxD of C114HI port 2 RT5 is for CTS of C114HI port 3 RT6 is for RxD of C114HI port 3 RT7 is for CTS of C114HI port 4 RTS8 is for RxD of C114HI port 4 Industio C114HI User s Manual 7 Pinouts of DB 37 Connector The following lists pinouts of the C114HI DB 37 connector on the bracket O 20 TXD2 AJDCD2 OT 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 ad DCD3 TXD3 A RTS3 AJDSR 3 8 Ol os GND3 RTS34BJ RTS 3 2 CTS3 CTS3HB TXD34 BTXD 10 E s TXDI AJDCD1 11 n RIT CTS 1 A 12 O DTR 1 RXD1 A GND1 3i cTs14ByCTS 3 m DSRIRTS1 A RXD14 B RXD 14 33 ae CTS0 A RI0 15 5 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 MMMM MMMM MMMM MMMM lll This section describes the use of high speed capability supported by C114HI There are two speed spectra which are Normal Speed Spectrum High Speed Spectrum 50 400 75 600 110 880 134 5 107
49. ystem 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 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 K
Download Pdf Manuals
Related Search
Related Contents
cartographie mode d`emploi P-CAMの説明書 2000-2001 ZagNet User`s Manual REGULADOR - Leroy Somer User Manual Garmin nuvi 1350 Quick Start Manual Mode d`emploi 絵や文字がぼこぼこ膨らむ不思議な用紙 Copyright © All rights reserved.
Failed to retrieve file