Moxa Technologies INTELLIO C218 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Moxa Technologies INTELLIO C218. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoMoxa Technologies INTELLIO C218 vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Moxa Technologies INTELLIO C218 você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Moxa Technologies INTELLIO C218, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Moxa Technologies INTELLIO C218 deve conte:
- dados técnicos do dispositivo Moxa Technologies INTELLIO C218
- nome do fabricante e ano de fabricação do dispositivo Moxa Technologies INTELLIO C218
- instruções de utilização, regulação e manutenção do dispositivo Moxa Technologies INTELLIO C218
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Moxa Technologies INTELLIO C218 não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Moxa Technologies INTELLIO C218 e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Moxa Technologies na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Moxa Technologies INTELLIO C218, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Moxa Technologies INTELLIO C218, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Moxa Technologies INTELLIO C218. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    In te ll io C218 Tu rb o /PCI User’s Manual A High Performance 8 Port Async Board for PCI Bus March. 1999 (3rd Edition) The content of this manual is also available in CD-ROM and at Moxa Web Site. Moxa Technologies Co., Ltd. Tel: +866-2-8665-6373 Fax: +886-2-8665-6372 www.moxa.com support@moxa.com.tw[...]

  • Página 2

    I nt el li o C218 Tu rb o /PCI 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 the agreements. Copyright Notice Copyright  1999 Moxa Technologies Co., Ltd. All rights reserved. Reproduction in any form without permission is prohibited. Trademarks MO[...]

  • Página 3

    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 addr[...]

  • Página 4

    About This Manual This manual is composed of six Chapters and one Appendix. 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 4. If you are a software programmer, you may refer to Chapter 4 “[...]

  • Página 5

    Table of Contents Introduction ............................................................................... 1-1 Overview ................................ ................................ ................................ ............ 1-1 Features ................................ ................................ ................................ ..[...]

  • Página 6

    Extended UNIX Ioctl() Commands................................ ................................ ......... 4-6 Utilities ................................ ................................ ................................ ................ 4-12 RS-485 Programming for Opt8J ................................ ................................ ....... 4-15 C[...]

  • Página 7

    Intellio C218 Turbo / PCI User's Manual 1-1 1 1 1 I nt r od uc t i on Overview I n t el li o - The Intelligent Multiport Serial I/O Solutions The I n te l l io C218 T u r b o /PCI is an 8 port high performance intelligent serial interface board designed for 32-bit PCI bus with “ Plug and Play ” feature. It is suitable for remote access, in[...]

  • Página 8

    1-2 Intellio C218 Turbo / PCI User's Manual ASIC Design, Compact Size The Intellio C218 Turbo /PCI is also equipped with MOXA customer-designed ASIC chip, which replaces lots of conventional IC and hence reduces the board to half-size, increases the operation performance, and lower s the failure rate of the board. Surge/Isolation Protection To[...]

  • Página 9

    Introduction Intellio C218 Turbo / PCI User's Manual 1-3 l PC-based (vending) Machine or Kiosk System Point-of-Sale (POS) System Features The following is a summary of all the outstanding features of Intellio C218 Turbo /PCI: v High speed serial communication channel ¡Ð max. 921.6 Kbps per port (Max. speed may be limited by certain connectio[...]

  • Página 10

    1-4 Intellio C218 Turbo / PCI User's Manual v Device driver diskettes: l Windows NT and Windows 95/98 ¡Ñ 1 l P C o mm Lite ¡Ñ 1 l UNIX ¡Ñ 1 v Intellio C218 Turbo /PCI User's Manual (This Manual) You need also one of the following connection options: Opt8A/Opt8B/Opt8S v RS-232 connection box with 8 DB25 female/male/female ports, resp[...]

  • Página 11

    Introduction Intellio C218 Turbo / PCI User's Manual 1-5 Installation Guide This section gives a brief summary of how to install the Intellio C218 Turbo /PCI under each supported operating system. Installation is simple and involves the following stages: Check PCI BIOS settings Install Intellio C218 Turbo /PCI board See Chapter 2 And connectio[...]

  • Página 12

    1-6 Intellio C218 Turbo / PCI User's Manual[...]

  • Página 13

    Intellio C218 Turbo / PCI User's Manual 2-1 2 2 2 H ar dw ar e In s ta l l at i on The installation of I n te l li o C218 T u r bo /PCI consists of hardware installation and software installation. For software installation, please refer to the respective section of operating systems in the next chapter. Hardware installation is stated in this [...]

  • Página 14

    2-2 Intellio C218 Turbo / PCI User's Manual Step 7: Connect one of the connection box/cable (also adapter if required) detailed in the next Section. Step 8: Power on PC and BIOS will automatically set the IRQ and memory address. Note ! Each board must occupy one unique IRQ and one unique memory address, which are assigned by PCI BIOS automatic[...]

  • Página 15

    Hardware Installation Intellio C218 Turbo / PCI User's Manual 2-3 1 2 3 4 5 6 7 8 T x R x Opt 8A /Opt8 B/O pt 8S Inte l li o C2 1 8 Tur b o / PC I Opt8C/Opt8D Hold one end of the DB62 cable and plug it into the DB62 connector on the bracket of the Intellio C218 Turbo /PCI. Screw it carefully until it fits. P1 P2 P3 P4 P6 P5 P7 P8 Opt8C/Opt8D I[...]

  • Página 16

    2-4 Intellio C218 Turbo / PCI User's Manual 1 2 3 4 5 6 7 8 T x R x Opt8F/Opt8Z/Opt8J Intel lio C 218 Tur bo /PCI If you can't make the Intellio C218 Turbo /PCI work properly after installation, please refer to Chapter “Troubleshooting”. Refer to Chapter “Connection Option (Opt8x) and Cable Wiring” for RS-232/RS- 422/RS-485 cable [...]

  • Página 17

    Hardware Installation Intellio C218 Turbo / PCI User's Manual 2-5 RS-422 Mode Set the respective switch to OFF position to use RS-422 interface. This means the port is always ready to transmit and receive data simultaneously ( full-duplex). RS-485 Mode The Opt8J supports only 2-wire RS-485 communication. Set the respective switch to ON positio[...]

  • Página 18

    2-6 Intellio C218 Turbo / PCI User's Manual[...]

  • Página 19

    Intellio C218 Turbo / PCI User's Manual 3-1 3 3 3 S of t wa r e I ns t al l a ti o n In this chapter, software driver installation, configuration and driver upgrade/removal procedures are described for various operating systems, including Windows NT, Windows 95/98 and UNIX. Before proceeding with software installation, complete the hardware in[...]

  • Página 20

    3-2 Intellio C218 Turbo / PCI User's Manual Installing Driver The following is the procedure for installing the Intellio C218 Turbo /PCI driver for the first time under Windows NT 4.0. Make sure the board(s) has(have) already been plugged in the system PCI slot. 1. Please Login NT as Administrator . 2. From [ Control Panel ], open [ Network ] [...]

  • Página 21

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-3 5. Select “ MOXA I n te l li o C218Turbo Multiport Board ” in the “Select OEM Option” dialog box, and then click [ OK ] to enter the “ MOXA Configuration Panel ” dialog box to start the installation. 6. In the “ MOXA Configuration Panel ” dialog box, click [ Add [...]

  • Página 22

    3-4 Intellio C218 Turbo / PCI User's Manual 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 C[...]

  • Página 23

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-5 In the “Advanced Settings” dialog, you may customize the driver with the following two features: l UART FIFO Enable : You can set this feature to “Enable” (default) and gain best performance for the board. Disable : You can set this feature to “Disable” to avoid from[...]

  • Página 24

    3-6 Intellio C218 Turbo / PCI User's Manual 8. Click [ OK ] in the “Individual Port Setting ” and the “Property” dialog boxes to go back to the “MOXA Configuration Panel” dialog box. Click [ OK ] to finish the configuration. However, if you installed more than one board, click [Add] and repeat steps 6 and 7 to configure another boa[...]

  • Página 25

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-7 l Enter [ Administrative ] group, then open [ Event Viewer ] icon and then select [ Application Event Log ] item to check for successful message similar to "MOXA C218Turbo/PCI Multiport Board #1: addr(XXX) O.K." for each configured board. l If error message is like “[...]

  • Página 26

    3-8 Intellio C218 Turbo / PCI User's Manual 3. Click on [ Properties… ] button to start the “MOXA Configuration Panel” dialog. In this configuration panel, you may: l Click [ Property ] to enter “Property” dialog box to configure the selected board with the correct “ Total Ports ” and “ COM Number ”. Please see steps 6 to 8 i[...]

  • Página 27

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-9 l Click [ Add ] to add one more board that is not yet configured in the system. Up to four of Intellio C218 Turbo /PCI boards can be installed together as long as the memory and IRQ resources are sufficient and available in a system. Please see steps 6 to 8 in the previous secti[...]

  • Página 28

    3-10 Intellio C218 Turbo / PCI User's Manual Removing Driver To remove the driver for the Intellio C218 Turbo /PCI board, 1. Open the [ Control Panel ], click on the [ Network ] icon and select the [Adapters] tab. 2. Select “ MOXA I nt e l li o C218Turbo Adapter ” in the adapter list, then click on the [ Remove ] button and the [ OK ] butt[...]

  • Página 29

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-11 Installing Driver If you are the first time installer or you want to install more board, this section is for you. You can easily plug the Intellio C218 Turbo /PCI board and work right away with little installation effort under Windows 95/98, which supports Plug and Play capabil[...]

  • Página 30

    3-12 Intellio C218 Turbo / PCI User's Manual The following flow chart illustrates the driver installation stages of the Intellio C218 Turbo /PCI board . Each stage is detailed later. See Chapter “Hardware Installation” Yes Driver installed before? No Install the Intellio PCI board in the system Start Windows 95/98 to detect the board Insta[...]

  • Página 31

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-13 First Time Driver Installation Stage The stage presents the steps for installing the driver for the first time with the first Intellio C218 Turbo /PCI board. The installation of Intellio C218 Turbo /PCI board for Windows 95 and Windows 98 differs slightly and will be described [...]

  • Página 32

    3-14 Intellio C218 Turbo / PCI User's Manual 3. Type “ A:Windows.95 ” in the Location field, and click [ OK ]. The system will start reading the files from the diskette. 4. Clink on the [Finish] button. 3. Selct “Other Devices” and click [Next>]. 4. Click on the [Have Disk] button. 5. Type “ A:Windows.95 ” and click [ OK ]. Th[...]

  • Página 33

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-15 6. Click [Next>]. 7. Click [Next>].[...]

  • Página 34

    3-16 Intellio C218 Turbo / PCI User's Manual Port Configuration Stage This stage displays the “ MOXA Ports Installation ” dialog box for the port configuration. Here you can map the MOXA ports to the system COM numbers. In the “MOXA Ports Installation” dialog box, the “COM Number” field of the newly installed board is undefined . Y[...]

  • Página 35

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-17 Board and Port Ready Stage Click on [ OK ] buttons for all the dialog boxes to finish the configuration and exit the “MOXA Ports Installation” dialog. In this last stage, you will complete the driver installation. Windows 95 After the port installation, you can immediately [...]

  • Página 36

    3-18 Intellio C218 Turbo / PCI User's Manual Once the installation is finished, error conditions of the board, if any , are displayed on the screen. Otherwise, everything should be fine. If an error message similar to “C218Turbo/PCI ( BusNo=x, DevNo=x) at base memory [XXX] interrupt failure!” appears, consult the “Troubleshooting” chap[...]

  • Página 37

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-19 Configu ring Board and Port If you already have installed the driver and want to re-configure the Intellio C 2 1 8 T u r b o /PCI board under Windows 95/98, the following is the procedure for you. 1. Click on the Taskbar [ Start ] button, select the [ Programs ] menu, and then [...]

  • Página 38

    3-20 Intellio C218 Turbo / PCI User's Manual 3. In the “Property” dialog, you may click on [ Port Setting ] button to enter the following “Individual Port Setting” dialog box to change the port COM number mappings or do the advanced settings..[...]

  • Página 39

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-21 In the “Individual Port Setting” dialog box, you may have two ways to map the physical ports to COM numbers depending on the “ Auto Enumerating COM number ” check box. l Sequential Port Mapping: (Enable “Auto Enumerating COM number”) Specify the COM number of the fi[...]

  • Página 40

    3-22 Intellio C218 Turbo / PCI User's Manual In the “Advanced Setting s” dialog box, you may customize the driver with the following two features: l UART FIFO Enable : You can set this feature to “Enable” (default) and gain best performance for the board. Disable : You can set this feature to "Disable" to avoid from data loss[...]

  • Página 41

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-23 Updating driver Open the [ Control Panel ] and click on the [ System ] button, and select the [ Device Manager ] tab. Select the “ Moxa Intellio Multiport Board ” entry and the “ Moxa C218Turbo/PCI ” entry. Click on the [ Properties ] button and select the [ Driver ] ta[...]

  • Página 42

    3-24 Intellio C218 Turbo / PCI User's Manual UNIX There are various UNIX operating systems, such as SCO UNIX, UNIX SVR4.2, XENIX and Solaris, etc. Different types of UNIX drivers are required for different UNIX. Moxa supports device drivers currently for SCO UNIX , UNIX SVR4.2 and XENIX. . In this section, driver installation procedure is desc[...]

  • Página 43

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-25 MOXA UNIX Device Driver Installation Ver. x.x Please select one of the following OS: 1. SCO UNIX 2. UNIX SVR4.2 3. XENIX Select: Please select one of the devices where the driver diskette/files put: 1. /dev/fd0135ds18 (A: 1.44MB) 2. /dev/fd096ds15 (A: 1.2 MB) 3. /dev/fd1135ds18[...]

  • Página 44

    3-26 Intellio C218 Turbo / PCI User's Manual For more details, see later section “ Administration Utility - mxadm” . Up to now, you have already completed the whole installation and the I nt e l li o C218 T ur b o /PCI board is ready to work. Note! Please double check if all the Intellio C218 Turbo /PCI components: Control Board, link cabl[...]

  • Página 45

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-27 MOXA TTY Device Naming Convention If the Intellio C218 Turbo /PCI is successfully configured, there will be two tty devices created for each port at /dev directory: one is non-MODEM tty (e.g. ttya11), and the other is MODEM tty (e.g. ttyA11). The two devices are actually access[...]

  • Página 46

    3-28 Intellio C218 Turbo / PCI User's Manual Administration Utility - mxadm You can use the administration utility, mxadm , to change the Intellio C218 Turbo /PCI basic and advanced configuration , to reset the board , to tune performance and to remove the installed MOXA driver from the UNIX system, which are detailed as follows. For the detai[...]

  • Página 47

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-29 In the “Basic Configuration” dialog, you should first press Enter in board type field to select board type, C218Turbo/PCI . And then a list of Intellio C218 Turbo /PCI boards found available is popped up for you to select. Normally, one choice is available if there is one I[...]

  • Página 48

    3-30 Intellio C218 Turbo / PCI User's Manual Advanced Configuration This is to provide advanced settings for advanced driver features beyond basic settings described in the previous Basic Configuration . Similarly, in “Board Settings” dialog, board reset (described later) is available for the latest configuration to take effect without ker[...]

  • Página 49

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-31 2. Press PageDown to enter “Advanced Port Settings” sub-dialog, there are some noticeable fields for initialize the ports for advanced usage. You may skip this step if you do not concern these features. Feature In “Port Feature Settings” sub-dialog, port feature [Termin[...]

  • Página 50

    3-32 Intellio C218 Turbo / PCI User's Manual Response Three levels, Slow, Normal and Fast, of port response time are designed for user's need. Ports with faster response time will consume more host CPU's resource while slower response consumes less resource. The response time for those ports with normal or slow response can be furthe[...]

  • Página 51

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-33 Performance Tuning The utility let you tune the favored response time for those ports with Resp = Norm or Slow in [Port Feature] sub-menu of Advanced configuration. Ten response time levels (0-9) are available for tuning. The idea is that the faster response time will consume m[...]

  • Página 52

    3-34 Intellio C218 Turbo / PCI User's Manual However, before the board reset is issued, you must make sure that 1. All enabled ports must be disabled. 2. All processes related to the Intellio C218 Turbo /PCI, including getty or tty monitor, are killed. Once the board is reset, the following message may show if it is successful. MOXA Serial I/O[...]

  • Página 53

    Software Installation Intellio C218 Turbo / PCI User's Manual 3-35 Checking Board Initialization Status When the system starts up and enters into the multiuser mode, you should see the board initialization status report, which is same as one of the messages described in the “Board Reset” part of previous section. Setting MOXA Ports to Term[...]

  • Página 54

    3-36 Intellio C218 Turbo / PCI User's Manual[...]

  • Página 55

    Intellio C218 Turbo / PCI User's Manual 4-1 4 4 4 S er i a l P r o gr am m i ng T oo l s Moxa supports powerful but easy serial programming library and utilities under Windows NT, Windows 95/98 and UNIX. You will greatly save the developing time with the MOXA Serial Programming Tools. The following sections will details the installation, the l[...]

  • Página 56

    4-2 Intellio C218 Turbo / PCI User's Manual P Co m m 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 t[...]

  • Página 57

    S e ri a l P ro g ra m m i ng T o ol s Intellio C218 Turbo / PCI User's Manual 4-3 Diagnostic (for MOXA boards only) A co3nvenient diagnostic program provides internal and external testing, such as IRQ, TxD/RxD, UART, CTS/RTS, DTR/DSR, DTR/DCD testing, etc., for the MOXA boards and ports to verify correct operation of both the software and har[...]

  • Página 58

    4-4 Intellio C218 Turbo / PCI User's Manual Monitor (for MOXA boards under Windows NT Only) A useful port status monitoring program allows you to watch the selected MOXA COM ports' data transmitting/receiving throughput and communication line status which are updated and displayed on the screen at every time interval. In addition, you may[...]

  • Página 59

    S e ri a l P ro g ra m m i ng T o ol s Intellio C218 Turbo / PCI User's Manual 4-5 Terminal Emulator The Terminal Emulator features multi-windows and supports terminal types of VT100 and ANSI. You can transfer data interactively, send pattern periodically or transfer file using ASCII, XMODEM, YMODEM, ZMODEM and KERMIT protocols.[...]

  • Página 60

    4-6 Intellio C218 Turbo / PCI User's Manual UNIX Programming the MOXA Ports The system calls that apply to standard tty port can also be applied to MOXA port since MOXA port conforms to UNIX tty standard. System calls are like open(), ioctl(), read(), write(), close(), etc. Please refer to your UNIX Programmer's Reference manual. However,[...]

  • Página 61

    S e ri a l P ro g ra m m i ng T o ol s Intellio C218 Turbo / PCI User's Manual 4-7 Syntax for SCO UNIX/XENIX #define MIBUFED 0x401 int count; /* number of bytes queued in the buffer */ ioctl(moxa_fd, MIBUFED, &count); Syntax for UNIX SVR4 #include <sys/stropts.h> #include <sys/sysmacros.h> #define MIBUFED 0x401 struct strioctl [...]

  • Página 62

    4-8 Intellio C218 Turbo / PCI User's Manual ioc.ic _cmd = MOBUFED; ioc.ic _timout = 0; ioc.ic _len = sizeof( int); ioc.ic _dp = (char *)&count; ioctl(moxa_fd, I_STR, & ioc); Note: See MIBUFED for influence of STREAMS driver. 3. MTCRTS This function, only valid when hardware flow control is turned off (see MHWFLOW), is used to drive RTS[...]

  • Página 63

    S e ri a l P ro g ra m m i ng T o ol s Intellio C218 Turbo / PCI User's Manual 4-9 Syntax for SCO UNIX/XENIX #define MTCDTR 0x404 #define TurnON 1 #define TurnOFF 0 ioctl(moxa_fd, MTCDTR, TurnON); ioctl(moxa_fd, MTCDTR, TurnOFF); Syntax for UNIX SVR4 #include <sys/stropts.h> #include <sys/sysmacros.h> #define MTCDTR 0x404 #define T[...]

  • Página 64

    4-10 Intellio C218 Turbo / PCI User's Manual Syntax for SCO UNIX/XENIX #define MLOWATER 0x405 int lowater; /* low water value of output buffer (default = 512 bytes) */ ioctl(moxa_fd, MLOWATER, lowater); Syntax for UNIX SVR4 #include <sys/stropts.h> #include <sys/sysmacros.h> #define MLOWATER 0x405 struct strioctl ioc; int lowater; [...]

  • Página 65

    S e ri a l P ro g ra m m i ng T o ol s Intellio C218 Turbo / PCI User's Manual 4-11 7. MHWFLOW This function is used to enable/disable hardware flow control. The first open() function of a port will set the hardware flow control bits on or off depending on the [ RTS/CTS Hardware Flow Control ] configuration in mxadm . However, users might want[...]

  • Página 66

    4-12 Intellio C218 Turbo / PCI User's Manual Utilities You can use the administration utility, mxadm , to monitor port activity and to do terminal emulation , which are details as follows. Port Monitoring This utility gives you a quick view about all the MOXA ports' activities. You can easily learn each port's total received/transmit[...]

  • Página 67

    S e ri a l P ro g ra m m i ng T o ol s Intellio C218 Turbo / PCI User's Manual 4-13 Terminal Emulator Th i s u ti l it y pr o vi de s d at a s en d in g an d r ec e iv in g a bi l it y of al l tt y po r ts , es p ec ia l ly f o r MO X A po rt s . I t i s qu it e use f ul fo r te st i ng si mp l e a pp l ic at i on , f o r e xa mp l e, se n di [...]

  • Página 68

    4-14 Intellio C218 Turbo / PCI User's Manual 2 Select and enter “Terminal” to enter terminal emulation. Or select and enter “Advanced Transfer Modes” to perform pattern or file transfer with protocols such as ZModem.[...]

  • Página 69

    S e ri a l P ro g ra m m i ng T o ol s Intellio C218 Turbo / PCI User's Manual 4-15 RS-485 Programming for Opt8J If you intend to do RS-485 communication with Opt8J, please follow the RS-485 programming guide below and also refer to Chapter “ Connection Option (Opt8x) and Cable Wiring ” for more Opt8J RS-485 operation details. The Opt8J su[...]

  • Página 70

    4-16 Intellio C218 Turbo / PCI User's Manual Solution 2 There's a dedicated RS-485 function in PComm library. It integrates the above functions of solution 1 regarding sending data as one. sio_putb_x(port, buff, tick ); /* 1. Turn on RTS and ready for transmitting data. 2. Send data. 3. Wait for tick time. 4. Turn off RTS and ready for re[...]

  • Página 71

    Intellio C218 Turbo / PCI User's Manual 5-1 5 5 5 C on ne cti o n O pti o n (O pt 8x ) a nd C abl e W i ri ng In serial data communications, the term DTE is for Data Terminal Equipment like PC COM1/2, serial printer and terminal. The term DCE is for Data Communication Equipment like modem. Please check the precise pinouts, the following pinout[...]

  • Página 72

    5-2 Intellio C218 Turbo / PCI User's Manual The followings are pin assignments for various connection options: Opt8A/S (DCE, DB25 Female) 2 RxD 3 TxD 4 CTS 5 RTS 6 DTR 7 GND 8 DCD 20 DSR Opt8B/C (DTE, DB25 Male) 2 TxD 3 RxD 4 RTS 5 CTS 6 DSR 7 GND 8 DCD 20 DTR Opt8D (DTE, DB9 Male) 1 DCD 2 RxD 3 TxD 4 DTR 5 GND 6 DSR 7 RTS 8 CTS[...]

  • Página 73

    Connection Option (Opt8x) and Cable Wiring Intellio C218 Turbo / PCI User's Manual 5-3 Type 1: To connect In t el l io C218 Tu r b o /PCI to a DTE device. PC COM2 po rt, Se rial Printer, Terminal, or any DTE Dev ice Opt8A/S Straight-thro ugh Cable Opt8A/S DTE Device DB25 Female DB25 Male RxD 2 2 TxD TxD 3 3 RxD CTS 4 4 RTS RTS 5 5 CTS DTR 6 6 [...]

  • Página 74

    5-4 Intellio C218 Turbo / PCI User's Manual PC COM2 p ort, Se rial Printer, Terminal, or any DTE De v ice Opt8D Opt8D DTE Device DB9 Male DB25 Male RxD 2 2 TxD TxD 3 3 RxD CTS 8 4 RTS RTS 7 5 CTS DTR 4 6 DSR DSR 6 20 DTR GND 5 7 GND DCD 1 8 DCD Type 2: To connect I nt e l li o C218 T ur b o /PCI to a DCE device. Modem, or any DCE Device Opt8A/[...]

  • Página 75

    Connection Option (Opt8x) and Cable Wiring Intellio C218 Turbo / PCI User's Manual 5-5 Modem, or any DCE D evice Opt8B/C Straight-thro ugh Cable Opt8B/C DCE Device DB25 Male DB25 Female TxD 2 2 RxD RxD 3 3 TxD RTS 4 4 CTS CTS 5 5 RTS DSR 6 6 DTR DTR 20 20 DSR GND 7 7 GND DCD 8 8 DCD Modem or any DCE D evice Opt8D Opt8D DCE Device DB9 Male DB25[...]

  • Página 76

    5-6 Intellio C218 Turbo / PCI User's Manual Type 3: To connect I nt e l li o C218 T ur b o /PCI to a DTE with 3-pin wiring. If the “ Hardware flow control ” feature is set to “ ON ”, you must loop back (or short) the RTS with CTS and DSR with DTR, DCD on MOXA site, indicated in dash-lines of the following diagrams. If the “ Hardware [...]

  • Página 77

    Connection Option (Opt8x) and Cable Wiring Intellio C218 Turbo / PCI User's Manual 5-7 PC COM2 p ort, Se rial Printer, Terminal, or any DTE De v ice Opt8D Opt8D DTE Device DB9 Male DB25 Male RxD 2 2 TxD TxD 3 3 RxD GND 5 7 GND RTS 7 4 RTS CTS 8 5 CTS DTR 4 6 DTR DSR 6 20 DSR DCD 1 8 DCD[...]

  • Página 78

    5-8 Intellio C218 Turbo / PCI User's Manual RS-422 Cable Wiring for Opt8J/F/Z RS-422 connection boxes designed for Intellio C218 Turbo /PCI are: Opt8J: Connection box with 8 female RS-422/485 DB25 ports. Set the port switch to OFF position (RS-422) for the desired port(s). Opt8F: Connection box with 8 female RS-422 DB25 ports and Max. 500V DC [...]

  • Página 79

    Connection Option (Opt8x) and Cable Wiring Intellio C218 Turbo / PCI User's Manual 5-9 The followings are operation modes for RS-422: RS-422 Point-to-point RS-422 Broadcasting Opt8F/Z RS-422 Device Opt8J/F/Z RS-422 Device 1 3 TxD+(B) RxD+(B) 3 TxD+(B) RxD+(B) 16 TxD-(A) RxD-(A) 2 RxD+(B) TxD+(B) 2 RxD+(B) TxD+(B) 16 TxD -(A) RxD-(A) 14 RxD-(A)[...]

  • Página 80

    5-10 Intellio C218 Turbo / PCI User's Manual RS-485 Cable Wiring for Opt8J One RS-485 connection box designed for Intellio C218 Turbo /PCI is: Opt8J: Connection box with 8 female RS-422/485 DB25 ports. Set the port switch to ON position. The Opt8J supports only 2-wire half-duplex RS-485 communication . Data+/- pins are served for both data tra[...]

  • Página 81

    Connection Option (Opt8x) and Cable Wiring Intellio C218 Turbo / PCI User's Manual 5-11 RS-422/485 Impedance Matching For RS-422/485 serial communications, when an electrical signal travels through two different resistance junctions in a transmission line, the impedance mismatch will sometimes cause signal reflection. Signal reflection causes [...]

  • Página 82

    5-12 Intellio C218 Turbo / PCI User's Manual[...]

  • Página 83

    Intellio C218 Turbo / PCI User's Manual 6-1 6 6 6 T r ou bl e s ho ot i ng Common C218 Turbo /PCI problems and possible solutions are listed below, in addition to those operating systems specific ones. If you still have problems, contact your dealer or Moxa for help. Or report it using “ Problem Report Form ” at the end of this manual to y[...]

  • Página 84

    6-2 Intellio C218 Turbo / PCI User's Manual report of diagnostics shows error, replace the error component. Software Causes and Solutions: a. Intellio C218 Turbo Series will check line status (CTS) before it sends data out if RTS/CTS flow control feature is set to “Enable” in configuration or application program. Please see Chapter “Conn[...]

  • Página 85

    T r ou b l es h o ot i n g Intellio C218 Turbo / PCI User's Manual 6-3 3. Windows NT system panic (blue screen). The possible reason is IRQ or memory conflict with other ISA Bus adapters like LAN and SCSI board or system BIOS. Please refer to the corresponding problem in previous Section "General Troubleshooting" for solutions. 4. Er[...]

  • Página 86

    6-4 Intellio C218 Turbo / PCI User's Manual UNIX This section is specific for troubleshooting under UNIX. For general problems and solutions, please see previous Section "General Troubleshooting". 1. During system reboot, error message “WARNING! C218 Turbo/PCI (XX000;BusNo=X;DevNo=X) not found!” appears. The possible cause is mem[...]

  • Página 87

    T r ou b l es h o ot i n g Intellio C218 Turbo / PCI User's Manual 6-5 5. The newly rebuilt kernel could not boot. The C218 Turbo /PCI driver might not be built into the new kernel correctly. a. Please use the last good kernel backup to boot again. The kernel backup in SCO UNIX is /unix.moxa while in UNIX SVR4.2 /stand/unix.moxa . b. Then remo[...]

  • Página 88

    6-6 Intellio C218 Turbo / PCI User's Manual[...]

  • Página 89

    Intellio C218 Turbo / PCI User's Manual A-1 A A p p p p e e n n d d i i x x A T ec h ni c al R ef e re n ce Specifications v Bus interface: 32-bit PCI (PCI Spec. 2.1 compliance) v Number of ports: 8 v Max. boards: 4 v Base memory addr.: Assigned by PCI BIOS (Maps to 16K Bytes system RAM) v IRQ: Assigned by PCI BIOS (2, 3, 4, 5, 7, 10, 11, 12, [...]

  • Página 90

    A-2 Intellio C218 Turbo / PCI User's Manual C218 Turbo /PCI Windows NT 3 Windows 95/98 3 SCO UNIX/OpenServer 3 UNIX SVR4.2 3 XENIX 3 3 : Driver supported by Moxa and shipped with product Note : Download the newest drivers from the MOXA FTP service PCI The 32-bit Intellio C218 Turbo /PCI board complies with PCI Spec. 2.1. Hardware configuration[...]

  • Página 91

    T e ch n i ca l R ef e re n ce Intellio C218 Turbo / PCI User's Manual A-3 faster than normal I/O access. All messages and data are transferred through this 512 KB dual-ported memory. The buffer area appears as normal 16-bit memory to the PC AT I/O channel. Every Intellio C218 Turbo /PCI only occupies 16 KB of memory space (window) from the sy[...]

  • Página 92

    Problem Report Form I n t el li o C218 T u rb o /PCI Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product : C218 Turbo /PCI Serial Number : ________________ 2. Moxa Driver version : ________________ 3. Moxa hardware settings : PCI Slot number ________________________ 4. Operating System : o Windows 95 o Windows 98 o Windows NT 3.51 o Wind[...]

  • Página 93

    Return Procedure For product repair, exchange or refund, you must: v Provide evidence of original purchase v Fill out the Problem Report Form (PRF) as detailed as possible for shorter product repair time. v Obtain a Return Merchandise Authorization (RMA) number from the sales representative or dealer v Carefully pack the product in anti-static pack[...]