Page 1
X–COM–2 Reference Manual Dual Serial I/O XBLOK ™ Document #6817, rev. A05 CONTACT INFORMATION Front Desk: 303–430–1500 Technical Support: 303–426–4521 FastHelp@octagonsystems.com www.octagonsystems.com...
Page 2
Disclaimer Copyright 2005—Octagon Systems Corporation. All rights reserved. However, any part of this document may be reproduced, provided that Octagon Systems Corporation is cited as the source. The contents of this manual and the specifications herein may change without notice.
Page 3
IMPORTANT! Please read the following section before installing your product: Octagon’s products are designed to be high in performance while consuming very little power. In order to maintain this advantage, CMOS circuitry is used. CMOS chips have specific needs and some special requirements that the user must be aware of.
Page 4
Under rated power supply: The board may fail to boot due to an under rated power supply. It is important that a quality power supply be used with Octagon Systems cards that has sufficient current capacity, line and load regulation, hold up time, current limiting, and minimum ripple.
Page 5
Table of Contents Using CMOS circuitry in industrial control................3 Table of Contents.........................5 List of Figures ..........................6 List of Tables..........................6 Chapter 1: Overview ........................7 Description ..........................7 Chapter 2: Installation ......................8 COM port designations....................... 8 Component locations and dimensions ..................8 Switch settings for base address....................
List of Figures Figure 2–1 X–COM–2 component diagram ................9 Figure 2–2 X–COM–2 dimensions – inches (thousandths) and millimeters......9 Figure 2–3 Typical XBLOK module stack ................13 Figure 3–1 Typical RS–422 four-wire interface circuit............19 Figure 3–2 Typical RS–485 two–wire half duplex interface circuit........20 List of Tables Table 2–1 X–COM–2 connector functions................10...
Page 7
Chapter 1: Overview Description The XBLOK Dual Serial I/O Expansion Card (Model X–COM–2) provides two 16C550-compatible serial ports. Each port is individually programmable as an 8-wire RS–232C, or a 4-wire RS–422 or RS–485 interface. A DIP switch selects the base address, from 100h to 3F0fh in 16-byte increments.
Page 8
Chapter 2: Installation The X–COM–2 connects directly to a PC/104 connector. WARNING! The X–COM–2 card contains static-sensitive CMOS components. The card is most susceptible to damage when it is plugged into another card. The X–COM–2 card becomes charged by the user, and the static discharges to the system.
Switch settings for mode (RS–422 or RS–485) COMA and COMB can be used for RS–232, RS–422 or RS–485. RS–232 is always available at connectors J3 and J4. Connectors J1 and J2 can be individually programmed as RS–422 or RS–485. Note that you cannot use the same port simultaneously for RS–232 and RS–422/485.
Hardware installation The PC/104 and PC/104-Plus connectors allow you to interface expansion modules to form a highly-integrated control system. The X–COM–2 plugs into any card that meets the PC/104 connector specification (see figure 2–3). An XBLOK card using the PC/104-Plus connector can be installed on the same level as the X–COM–2.
Page 14
Operating system setup The following sections show how to load the appropriate drivers for the X– COM–2. Linux To configure Linux to use the X–COM–2 card, you must do the following: Assuming your system (without the X–COM–2) has four or fewer COM ports already, the X–COM–2 will use ttyS4 and ttyS5 (ttyS0 through ttyS3 are the first four ports).
Page 15
Windows XPe 1. Set the X–COM–2 card base address to an address that does not conflict with the I/O on the CPU card (see page 11). Check the I/O map in the CPU product manual to determine available addresses. Note The ports on the X–COM–2 card are mapped consecutively in I/O space.
Page 16
To modify and build the driver, open the file Legacy.c in the serial driver directory found within the DDK src/kernal directory. Modify the lines at 313 and 438 to set the ShareDisposition to CmResourceShareShared. This change will allow for the COM ports to be sharable across applications and accessed simultaneously.
Page 17
Chapter 3: Using Serial I/O Description The X–COM–2 has two serial ports, COMA and COMB. The user will have to manually go into the operating system to add these COM ports and configure them with a COM port number (i.e., COM1 and COM2) before the system will recognize them (see page 14).
Table 3–1 COMA and COMB RS–232 connector pin-outs (J3 and J4) COMA – J3 COMB – J4 Pin# RS–232 signal Table 3–2 COMA and COMB RS–422/485 connector pin-out s (J1 and J2) COMA – J1 COMB – J2 Pin # Signal TXD+ TXD–...
Function and use of serial ports COMA and COMB as RS–232 I/O Both COM ports can be configured as 8-wire RS–232 interfaces. COMA and COMB as RS–422 and RS–485 networks The COM ports can also be used as RS–422 or RS–485. RS–422 and RS–485 use differential signaling to communicate between the devices on a network.
RS–485 An application may implement a node as either the “host” node or as a “remote” node in an RS–485 network. There can be as many as 32 nodes without any bus repeaters in the network. A host is referred to as the node that initiates communication;...
Appendix A: Technical specifications Power requirements 5V +/-5%, 65 mA typical. Power drawn from PC/104 connector. Mounting connector Connects to PC/104 COM ports Two COM ports; can be configured individually as 8-wire RS–232C or 4-wire RS–422/485 IEC1000, level 3, ESD protection specification —...
Table A–8 J5 – PC/104 connector The table below shows the PC/104 specification. Signals that are not connected to the X–COM–2 are grayed out. PC/104 Connector IOCHCK* RSTDRV IRQ9 DRQ2 PC/104 Connector -12V ENDXFR* +12V MEMCS16* SBHE* IOCHRDY GND/KEY IOCS16* LA23 SMEMW* IRQ10...
Page 25
Warranty Octagon Systems Corporation (Octagon), warrants that its standard hardware products will be free from defects in materials and workmanship under normal use and service for the current established warranty period. Octagon’s obligation under this warranty shall not arise until Buyer returns the defective product, freight prepaid to Octagon’s facility or another specified...
Page 26
3. Tech Support will forward this information to the RMA Administrator who will contact the customer to issue the RMA number. 4. The customer must carefully package the product in an antistatic container. Failure to package in antistatic packaging will VOID all warranties. Then package in a safe container for shipping.
Need help?
Do you have a question about the X-COM-2 and is the answer not in the manual?
Questions and answers