Vai alla pagina of
Manuali d’uso simili
-
Computer Hardware
Compaq ProLiant DA-11411
27 pagine 2.04 mb -
Computer Hardware
Compaq MSEBX800
53 pagine 3.7 mb -
Computer Hardware
Compaq PC100
66 pagine 3.7 mb -
Computer Hardware
Compaq Lithium-ion battery
7 pagine 0.14 mb -
Computer Hardware
Compaq 5800
1 pagine 0.17 mb -
Computer Hardware
Compaq EK-ASIP2-OG. D01
78 pagine 0.52 mb -
Computer Hardware
Compaq 177620-006
83 pagine 4.3 mb -
Computer Hardware
Compaq 5900
1 pagine 0.17 mb
Un buon manuale d’uso
Le regole impongono al rivenditore l'obbligo di fornire all'acquirente, insieme alle merci, il manuale d’uso Compaq RS-232C. La mancanza del manuale d’uso o le informazioni errate fornite al consumatore sono la base di una denuncia in caso di inosservanza del dispositivo con il contratto. Secondo la legge, l’inclusione del manuale d’uso in una forma diversa da quella cartacea è permessa, che viene spesso utilizzato recentemente, includendo una forma grafica o elettronica Compaq RS-232C o video didattici per gli utenti. La condizione è il suo carattere leggibile e comprensibile.
Che cosa è il manuale d’uso?
La parola deriva dal latino "instructio", cioè organizzare. Così, il manuale d’uso Compaq RS-232C descrive le fasi del procedimento. Lo scopo del manuale d’uso è istruire, facilitare lo avviamento, l'uso di attrezzature o l’esecuzione di determinate azioni. Il manuale è una raccolta di informazioni sull'oggetto/servizio, un suggerimento.
Purtroppo, pochi utenti prendono il tempo di leggere il manuale d’uso, e un buono manuale non solo permette di conoscere una serie di funzionalità aggiuntive del dispositivo acquistato, ma anche evitare la maggioranza dei guasti.
Quindi cosa dovrebbe contenere il manuale perfetto?
Innanzitutto, il manuale d’uso Compaq RS-232C dovrebbe contenere:
- informazioni sui dati tecnici del dispositivo Compaq RS-232C
- nome del fabbricante e anno di fabbricazione Compaq RS-232C
- istruzioni per l'uso, la regolazione e la manutenzione delle attrezzature Compaq RS-232C
- segnaletica di sicurezza e certificati che confermano la conformità con le norme pertinenti
Perché non leggiamo i manuali d’uso?
Generalmente questo è dovuto alla mancanza di tempo e certezza per quanto riguarda la funzionalità specifica delle attrezzature acquistate. Purtroppo, la connessione e l’avvio Compaq RS-232C non sono sufficienti. Questo manuale contiene una serie di linee guida per funzionalità specifiche, la sicurezza, metodi di manutenzione (anche i mezzi che dovrebbero essere usati), eventuali difetti Compaq RS-232C e modi per risolvere i problemi più comuni durante l'uso. Infine, il manuale contiene le coordinate del servizio Compaq in assenza dell'efficacia delle soluzioni proposte. Attualmente, i manuali d’uso sotto forma di animazioni interessanti e video didattici che sono migliori che la brochure suscitano un interesse considerevole. Questo tipo di manuale permette all'utente di visualizzare tutto il video didattico senza saltare le specifiche e complicate descrizioni tecniche Compaq RS-232C, come nel caso della versione cartacea.
Perché leggere il manuale d’uso?
Prima di tutto, contiene la risposta sulla struttura, le possibilità del dispositivo Compaq RS-232C, l'uso di vari accessori ed una serie di informazioni per sfruttare totalmente tutte le caratteristiche e servizi.
Dopo l'acquisto di successo di attrezzature/dispositivo, prendere un momento per familiarizzare con tutte le parti del manuale d'uso Compaq RS-232C. Attualmente, sono preparati con cura e tradotti per essere comprensibili non solo per gli utenti, ma per svolgere la loro funzione di base di informazioni e di aiuto.
Sommario del manuale d’uso
-
Pagina 1
COM- 2(PC)F RS-232C (2ch) Serial I/O Board User ’ s Guide[...]
-
Pagina 2
COM-2(PC)F i Copyright Copyright 1996 CONTEC Co., LTD. ALL RIGHTS RESERVED No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC Co., LTD. CONTEC Co., LTD. makes no commitment to update or keep current the information contained in this document. The information in this document is subj[...]
-
Pagina 3
COM-2(PC)F ii Product Configuration - COM - 2 (PC) F Board …1 - Sample Program Diskette (3.5inch/1.44MB) …1 - User's Guide ( T his B ooklet)…1 Unpacking: This board is specially packed in an anti-static bag to prevent damage in shipping. Check the contents to make sure that you have everything listed above. If you do not have all the ite[...]
-
Pagina 4
COM-2(PC)F iii Table of Contents Copyright ............................................................................ i Trademarks ........................................................................ i Product Configuration ..................................................... ii 1. Introduction ...............................................[...]
-
Pagina 5
COM-2(PC)F iv Mounting Method ............................................................ 28 Connecting the External Devices ................................... 31 Connecting the Cable ...................................................... 32 4. System Reference .................................................... 33 Specifications ...............[...]
-
Pagina 6
COM-2(PC)F v List of Figures Figure 3.1. Names of Board Components and Default Factory Settings ..................................................................... 23 Figure 3.2. I/O Address DIP Switch ............................................ 25 Figure 3.3. Interrupt Level Settings ............................................. 26 Figure 3.4. [...]
-
Pagina 7
COM-2(PC)F vi Figure 6.11. Flowchart of Sample Program 9 ................................ 53 Figure 6.12. Flowchart of Sample Program10 ............................... 54 Figure 6.13. Flowchart of Sample Program 11 .............................. 55 Figure 6.14. IVR Bit Function in Enhanced Mode ........................ 61 Figure 6.15. Difference in[...]
-
Pagina 8
COM-2(PC)F vii List of Tables Table 2.1. COM Port Support for V arious Programming Languages ................................................................. 21 Table 3.1. I/O Address Settings ................................................. 25 Table 3.2. Example Compatible Mode Settings ......................... 27 Table 4.1. Specifications ....[...]
-
Pagina 9
COM-2(PC)F viii[...]
-
Pagina 10
Introduction COM-2(PC)F 1 1. Introduction About the COM- 2(PC)F Board The COM- 2(PC)F is an IBM PC/ A T ISA-Bus add-on interface board for multi-channel RS-232C asynchronous communications. It features two serial communication ports and a programmable communication rate ranging from 50 to 115,200 bps for communication or modem control. Support Soft[...]
-
Pagina 11
Introduction COM-2(PC)F 2 Limited Three- Y ear Warranty CONTEC Interface boards are warranted by CONTEC Co., LTD to be free from defects in material and workmanship for up to three years from the date of purchase by the original purchaser. Repair will be free of charge only when this device is returned freight prepaid with a copy of the original in[...]
-
Pagina 12
Introduction COM-2(PC)F 3 About the Manual This manual consists of the following chapters : Chapter 1 Introduction Chapter 2 How to Use the Board Chapter 3 Hardware Setup Chapter 4 I/O Ports and Registers Chapter 5 System Reference Chapter 6 Troubleshooting Chapter 7 Index[...]
-
Pagina 13
Introduction COM-2(PC)F 4[...]
-
Pagina 14
How to Use the Board COM-2(PC)F 5 2. How to Use the Board Compatible Mode and Enhanced Mode The COM- 2(PC)F supports Compatible mode and Enhanced mode. In Compatible mode, the board channels operate as standard PC serial ports. In Enhanced mode, the board operates under CONTEC's proprietary control procedures. Give full consideration to the fe[...]
-
Pagina 15
How to Use the Board COM-2(PC)F 6 Operating under Windows Me/98 This section describes the procedure for using the board under Windows Me/98 and lists a number of points to note. Procedure When using the board under Windows Me/98, the OS must be set to recognize the I/O address and interrupt level used by the COM- 2(PC)F. In Windows Me/98, this is [...]
-
Pagina 16
How to Use the Board COM-2(PC)F 7 Compatible Mode Installation Procedure 1 1. Set the operation mode (I/O address) and interrupt level for the COM- 2(PC)F. Set the COM- 2(PC)F switch and jumpers as described in Hardware Setup. Set an interrupt level that is not currently used by the computer. 2. Insert the COM- 2(PC)F in an expansion slot and turn [...]
-
Pagina 17
How to Use the Board COM-2(PC)F 8 Compatible Mode Installation Procedure 2 1. Turn on the power to the PC without inserting the COM- 2(PC)F in an expansion slot. 2. After Windows Me/98 starts, select [Control Panel] from [My Computer] and start the [Add New Hardware]. 3. Clic k [Next >] in response to [To begin installing your new hardware, clic[...]
-
Pagina 18
How to Use the Board COM-2(PC)F 9 Enhanced Mode Installation Procedure When it is used with Enhanced Mode, API- PAC(W32) of the option is necessar y . Refer to Help "HWINSTE.HLP" of the way of registering the hardware being attached to API- PAC(W32) for the way of installing it. Check Resources Always check the PC resources (I/O address a[...]
-
Pagina 19
How to Use the Board COM-2(PC)F 10 Operating under Windows 95 This section describes the procedure for using the board under Windows 95 and lists a number of points to note. Procedure When using the board under Windows 95, the OS must be set to recognize the I/O address and interrupt level used by the COM- 2(PC)F. In Windows 95, this is called hard[...]
-
Pagina 20
How to Use the Board COM-2(PC)F 11 Compatible Mode Installation Procedure 1 1. Set the operation mode (I/O address) and interrupt level for the COM- 2(PC)F. Set the COM- 2(PC)F switch and jumpers as described in Hardware Setup. Set an interrupt level that is not currently used by the computer. 2. Insert the COM- 2(PC)F in an expansion slot and turn[...]
-
Pagina 21
How to Use the Board COM-2(PC)F 12 Compatible Mode Installation Procedure 2 1. Turn on the power to the PC without inserting the COM- 2(PC)F in an expansion slot. 2. After Windows 95 starts, select [Control Panel] from [My Computer] and start the [Add New Hardware]. 3. Click [Next >] in response to [To begin installing your new hardware, click N[...]
-
Pagina 22
How to Use the Board COM-2(PC)F 13 Enhanced Mode Installation Procedure When it is used with Enhanced Mode, API- PAC(W32) of the option is necessar y . Refer to Help "HWINSTE.HLP" of the way of registering the hardware being attached to API- PAC(W32) for the way of installing it. Check Resources Always check the PC resources (I/O address [...]
-
Pagina 23
How to Use the Board COM-2(PC)F 14 Operating under Windows 2000 This section describes the procedure for using the board under Windows 2000 and lists a number of points to note. Procedure When using the board under Windows 2000, the OS must be set to recognize the I/O address and interrupt level used by the COM- 2(PC)F. In Windows 2000, this is cal[...]
-
Pagina 24
How to Use the Board COM-2(PC)F 15 Compatible Mode Installation Procedure 1 It can ’ t be used with Compatible Mode when API- SIO(98/PC)NT of packing together is used for API-PAC(W32). 1. Set the operation mode (I/O address) and i nterrupt level for the COM- 2(PC)F. Set the COM- 2(PC)F switch and jumpers as described in Hardware Setup. Set an int[...]
-
Pagina 25
How to Use the Board COM-2(PC)F 16 Compatible Mode Installation Procedure 2 It can ’ t be used with Compatible Mode when API- SIO(98/PC)NT of packing together is used for API-PAC(W32). 1. Turn on the power to the PC without inserting the COM- 2(PC)F in an expansion slot. 2. After Windows 2000 starts, select [Control Panel] from [My Computer] and [...]
-
Pagina 26
How to Use the Board COM-2(PC)F 17 Enhanced Mode Installation Procedure When it is used with Enhanced Mode, API- PAC(W32) of the option is necessar y . Refer to Help "HWINSTE.HLP" of the way of registering the hardware being attached to API- PAC(W32) for the way of installing it. Check Resources Always check the PC resources (I/O address [...]
-
Pagina 27
How to Use the Board COM-2(PC)F 18 Operating under Windows NT This section describes the procedure for using the board under Windows NT and lists a number of points to note. Procedure First, set the operation mode (I/O address) and interrupt level for the COM- 2(PC)F. Set the COM- 2(PC)F switch and jumpers as described in Hardware Setup. When using[...]
-
Pagina 28
How to Use the Board COM-2(PC)F 19 Operating under Windows 3.1 This section describes the procedure for using the board under Windows 3.1 and lists a number of points to note. Procedure First, set the operation mode (I/O address) and interrupt level for the COM- 2(PC)F. Set the COM- 2(PC)F switch and jumpers as described in Hardware Setup. When usi[...]
-
Pagina 29
How to Use the Board COM-2(PC)F 20 Operating under MS-DOS This section describes the procedure for using the board under MS-DOS and lists a number of points to note. Procedure First, set the operation mode (I/O address) and interrupt level for the COM- 2(PC)F. Set the COM- 2(PC)F switch and jumpers as described in Hardware Setup. When using the boa[...]
-
Pagina 30
How to Use the Board COM-2(PC)F 21 Note! When used in Compatible mode, COM3 and COM4 are not supported by some programming languages. Check the specifications of the language you are using. T able 2.1. lists the COM ports supported by a number of common programming languages. Table 2.1. COM Port Support for V arious Programming Languages Language C[...]
-
Pagina 31
How to Use the Board COM-2(PC)F 22[...]
-
Pagina 32
Hardware Setup COM-2(PC)F 23 3. Hardware Setup Names of Board Components Figure 3.1. shows the names of various board components. The switch and jumper settings shown in the figure are the default factory settings. Figure 3.1. Names of Board Components and Default Factory Settings[...]
-
Pagina 33
Hardware Setup COM-2(PC)F 24 I/O Address Setting The board is an I/O device controlled by I/O instructions from the PC. I/O devices include expansion boards and devices inside the PC. The various devices are identified by their I/O addresses. I/O addresses are represented as four digit hexadecimal values (e.g. 02A0H) and act as the ID number for ea[...]
-
Pagina 34
Hardware Setup COM-2(PC)F 25 Setting Procedure The I/O address is set using a DIP switch (SW1) on the board. S W 1 1 2 3 4 O F F M OD E 1 2 3 4 Figure 3.2. I/O Address DIP Switch Table 3.1. I/O Address Settings SW1 Interrupt Vector Bit 1 Bit 2 Register Address ON Enhanced 1A0~1A7 1BF OFF Enhanced 2A0~2A7 2BF ON COM3 3E8~3EF --- OFF COM1 3F8~3FF ---[...]
-
Pagina 35
Hardware Setup COM-2(PC)F 26 Interrupt Level Setting The signal from the LSI (NS16550 equivalent) on the board can be used as an interrupt request signal based on the JP1, JP2, and JP3 settings. Note! When using interrupts, set an interrupt level that is not used by any other device. Setting Procedure When not Using Interrupts Place a short connect[...]
-
Pagina 36
Hardware Setup COM-2(PC)F 27 Table 3.2. lists the I/O address and standard interrupt level settings for COM1 to COM4 (Compatible mode). Table 3.2. Example Compatible Mode Settings Port I/O Address COM1 3F8~3FF IRQ4 COM2 2F8~2FF IRQ3 COM3 3E8~3EF IRQ4 *1 *1 On the IBM PS/55Z and similar, COM4 2E8~2EF IRQ3 COM3 uses IRQ3. Interrupt Level Note! If usi[...]
-
Pagina 37
Hardware Setup COM-2(PC)F 28 Mounting Method There are many kinds of boards that can be mounted in a computer's extension slots, however the mounting method is identical for any slot. Before starting (1) Set the Power switch to OFF. (2) Unplug the power cable from the AC outlet. Mounting the board (1) Remove the screws from the rear of the com[...]
-
Pagina 38
Hardware Setup COM-2(PC)F 29 (3) Remove th e screw retaining the cover of the slot where the board is to be mounted, and remove the cover from the rear panel. Figure 3.6. Expansion Slot Cover Caution! T o prevent a discharge of static electricity from damaging the board, it is important to ground yourself. Hold the packaged board in one hand and to[...]
-
Pagina 39
Hardware Setup COM-2(PC)F 30 (7) Ancho r the board with the scre w . Use the screw set aside in step 3. Tighten so that the board is held in place. Figure 3.7. Anchoring the COM- 2(PC)F (8) Replace the computer cover. (9) Connect the power cord.[...]
-
Pagina 40
Hardware Setup COM-2(PC)F 31 Connecting the External Devices Connecting the COM- 2(PC)F board to external devices is via two 9-pin D-SUB connector (male) on the board. C N 1 C N 2 5 9 1 6 5 1 9 6 O n - b o a r d C o n n e c t o r : D E L C - J9 P A F - 20 L 9 ( M a l e ) [ m f d . b y J AE ] A pp li c a t i o n C o nn e c t o r : 17J E - 13090 - 02[...]
-
Pagina 41
Hardware Setup COM-2(PC)F 32 Connecting the Cable The RS-232C interface requires that you use a different type of cable depending on the type of device being connected. For example, modem connections and computer (PC) connections require different cables. Accordingl y , check the specifications of the external device to which you are connecting and[...]
-
Pagina 42
System Reference COM-2(PC)F 33 4. System Reference Specifications Table 4.1. Specifications Item Specification Number of Channels 2 Input Type RS-232C External connectors Two 9-pin D-SUB connector (Male) Transfer Method Asychronous serial transfer Baud Rate 50~115,200bps *1 5, 6, 7, 8 bits 1, 1.5, 2 stop bits *1 Parity heck Even, Odd, Non-parity *1[...]
-
Pagina 43
System Reference COM-2(PC)F 34 Circuitry Diagrams T X D , R T S , D T R R X D , C T S , D S R S N 7 5188 S N 751 89 15 p F Figure 4.1. Circuitry Diagrams Block Diagram The following is a block diagram of the COM- 2(PC)F interface board. A DD R E SS D EC OD ER D A T A B U FF ER D a t a B u s ( D 7 ~ D 0 ) I B M - P C / A T B U S C N T R O L B U FF E[...]
-
Pagina 44
Troubleshooting COM-2(PC)F 35 5. Troubleshooting If you are having trouble with your board or program, answer the following questions to see if you can find the problem. QUESTIONS: STEPS TO TAKE Is the pilot light on? The system must be turned on and the power supply must be working. Check the main power switch and the power suppl y. Did the system[...]
-
Pagina 45
Troubleshooting COM-2(PC)F 36 Does the sample program work? Check the following: - Signals are connected to the correct pins. - Pin connections on the I/O cables are secure. - Signals are present at the e xternal connectors. - Try using the COM- 2(PC)F board with other non-essential boards removed. Remove other boards one by one, checking the COM- [...]
-
Pagina 46
Troubleshooting COM-2(PC)F 37 3. DOS Version. 4. Name of the CONTEC board that you are using. 5. N ames of other boards in the computer. 6. I/O addresses for the CONTEC board and all other boards. 7. Interrupt levels for the CONTEC board and all other boards. 8. DMA channels for the CONTEC board and all other boards (if applicable). 9. The programm[...]
-
Pagina 47
Troubleshooting COM-2(PC)F 38 10. Different I/O addresses you have tried. 11. Are you using your own program or a CONTEC sample program. 12. List AUTOEXEC.B AT. 13. List CONFIG.SYS.[...]
-
Pagina 48
Appendix COM-2(PC)F 39 6. Appendix A. Sample Programs (for MS-DOS) This section covers the sample programs that are supplied on the floppy disk included with this board. COM- 2(PC)F Diskette CONTEC supplies a sample program diskette with each COM- 2(PC)F board. This diskette contains sample programs to help you get started. Use the DOS DIR command [...]
-
Pagina 49
Appendix COM-2(PC)F 40 Sample Programs The programs are written in GW-BASIC and Microsoft C. The sample programs transmit data entered from the keyboard and display received data on the screen. Table 6.1. lists the communications data format. The sample programs listed in Figure 6.1. are included on the floppy disk. Table 6.1. Data Format Parameter[...]
-
Pagina 50
Appendix COM-2(PC)F 41 Notes! - All the sample programs must be run on a PC operating under MS-DOS. - Sample programs 3, 4, 6, and 10 cannot be used on a PC that already has COM1 and COM2 ports. Similarly, sample programs 11 cannot be used on a PC that already has COM3 and COM4 ports. - As sample programs 8 and 9 use half-duplex mode, they can only[...]
-
Pagina 51
Appendix COM-2(PC)F 42 Switch and Jumper Settings Table 6.2. Switch and Jumper Settings of Sample Program 1, 2, and 5 I t e m I / O A dd r e ss ( S W 1 ) I n t e rr u p t L e v e l ( J P 1 , J P 2 , J P 3 ) 1 2 3 4 O F F S W 1 J P 1 J P 2 J P 3 9 3 4 5 6 7 1 0 11 1 2 1 4 1 5 N C 9 3 4 5 6 7 1 0 11 1 2 1 4 1 5 N C 9 3 4 5 6 7 1 0 11 1 2 1 4 1 5 N C [...]
-
Pagina 52
Appendix COM-2(PC)F 43 Table 6.4. Switch and Jumper Settings of Sample Program 7 I t e m I / O A dd r e ss ( S W 1 ) I n t e rr u p t L e v e l ( J P 1 , J P 2 , J P 3 ) 1 2 3 4 O F F S W 1 J P 1 J P 2 J P 3 9 3 4 5 6 7 1 0 11 1 2 1 4 1 5 N C 9 3 4 5 6 7 1 0 11 1 2 1 4 1 5 N C 9 3 4 5 6 7 1 0 11 1 2 1 4 1 5 N C S e tt i n g s Table 6.5. Switch and [...]
-
Pagina 53
Appendix COM-2(PC)F 44 Cable Connection When running the sample programs 1 to 11 (except 8 and 9), use the interconnection cable as shown in Figure 6.2. for connection with the mating device in the Compatible mode. For use in the Enhanced mode, on the other hand, use the cross cable or the interconnection configuration diagram in Figure 6.2. P i n [...]
-
Pagina 54
Appendix COM-2(PC)F 45 Sample Program 1 This GW-BASIC sample program demonstrates the transmit-data capability of COM- 2(PC)F in Enhanced mode. First, it initializes the Asynchronous Communication Element (ACE) , then it transmits the data input from the keyboard to the external device through channel 1 (CN1). N o n e K e y I n K e y N o L i n e S [...]
-
Pagina 55
Appendix COM-2(PC)F 46 Sample Program 2 This GW-BASIC sample program demonstrates the receive-data capability of COM- 2(PC)F in Enhanced mode. First, it initializes the ACE , then it transmits the data input from the external device to CRT through CN1. S e t B a u d R a t e G e n e r a t o r 1 S e t M o d e m C o n t r o l O u t p u t R e a d L i n[...]
-
Pagina 56
Appendix COM-2(PC)F 47 Sample Program 3 This GW-BASIC sample program demonstrates the transmit-data capability of COM- 2(PC)F in Compatible mode. Using this [OPEN " COM1 : 9600, N, 8, 2, DS" AS #1] command opens the RS-232C communication file (COM1). It then writes the data input from the keyboard to COM1 through CN1. N o n e K e y I n K [...]
-
Pagina 57
Appendix COM-2(PC)F 48 Sample Program 4 This GW-BASIC sample program demonstrates the receive-data capability of COM- 2(PC)F in Compatible mode. Using this [OPEN " COM1 : 9600, N, 8, 2, DS" AS #1] command opens the RS-232C communication file (COM1). It then reads the data from COM1 and outputs to CRT through CN1. Y e s N o S e t C o mm un[...]
-
Pagina 58
Appendix COM-2(PC)F 49 Sample Program 5 This GW-BASIC sample program demonstrates the receive/transmit-data capability of COM- 2(PC)F in Enhanced mode. First, it initializes the ACE , it then receives the data input from the keyboard through CN1. Finally it outputs the data to C RT through CN2. Figure 6.7. Flowchart of Sample Program 5 1 1 S e t B [...]
-
Pagina 59
Appendix COM-2(PC)F 50 Sample Program 6 This GW-BASIC sample program demonstrates the receive/transmit-data capability of COM- 2(PC)F in Compatible mode. Using the [OPEN " COM1 : 9600, N, 8, 2, DS" AS #1] command and the [OPEN "COM2 : 9600, N, 8, 2, DS" AS #2] command opens two RS-232C communication files (COM1 and COM2). The pr[...]
-
Pagina 60
Appendix COM-2(PC)F 51 Sample Program 7 This GW-BASIC sample program demonstrates the receive/transmit-data capability of COM- 2(PC)F in Enhanced mode with interrupt input. It calls a machine language program to register and handle interrupt input. One channel's receive/transit- data routine is processed in the interrupt handler. The received [...]
-
Pagina 61
Appendix COM-2(PC)F 52 Sample Program 8 [Half-duplex data transmission (Enhanced mode)] The sample program 8 enables initialization on ACE, data transmission in the transmission mode, and waits for the receive data in the receive mode. 1 N o t e : W a i t T i m e = ( s e c ) D a t a L e n g t h B a u d R a t e N o Y e s 1 L i n e S t a t u s D 6 b [...]
-
Pagina 62
Appendix COM-2(PC)F 53 Sample Program 9 [Half-duplex data reception (Enhanced mode)] The sample program 9 enables initialization on ACE, receives 5-byte data; after transmission, the program enters the transmission mode for data transmission. N o Y e s 1 L i n e S t a t u s D 0 b i t = 1 S e t B a u d R a t e G e n e r a t o r 1 S e t I n t e rr u [...]
-
Pagina 63
Appendix COM-2(PC)F 54 Sample Program 10 [Data transmission and reception (COM1, COM2 mode)] Sample program 10 uses the bios_serialcom ( ) function for MS-C. It first receives the data transmitted from COM1, and then receives the data at COM1 transmitted from COM2. Received data is displayed on the C RT. 1 C O M 1 I n i t i a l i z a t i o n 1 C O [...]
-
Pagina 64
Appendix COM-2(PC)F 55 Sample Program 11 [Data transmission and reception (COM3, COM4 mode)] Sample program 11 uses the bios_serialcom ( ) function for MS-C. It first receives the data transmitted from COM3, and then receives the data at COM3 transmitted from COM4. Received data is displayed on the C RT. 1 C O M 3 I n i t i a li z a t i o n 1 C O M[...]
-
Pagina 65
Appendix COM-2(PC)F 56 B. Notes on Developing Driver Software Internal Registers COM- 2(PC)F uses the NS16550 (National Semiconductor) as the Asynchronous Communication Element (ACE). Within the address range of each channel, the offset addresses 0 through 7 furnish access to the internal registers of each of the two ACE's. Table 6.6. shows ho[...]
-
Pagina 66
Appendix COM-2(PC)F 57 Baud Rate Selection The COM- 2(PC)F board has one programmable baud rate generator for each of the two ACEs. The ACEs use a 1.8432MHz crystal oscillator as clock input. The baud rate generator takes the 1.8432MHz clock and divides it by a divisor from 1 to (2 16 - 1). The output frequency of the baud rate generator equals 16 [...]
-
Pagina 67
Appendix COM-2(PC)F 58 LSI Recovery Time Due to the ever higher CPU clock rates used in PCs, restrictions apply when controlling a peripheral LSI device by software. Table 6.8. lists the LSIs used on CONTEC boards which require special consideration when accessing. Take note of the following point when accessing these LSIs. In PCs using i386 or ear[...]
-
Pagina 68
Appendix COM-2(PC)F 59 Example program (for accessing an i8254 or equivalent) - Microsoft Macro Assembler OUT DX, AL ; Access to the i8254 IN AL, 2EFH ; Execute IN AL, 2EFH once to provide the recovery time - Microsoft C/C++ outp(port, byte); /* Access to the i8254 */ rt =inp(0x2ef); /* Execute rt=inp(0x2ef); once to provide the recovery time */[...]
-
Pagina 69
Appendix COM-2(PC)F 60 V arious Aspects of Interrupt Handling in Enhanced Mode and Compatible Mode Enhanced Mode When in Enhanced mode, two channels of the COM- 2(PC)F share the same interrupt request line. The interrupt levels can be set from IRQ3~IRQ7, IRQ9~IRQ12, IRQ14, and IRQ15 by setting JP1 before installing this board. Each channel's i[...]
-
Pagina 70
Appendix COM-2(PC)F 61 O u t p u t P o r t 2 B F / 1 B F D 7 N o t U s e d G l o ba l I n t e rr u p t 0 : D i s ab l e 1 : E n a b l e D 6 D 5 D 4 D 3 D 2 D 1 D 0 I n p u t P o r t 2 B F / 1 B F D 7 N o t U s e d C H 1 I n t e r r u p t 0 : O cc u rr e d 1 : N o t O c c u rr e d D 6 D 5 D 4 D 3 D 2 D 1 D 0 C H 2 I n t e r r u p t 0 : O cc u rr e d[...]
-
Pagina 71
Appendix COM-2(PC)F 62 C. The Details on NS16550 Table 6.9. NS16550's Register (Short from National Semiconductor's data book) < 1 / 2 > Register 0 DLAB = 0 0 DLAB = 0 1 DLAB = 0 2 2 3 Bit Receiver Transmitter Interrupt Interrupt FIFO Line No. Buffer Holding Enable Ident. Control Control Register Register Register Register Register [...]
-
Pagina 72
Appendix COM-2(PC)F 63 Table 6.9. NS16550's Register (Short from National Semiconductor's data book) < 2 / 2 > Register 4 5 6 7 0 DLAB = 1 1 DLAB =1 Bit MODEM Line MODEM Scratch Divisor Divisor No. Control Status Status Register Latch Latch Register Register Register (LS) (MS) MCR LSR MSR SCR DLL DLM 0 Data Data Delta Bit 0 Bit 0 Bi[...]
-
Pagina 73
Appendix COM-2(PC)F 64 D. Difference Between the COM- 2(PC)F and COM-2(PC)V The COM- 2(PC)F is an upgrade of the previous COM-2(PC)V board and is upwardly compatible. Therefore, the board can generally be used in the same way as the COM- 2(PC) V. However, as the bus specification has changed from the XT bus to the A T bus and the board sizes are di[...]
-
Pagina 74
Index COM-2(PC)F 65 7. Index B Baud Rate, 57 Block Diagram, 34 Board Setup, 25 C Circuitry Diagrams, 34 Compatible Mode, 5 Connectors, 31 E Enhanced Mode, 5 External Connection, 31 F Features, 1 I I/O Address, 24 Internal Registers, 56 Interrupt Level, 26 L Liabilit y , 2 LSI Recovery Time, 58 M Mounting Method, 28 MS-DOS, 20 N NS16550's Regis[...]
-
Pagina 75
Index COM- 2(PC)F 66 W W arrant y , 2 Windows 2000, 14 Windows 3.1, 19 Windows 95, 10 Windows Me/ 98, 6 Windows NT, 18[...]
-
Pagina 76
A-41-606 LZU2821 021025 [961015 ][...]
-
Pagina 77
A-46-368 Ver. 2001. 02. 06 CONTEC Group JAPAN : Headquarters CONTEC C o ., LTD. 3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-0025, Japan Tel : +81 (6) 6 477-5219 Fax : +81 (6) 6 477-1692 E-mail : intsales@osaka.contec.co. jp U.S.A. : CONTEC MICROELECTRONICS U.S.A. INC. 744 S outh Hillview Dr ive, Milpitas, CA 95035 U.S.A. Tel : +1 (408) 719-8200 F[...]