background image

Manual 104i-COM-8SM 

14 

Chapter 5: PROGRAMMING

 

Sample Programs

  

There are sample programs with source-code provided with the card in a variety of common 
languages. DOS samples are located in the DOS directory and Windows samples are 
located in the WIN32 directory.

 

Windows COM Utility Program

 

WinRISC is a COM utility program provided on CD with the installation package for this 
card that is very use

ful when working with any serial ports and serial devices. If you haven’t 

used this program yet, do yourself a favor and run this program to test your COM ports.

 

Windows Programming

 

The card installs into Windows as COM ports so standard API functions can be used. See 
the documentation for your chosen language for details.

 

 

Summary of Contents for 104i-COM-4S

Page 1: ...10623 Roselle Street San Diego CA 92121 858 550 9559 www accesio com PCI 104 SERIAL COMMUNICATION BOARDS 104i COM 8SM 104i COM 4SM 104i COM 8S 104i COM 4S USER MANUAL FILE m104i COM 8SM A1o ...

Page 2: ...ghts of ACCES nor the rights of others IBM PC PC XT and PC AT are registered trademarks of the International Business Machines Corporation Copyright by ACCES I O Products Inc 10623 Roselle Street San Diego CA 92121 All rights reserved WARNING ALWAYS CONNECT AND DISCONNECT YOUR FIELD CABLING WITH THE COMPUTER POWER OFF ALWAYS TURN COMPUTER POWER OFF BEFORE INSTALLING A BOARD CONNECTING AND DISCONNE...

Page 3: ...r parts not excluded by warranty Warranty commences with equipment shipment Following Years Throughout your equipment s lifetime ACCES stands ready to provide on site or in plant service at reasonable rates similar to those of other manufacturers in the industry Equipment Not Manufactured by ACCES Equipment provided but not manufactured by ACCES is warranted and will be repaired according to the t...

Page 4: ... 485 Balanced Mode Operation 12 Chapter 4 ADDRESS SELECTION 13 Chapter 5 PROGRAMMING 14 Chapter 6 CONNECTOR PIN ASSIGNMENTS 15 Table 6 1 P1 Connector Pin Assignment 8 port and 4 port boards 15 Table 6 2 P2 Connector Pin Assignment 8 port board only 16 Table 6 3 DB9M Accessory Cable RS 232 Pin Assignment 17 Table 6 4 DB9M Accessory Cable RS 422 Pin Assignment 17 Table 6 5 DB9M Accessory Cable RS 48...

Page 5: ...the design of industrial and commercial systems Based on the XR17D158 the boards have eight enhanced 16550 UARTs each with a set of modem signals CTS RTS RI DTR DSR CD in RS 232 mode Each UART has both a 64 byte transmit and a 64 byte receive FIFO The provided Windows drivers are 100 compatible with the normal Microsoft provided Serial Application Programming Interface This means every program you...

Page 6: ...Manual 104i COM 8SM 6 Figure 1 1 Block Diagram ...

Page 7: ...RoHS This product is available in a RoHS compliant version Please call for specific pricing then be sure to add this suffix to the model number on any hard copy or verbal purchase orders Special Order Contact factory with your special requirement Examples of special orders would be conformal coating latching I O headers custom baud rates etc Included with your board The following components are in...

Page 8: ...bling and can be mated with C104 40F D37F for various PC 104 serial requirements CAB40F X Ribbon cable assembly with 40 pin female header connectors X length in feet STB 40 Screw terminal board typically ships with standoffs but can also mount on DIN SNAP DIN SNAP 6 Six inch length of SNAP TRACK with two clips for mounting one STB 40 screw terminal board on a DIN rail DIN SNAP One foot length of S...

Page 9: ...To Install the Card 1 Install jumpers for selected options and position the slide switches to select the position in the stack 2 Remove power from the PC 104 stack 3 Assemble standoff hardware optionally available to stack and secure the boards 4 Carefully plug the board onto the PCI 104 connector on the CPU or onto the stack ensuring proper alignment of the pins before completely seating the conn...

Page 10: ...ated at the receiving end in its characteristic impedance Installing a jumper at the location labeled TX TERM or RX TERM applies a 120Ω load in series with a small capacitor across the transmit receive input output for RS 485 operation or input for RS 422 operation respectively In RS 485 operations where there are multiple terminals only the RS 485 ports at each end of the network should have term...

Page 11: ...Manual 104i COM 8SM 11 Figure 3 2 Option Selection Map ...

Page 12: ...nnects the auto RTS signal from the UART to the transmit enable pin on the half duplex differential transceiver or it connects either a permanent ON for RS 422 or a permanent OFF signal for RS 232 to the transmit enable pin The third jumper enables the RS 422 receiver and sends a permanent ON signal for RS 422 Tx to the transmit enable pin on the half duplex differential transceiver The fourth jum...

Page 13: ... is Plug and Play This means that the BIOS or Operating System determines the resources assigned to PCI cards rather than you selecting those resources with switches or jumpers As a result you cannot set or change the card s base address You can only determine what the system has assigned The Vendor ID for the card is 494F ASCII for IO The Device ID for the card is 10EA ...

Page 14: ...ry Windows COM Utility Program WinRISC is a COM utility program provided on CD with the installation package for this card that is very useful when working with any serial ports and serial devices If you haven t used this program yet do yourself a favor and run this program to test your COM ports Windows Programming The card installs into Windows as COM ports so standard API functions can be used ...

Page 15: ... B DSR 13 B TX RX B TX B RX 14 B TX RX B TX B RTS 15 B TX 16 B RX B CTS 17 B RX B DTR 18 B RI 19 B Ground B Ground B Ground 20 21 C CD 22 C DSR 23 C TX RX C TX C RX 24 C TX RX C TX C RTS 25 C TX 26 C RX C CTS 27 C RX C DTR 28 C RI 29 C Ground C Ground C Ground 30 31 D CD 32 D DSR 33 D TX RX D TX D RX 34 D TX RX D TX D RTS 35 D TX 36 D RX D CTS 37 D RX D DTR 38 D RI 39 D Ground D Ground D Ground 40...

Page 16: ...RX F TX F RX 14 F TX RX F TX F RTS 15 F TX 16 F RX F CTS 17 F RX F DTR 18 F RI 19 F Ground F Ground F Ground 20 21 G CD 22 G DSR 23 G TX RX G TX G RX 24 G TX RX G TX G RTS 25 G TX 26 G RX G CTS 27 G RX G DTR 28 G RI 29 G Ground G Ground G Ground 30 31 H CD 32 H HSR 33 H TX RX H TX H RX 34 H TX RX H TX H RTS 35 H TX 36 H RX H CTS 37 H RX H HTR 38 H RI 39 H Ground H Ground H Ground 40 Table 6 2 P2 C...

Page 17: ...Transmit Data Ch x 4 DTR Data Terminal Ready Ch x 5 GND Signal Ground Ch x 6 DSR Data Set Ready Ch x 7 RTS Request To Send Ch x 8 CTS Clear to Send Ch x 9 RI Ring Indicator Table 6 3 DB9M Accessory Cable RS 232 Pin Assignment DB 9 Male Pin for each of Ch A H RS 422 Signals RS 422 Signal Descriptions Ch x 2 TX Transmit Data Ch x 4 RX Receive Data Ch x 5 GND Signal Ground Ch x 7 TX Transmit Data Ch ...

Page 18: ...sceiver IC s Mode Cable Pins Port 1 to Port 2 RS 232 RX to TX TX to RX Ground to Ground RS 422 Full Duplex1 RX to TX RX to TX TX to RX TX to RX Ground to Ground RS 422 Simplex Receive Only RX to TX RX to TX Ground to Ground RS 422 Simplex Transmit Only TX to RX TX to RX Ground to Ground RS 485 Half Duplex TX RX to TX RX TX RX to TX RX Ground to Ground 1 RS 485 4 Wire not a TIA EIA standard Port 1 ...

Page 19: ...m Receiver Input Sensitivity 3V Receiver Input Range 15V Driver Slew Rate 24V S minimum Driver Load Impedance 3K to 7K ohm Driver Output Signal Level Loaded 5 4V typical RS 422 485 Mode Receiver Input Sensitivity 200 mV differential input Common Mode Range 12V to 7V Transmitter Output Drive 60 mA with thermal shutdown Input Impedance 12 K ohm Min Input Hysteresis 50 mV typical ESD 15KV Human Body ...

Page 20: ...ppears across a pair of wires A balanced line driver will produce a differential voltage from 2 to 6 volts across its output terminals A balanced line driver can also have an input enable signal that connects the driver to its output terminals If the enable signal is OFF the driver is disconnected from the transmission line This disconnected or disabled condition is usually referred to as the tris...

Page 21: ...nce equal to the characteristic impedance of the cable The exception is when the line is driven by an RS422 driver that is never tristated or disconnected from the line In this case the driver provides a low internal impedance that terminates the line at that end RS 485 DATA TRANSMISSION The RS 485 Standard allows a balanced transmission line to be shared in a party line mode As many as 32 driver ...

Page 22: ...twork The following illustration shows a typical multidrop or party line network Note that the transmission line is terminated on both ends of the line but not at drop points in the middle of the line Figure A 1 Typical RS 485 Two Wire Multidrop Network ...

Page 23: ...manual or just want to give us some feedback please email us at manuals accesio com Please detail any errors you find and include your mailing address so that we can send you any manual updates 10623 Roselle Street San Diego CA 92121 Tel 858 550 9559 FAX 858 550 7322 www accesio com ...

Reviews: