You are on page 1of 68

PCIPORT Card

Owner’s Manual

Support:DOS library
Windows 95/98/Me
Windows NT
Windows 2000/XP
Windows XP embedded
Windows 2003/Vista
Windows 7
Linux
SCO OpenServer

RO-PCIPORT-036
Industrial Ground Isolated

TWIN485
RS232 to RS422,RS485
Converter & Bridge﹒

O
Onne
edde
evviic
cee tto
omme
eeett b
bootth
h rre
eqquuiirre
emme en
ntt
N
Noom mo orre
esse
eppa
arra
atte
ec coonnvve
errtteerr a
annd
d rre
eppe
eaatte
err
P
Poow
weerrffu
ull a
annd
dFFlle
exxiib
blle
e ffo
orr rre
eddu
unnd
daan
nccy
yuus
saag
gee

★ Double RS232 to RS485 converter


★ Double RS232 to RS422 converter
★ One set RS422 to RS485 converter
★ One set RS422 to RS422 repeater
★ One set RS485 to RS485 bridge
★ One RS232 to double segment RS485 network
★ Fully Ground Isolated Function
★ Auto Data Direction Control on RS485
★ Support screw terminal and DC power adaptor
★ All function and Feature set by DIP switch
★ RS232 data transmission LED indicator
CONTENTS
========

Chapter 1. Introduction .............................................. 1

Chapter 2. Configuring Hardware ........................................ 3

2-1 System Components.............................................. 3

2-2 Installation Procedures ........................................ 3

2-3 Hardware Configuration ......................................... 3

2-4 Serial Interface Connection .................................... 3

Chapter 3. Windows 2000/XP/2003/Vista Installation ...................... 5

Chapter 4. Windows 7 system Installation ............................... 6

Chapter 5. Windows XP embedded system Installation ...................... 7

Chapter 6. Windows NT Installation .................................... 8

Chapter 7. Windows 95/98/Me Installation ............................... 9

Chapter 8. DOS driver Installation ................................... 10

Chapter 9. Linux system Installation ................................ 11

Chapter 10. SCO OpenServer Installation .............................. 12

APPENDIX. A. Pin Assignments and Cable Wiring ...................... 13

APPENDIX. B. RS4232 Isolated Box User Guide......................... 19

APPENDIX. C. Troubleshooting procedure for PCIPORT card ............. 21

APPENDIX. D. P422I and P422N card usage ............................ 23

APPENDIX. E. P584/P584U and P524U card usage........................ 25

APPENDIX. F. P485 and P485U card usage ............................ 27

APPENDIX. G. P588U/P5588U and P138U/P118U card usage ................ 29

APPENDIX. H. P8485U/P5x88U and P588U-4 card usage ................... 31

APPENDIX. I. P232 card usage ....................................... 33

APPENDIX. J. P984/P985 and P924 card usage.......................... 34

APPENDIX. K. P5584U/P104UP/P134U and P114U card usage .............. 36

APPENDIX. M. RAYON REPAIR PROCEDURE ................................ 38


-----Chapter 1-----
Introduction

1-1. An introduction to the PCIPORT card

P588, P588U, P8485U, P588U4 ,P5188U ,P5288U ,P5388U ,P5488U ,P5588U,


P5688U, P5788U ,P5888U ,P5988U ,P138U ,P118U card are enhanced eight ports card.
P584, P584U, P485I, P485U, P5584U, P104UP, P134U, P114U, P984/P985/P924
are enhanced four ports card. P232, P422N/P422I card are enhanced two
ports card. PCIPORT card are suitable to PC AT with PCI bus machine.
PCIPORT card can reduce the interval for serial communication controller
to interrupt main CPU (MPU) on the motherboard to improve the whole system
performance.

The eight ports card is made up of two parts:


1) PCIPORT interface card:
PCIPORT interface card includes an PGA to support the serial
communication controller and a 62 pin connector to connect external
I/O port.

2) Expansion cable:
This expansion cable have eight standard DB25/DB9 connectors and one
DB62 connector to connect PCIPORT interface card. User may use one DB62
to DB62 cable to connect between one PCIPORT card and RS4232-8 box.

The four ports card is made up of two parts:


1) PCIPORT interface card:
PCIPORT interface card includes an PGA to support the serial
communication controller and a 37 pin connector to connect
external I/O port.

2) Expansion cable:
This expansion cable have four standard DB25/DB9 connectors and one
DB37 connector to connect PCIPORT interface card. User may use one
DB37 to DB37 cable to connect between one PCIPORT card and RS4232-4 box.

For a PC AT Windows NT/95/98/2000/XP/2003/Vista system, we can install


up to 2 pcs PCIPORT eight/four port card to support up to 16 or 8 users
and 4 pcs P422/I/S card to support upto 8 users.

1-2. Hardware specification


*serial communication controller:
16C550A compatible.
1.8432MHz crystal. (can be used upto 14.7456MHz)

*I/O Port: ---- RS232C compatible. (P584U/P588/P588U/P5588U/P984/P232 card)


RS422/485 compatible. (P422N/P485U/P8485U/P134U/P5388U/P138U card)
RS232/422 compatible. (P5188U card)
RS232/485 compatible. (P5288U card)
RS232/422/485 compatible. (P5488U/P5688U/P5788U/P114U/P118U card)
RS422 compatible. (P985 card)
isolated RS422/RS485 interface. (P485/P422I card
or P588 card with RS4232-8 box)
isolated RS232/RS422/RS485 interface. (P584/P584U/P984
card with RS4232-4 box)

-1-
NOTE: P422N card can support RS422/485 interface for each port by jumper.
P422I will support isolated RS422/485 interface.
P422IS will support extra surge protector in RS422/485 interface.
P924 will support two RS232 and two RS422/485 port.
P114U/P118U will support four/eight RS232/422/485 ports.
P5488U will support four RS232 and four RS232/422/485 ports.
P5888U will support four RS485 and four RS232/422/485 ports.
P5988U will support four RS422 and four RS232/422/485 ports.

*Interrupt Control: ------ Plug & Play to be assigned by PCI BIOS. Each card
must have one IRQ to be assigned. But multi-card
can share the same IRQ.

*I/O map: -------- Plug & Play to be assigned by PCI BIOS.

*Flow control --- Xon/Xoff control or RTS/CTS control.

*Baud Rate:
can be software programmable up to 115.2KBps for 1.8432MHz
crystal or 921.6KBps for 14.7456MHz crystal.

*Connector ------ Expansion cable can support DB25/DB9 male connectors.

P588/P588U/P5588U/P5x88U/P8485U/P118U card: DB62 female connector.


P584U/P485I/P485U/P114U/P5584U/P924 card: DB37 female connector.
P232 and P422I/P422N card: two DB9 male connector.

*Environment ----- PC/AT with 5V or 3.3V 33MHz PCI bus machine.

NOTE: only Universal PCIPORT card support 3.3V PCI slot.

NOTE: P5x88U and P5584U card just need 5V power supply from PCI slot.

1-3 Software specification:


*Operating system -----can support
Windows 2000/XP/2003/Vista
Windows 7
Windows XP embedded
Windows NT
Windows 95/98/Me
DOS
LINUX
SCO OpenServer
other operating system.

NOTE: All the software for P5588U/P5x88U/P588U4/P8485U/P118U card is same as


P588U card. The difference for P5588U/P5x88U/P8485U/P588U4/P118U card and
P588U card is serial port's interface type.
All the software for P485I/P485U/P584U/P5584U/P104UP/P114U card is same
as P584 card. The difference for P485I/P485U/P104UP/P114U/P5584U card
and P584 card is serial port's interface only or connector type.
All the software for P232/P422N/P422I card are same as P220 card. We
will use P220 software to represent P232/P422N/P422I card usage.
All the software for P985/P924 card is same as P984 card. The
difference for P984 card and P985/P924 card is serial port's
interface only.
-2-
Chapter 2.
Configuring the Hardware

2-1 System components


An P588/P588U/P5588U/P5x88U/P588U4/P8485U card system includes
following components:
*One P588/P588U/P5588U/P5x88U/P588U4/P8485U/P118U PCI interface card.
*One 62pin Expansion Cable to support eight DB25/DB9 male connector.
R801 cable is used for DB62 male to eight DB25 male connector.
R804 cable is used for DB62 male to eight DB9 male connector.
R802 cable is used for DB62 male to eight DB25 female connector.
*One R803 (DB62 male to DB62 male) cable with RS4232-8 box.
(option for P588/P588U/P5588U card).
*User manual.

An P584/P485I/P924/P584U/P485U/P5584U/P114U/P104UP card system includes


following components:
*One P584/P485I/P924/P584U/P485U/P5584U/P114U/P104UP PCI interface card.
*One 37pin Expansion Cable to support four DB25/DB9 male connector.
A400 cable is used for DB37 male to four DB25 male connector.
P485 cable is used for DB37 male to four DB9 male connector.
*One A640 (DB37 male to DB37 female) cable with RS4232-4 box.
(option for P584/P984/P584U/P5584U card).
*User manual.

2-2 Installation Procedures


One PCIPORT card needs a 5V or 3.3V 33MHz PCI system expansion slot.

NOTE: Only Universal type PCIPORT card support 3.3V PCI system.

The installation procedures are as follows:


(1) Turn off the power switch of your system.
(2) check the jumper to select the proper card number assigned.
(3) Plug the PCIPORT card to system expansion slot.
(4) Connect the 62pin(37pin) cable to P588(P584/P485) interface card.
(5) Turn on the system power.
(7) Start up the operating system.
(8) execute the PCIPORT card software installation procedure.
WARNING: You should not insert or remove the PCIPORT card from
the system while power is on.

2-3 Hardware Configuration


*In PCIPORT card we have following jumpers to set
(1) JP1:
This jumper is used to select the card number assigned. This jumper
is ON for 1'st card. This jumper is OFF for 2'nd card.(default ON)

2-4 Serial I/O port connection:


(1) P584/P584U/P984/P5584U/P104UP card:
Support four RS232 interface port.
Pin definition for DB37 female connector is in Appendix A-2.
Pin definition for DB25 male connector is in Appendix A-3.
Pin definition for DB9 male connector is in Appendix A-4.
(2) P485I/P485U/P134U card:
Support four RS422/485 interface port.
Each port can be set to RS422 or RS485 interface by DIP switch.
see pin definition for connector in Appendix A.
-3-
(3) P985 card:
Support four RS422 interface port.
(4) P924/P524U card:
Support two RS232 interface in port A & B and two RS422/485
interface in port C & D.
port C & D can be set to RS422 or RS485 interface by jumper.
see pin definition for connector in Appendix A.
(5) P114U/P118U card:
Support four/eight RS232/RS422/RS485 interface port.
Each port can be set to RS232/422/485 interface by DIP switch.
see pin definition for connector in Appendix A.
(6) P588/P588U/P5588U card:
Support eight RS232 interface port.
Pin definition for DB62 female connector is in Appendix A-1.
Pin definition for DB25 male connector is in Appendix A-3.
Pin definition for DB9 male connector is in Appendix A-4.
(7) P5188U card:
Support eight RS232/422 interface port.
Each port can be set to RS232 or RS422 interface by DIP switch.
(8) P5288U card:
Support eight RS232/485 interface port.
Each port can be set to RS232 or RS485 interface by DIP switch.
(9) P5488U card:
Support four RS232 and four RS232/422/485 interface port. Port E--H
can be set to RS232,RS422 or RS485 interface by DIP switch.
(10) P8485U/P5388U card:
Support eight RS422/485 interface port.
Each port can be set to RS422 or RS485 interface by DIP switch.
(11) P588U4 card:
Support four RS232 interface and four RS422/485 interface port.
Port E--H can set to RS422 or RS485 by DIP switch.
(12) P5688U card:
Support six RS232/RS422 selectable in port A--F and two RS232/RS485
selectable in Port G--H. Interface set by DIP switch.
(13) P5788U card:
Support seven RS232/RS422 selectable in port A--G and one RS232/RS485
selectable in port H. Interface set by DIP switch.
(14) P5888U card:
Support four RS485 and four RS232/422/485 interface port. Port E--H
can be set to RS232,RS422 or RS485 interface by DIP switch.
(15) P5988U card:
Support four RS422 and four RS232/422/485 interface port. Port E--H
can be set to RS232,RS422 or RS485 interface by DIP switch.

Note: Standard P584 card can support RS232 interface only. User can use our
RS4232-4 box to change RS232 interface to isolated RS232/RS422/RS485.

Note: Standard P588 card can support RS232 interface only. User can use our
RS4232-8 box to change RS232 interface to isolated RS422/RS485.

Note: RS4232 can use DIP switch to set each port to be RS232, RS422 or RS485
interface. More information for RS4232 box is in appendix B.

Note: P422/I/S can use SW1 DIP Switch bit1&2 to set card number 1--4.
The interface selection in P422I card will be set by SW1 DIP Switch
bit3&4 for isolated RS422 or RS485 interface.
-4-
Chapter 3
Windows 2000/XP/2003/Vista Installation

3-1 Driver Installation

Once Windows 2000 system has been started, the Plug & Play function in
2000/XP/2003/Vista system will find the new PCIPORT card. If this is the
first time to install PCIPORT card in your 2000/XP/2003/Vista system, you
will be informed to install the driver. Please follow the instruction
message to specify the driver location.

A:\WIN2000 (NOTE: don't select wrong path a:\WIN95)

If we got CD for driver installation, we need to specify the path for


each card type and OS type. For example, D:\P588U\WIN2000.

Because the resource will be assigned by PCI BIOS. It is not easy to check
which card is first card or second card from resource. So we have one jumper
in each card to set the first card or second card for this PCIPORT card.
THen we can fix the COM port number for each card. This is very important
for PCIPORT card. Traditionly, we check the resource in each card to confirm
the card number. Use this rule we can assign the COM port number for each
card. But in PCI bus all the resource for each card is assigned by PCI BIOS
in power on procedure. So it is not easy for us to confirm the COM port
number for each card. Then it is not easy to maintain the application
environment for different time point (You may change your system
configuration due to add extra new card. This may change your PCI system's
resource condition). So our jumper to assign card number is very important.

Due to the COM port start number will be assigned by WIN2000/XP/2003/Vista


in driver installation procedure. If you need to specify other COM port start
number for PCIPORT card, you may need to setup it in our driver. When you
installed PCIPORT driver in your WIN2000/XP/2003/Vista system, you can enter
"control panel--> system-->Hardware-->Device Manager-->Multi-port serial
adapter--> setup" to specify your target value.

3-2 Note for multi-PCIPORT card installation.


a) When we need to install two PCIPORT cards in one WIN2000/XP/2003/Vista
system, we must confirm to let one card's jumper is ON. And the other
card's jumper is OFF. We need to insert both card one by one.

b) The card with jumper ON will have COM port number assigned for first
card. The card with jumper OFF will have COM port number assigned
for second card.

c) For easy to maintain one WIN2000 system's COM port number we suggest
that user must set the jumper ON for the first card to be installed in
one WIN2000/XP/2003/Vista system.

d) In WIN2000 system the driver for port is installed automatically. In


WIN XP/2003/Vista system the driver for port is installed and confirmed
for each port.

-5-
Chapter 4
Windows 7 system Installation

4-1 Driver Installation

Once Windows 7 system has been started, the Plug & Play function in
WIN7 system will find the new PCIPORT card. If this is the first time to
install PCIPORT card in your WIN7 system, you will NOT be informed to
install the driver. Because our driver is not embedded in WIN7 system. When
WIN7 find our card in hardware and could not find corresponding driver in
system, WIN7 system do not install and ask us to install driver. WIN7 just
specify our card as "Other devices" in "Control Panel".

Now, we need to enter "Control Panel" "System and Security" "System"


"Device Manager" "Other Devices" to find "!PCI Sinple Communications
Controller". Please select this device and update new version driver.
A) Double strike in this device to enter "properties" screen.
B) Select "Update Driver"
C) Browse my computer for driver software
D) Specify the path for our driver
E) next
F) Install this driver software anyway

Please follow the instruction message to specify the driver location. WIN7
system will use same driver as WIN2000/XP/Vista system.

A:\WIN2000 (NOTE: don't select wrong path a:\WIN95)

If we got CD for driver installation, we need to specify the path for


each card type and OS type. For example, D:\P588U\WIN2000.

After driver installed, we may find extra COM ports generated.

But we may find the COM port number for each serial port do not have
correct relationship with physical location. For example, we may have
8 serial ports in P588U card with physical name port A--H. In WIN2000,
XP,Vista system we may have correct relationship for COM3--COM10 in
port A--H. In WIN7 system we may have random COM port number for port
A--H. It is not easy for user to know which COM port number is which
serial port. Fortunately, we have SETUP in PCIPORT card's driver to
set COM port start number for serial port A--H. In "control panel"
"device manager" you can select PCIPORT card in "multi-port Serial Adapters"
and double strike mouse to enter "Properties" "SETUP" screen. Then you can
modify COM port start number to other value. So we can have serial
port A--H with corresponding COM port sequentially.

You can have extra COM port with correct COM port number in next boot.

-6-
Chapter 5
Windows XP embedded Installation

1. Windows XP embedded system is Component based system. So every driver


must be a component to be added in target system.

2. Our driver for WIN2000/XP/2003/Vista will be used in Windows XP embedded


system. So we need to convert our driver to Component firstly.

3. In "Component Designer" we can import "r2kpci1.inf" and "r2kpci2.inf"


from our driver diskette. Then we can convert to "r2kpci1.sld" and
"r2kpci2.sld" component file.

4. In "Component Database Manager" we can add "r2kpci1.sld" and "r2kpci2.sld"


component file to component database.

5. Now we can start "Target Designer" to create new image file for your
target system.
a) In the component list you can find our driver as component in
following location.
b) Hardware--->Devices--->Ports(COM and LPT)--->RAYON PCI584-1 Port
This is serial COM port component to be added.
c) Hardware--->Devices--->Multi-port Serial Adapters
---> RAYON PCIPORT P584 Adapter
This is multi-serial port card to be added.
d) Now you can run "Dependency Check" as your normal procedure. Maybe
you can find something error. But you can fix such error in Microsoft
guideline for you. Please run repeatedly until no error message.
e) Now you can run "build image" as your normal procedure. Because we
do not copy our driver files to target directory. So we may get
error message about some file could not be found in some directory.
Generally it is in the second directory under
\Windows embedded Data\Repositories\ path.
f) Please copy all files in our driver diskette to this directory.
g) Then you can run "build image" again. It must be no error message
about our driver now.

6. Now you can have new image file for your target device in
\Windows embedded image\ directory.

7. When you use this new image in your target system. Then you can have
our PCIPORT available now.

-7-
Chapter 6
Windows NT Installation

6-1 Driver Installation


Once Windows NT system has been started, login using an account with
administrative rights.
a) Start the [Control Panel] applet by double clicking its icon in the
[Program Managers] main group.

b) In the [Control Panel] applet, double click [Network] icon to bring


up the Network Control Panel Applet(NCPA).

c) Within the NCPA, select the [Add Adaptor] button. A list of possible
adaptors should be displayed. Go to the end of this list and select
'<Other> Requires disk from manufacturer'

d) When prompted for the path, specify the drive and directory where the
NCPA can find the new driver for the card you installed.

a:\P584\NT4 ===> specify for P584/P584U/P485/P485U/P514U/P524U/P534U/P114U

a:\P588\NT4 ===> specify for P588/P588U/P588U4/P5588U/P8485U/P5x88U/P118U

a:\P220\NT4 ===> specify for P220/P422I/P422N/P232

a:\P984\NT4 ===> specify for P984/P985/P924

NOTE: It is very important for user to assign correct directory for each
type of cards.

e) Now, you can follow the configuration dialog boxes to finish the
PCIPORT card's driver. The important thing is to let COM port number
no confliction with other card.

f) After above procedure we need to select "Binding" function to let more


serial port available. If you do not have "Binding" function done, you
may not have extra COM port available in next boot procedure.

6-2 Note for multi-PCIPORT card installation.


a) When we need to install two same type PCIPORT cards in one NT system,
we must confirm to let one card's jumper is ON. And the other card's
jumper is OFF.

b) The card with jumper ON will have low COM port number. The card with
jumper OFF will have higher COM port number to follow the card with
jumper ON.

c) For easy to maintain one NT system's COM port number we suggest that
user must set the jumper ON for the first card to be installed in one
NT system.

d) User must confirm that you do not have IRQ number conflicted with other
card. Some new motherboard may have USB controller built-in. But we do
not support USB driver in NT system. So user must disable such USB
controller in BIOS setup.

-8-
Chapter 7
Windows 95/98/Me Installation

7-1 Driver Installation

Once Windows 95/98 system has been started, the Plug & Play function in
95/98/Me system will find the new PCIPORT card. If this is the first time
to install PCIPORT card in your 95/98/Me system, you will be informed to
install the driver. Please follow the instruction message to input the
COM port number start value for first card and second card.

A:\WIN95 (Don't select wrong path in a:\win2000)

NOTE: You must specify correct path for system to find INF file.

If you got CD for driver installation, you need to specify the correct
path for card type and OS type.

Because the resource will be assigned by PCI BIOS. It is not easy to check
which card is first card or second card from resource. So we have one jumper
in each card to set the first card or second card for this PCIPORT card.
Then we can fix the COM port number for each card. This is very important
for PCIPORT card. Traditionally, we check the resource in each card to confirm
the card number. Use this rule we can assign the COM port number for each
card. But in PCI bus all the resource for each card is assigned by PCI BIOS
in power on procedure. So it is not easy for us to confirm the COM port
number for each card. Then it is not easy to maintain the application
environment for different time point (You may change your system
configuration due to add extra new card. This may change your PCI system's
resource condition). So our jumper to assign card number is very important.

After you had installed the PCIPORT driver, you might be informed to have
new hardware found. But you do not need to install the driver again. Windows
95/98/Me will add the COM port automatically.

7-2 Note for multi-PCIPORT card installation.


a) When we need to install two PCIPORT cards in one 95/98/Me system,
we must confirm to let one card's jumper is ON. And the other card's
jumper is OFF.

b) The card with jumper ON will have COM port number assigned for first
card. The card with jumper OFF will have COM port number assigned for
second card.

c) For easy to maintain one 95/98/Me system's COM port number we suggest
that user must set the jumper ON for the first card to be installed in
one WIN95/98/Me system.

d) In WIN98/Me system we need to assign from COM5 or later. Because


COM3/4 had been reserved for legacy COM port. If user specify COM
port number from COM1/COM2/COM3/COM4 may have some unpredictable
problem in some application package.

-9-
Chapter 8
DOS Driver Installation

8-1 Driver Installation

1. Please confirm that you have jumper ON to set your first P584/P588
card in your first card installation.
2. Change your active directory to target directory.
ex. C:\RAYON
3. Insert our driver diskette and copy all files in driver diskette.
ex. XCOPY /S/E/V A:\DOS\*.* .
NOTE: This action will copy all the necessary files include DEMO
program from driver diskette to current directory.
4. Run the driver installation command

For P584/P584U/P588/P588U/P485/P485U/P5588U/P8485U/P5x88U/P118U card

C:\RAYON\PCIPORT (or driver diskette \DOS\PCIPORT)

For P984/P985/P924/P422I/P422N/P232/P220 card

C:\RAYON\P220\P984 (or driver diskette \DOS\P220\P984)

5. Then you can find the cards installed in your system. Each card will
show the card number in this system (this card number will be used in
application program to specify the target card and target port), the
card model, the card jumper setting for 1'st card or 2'nd card, the
IRQ assigned and COM port number in this card.

for example,

card[1] PCIPORT P588 1'st card


IRQ number : 11
COM port : 8
card[2] PCIPORT P588 2'nd card
IRQ number : 12
COM port : 8
NOTE:
You may have following error message:
a) PCIPORT & INDPORT Already Install.
====> The driver had been installed.
b) Please check 'JP1' in the P588 or P584
====> You may install the same type card have same JP1 setting.
c) PCIPORT not in system.
====> There is no PCIPORT card to be found in PCI slot.

8-2 Note for multi-PCIPORT card installation.


a) We can install upto eight P584,P588,P514,P518,P124 in one DOS system.
But each type of cards must have different jumper setting for card
number. For example you can not have both P584 card with JP1 ON.
b) The PCIPORT driver function call description can be found in DOS
driver diskette. We also have one DEMO program for user to modify
to meet their target application program.
c) Because we need to specify the target PCIPORT card for access in
application program. We must give each card one unique card number.
We will give each card's card number in driver installation console
out message. User need to record such card number for each card.
-10-
Chapter 9
Linux driver Installation

9-1 Driver Installation

1. Login with superuser or root.

2. Change your directory to root and copy our driver diskette to system.
#cd /
#tar xvf /dev/fd0 (For CD you need to uncompress first)

3. change directory to /etc/rayon and run Install command.


#cd /etc/rayon
#./Install

4. You will have following procedure to configure your module.


1. choose your card type. (PCIPORT card)
2. choose your linux kernel version.
3. rebuild your system.
4. exit & reboot with new setting.

5. Then, you can have extra serial port to be used.


1. the device name will be /dev/tty8[1--2][a--h]
2. For the card set in first card number (Jumper ON) will be
/dev/tty81[a--h]
3. For the card set in 2'nd card number (Jumper OFF) will be
/dev/tty82[a--h]

NOTE: Above driver installation procedure will install module type driver.
Due to the system configuration is very important from kernel 2.4.x
we can not offer OBJ type driver to install. So we offer the source
file type driver to install. User must have kernel source file in
/usr/src/linux directory to link with our driver's source file. But
some distribution Linux system (ex. REDHAT) may have different
directory name for kernel source. User must rename such directory
to linux or link such directory to "/usr/src/linux". Or they may have
error message in driver installation procedure. (because we can not
find the path for kernel source to link). User also need to use this
kernel source file to generate run time image file in boot.

NOTE: Right now we have ver5.xx driver to support kernel version 2.2.x
and kernel version 2.4.x. We have ver6.xx driver to support kernel
version 2.4.x and kernel version before 2.6.9. We have ver7.x.x
driver to support kernel version 2.4.x and kernel version after
2.6.10. In ver7.x.x driver we have special Install file for REDHAT
Fedora core 4 system, Suse Linux 9.3 and Slackware 10.2 system
(kernel version 2.6.x). For other older Linux system we still use
standard Install file.

9-2 Note for multi-PCIPORT card installation.


When we need to install two PCIPORT cards in one Linux system,
we must confirm that one card's jumper is ON. And the other card's
jumper is OFF.

9-3 Anytime you can send me E_mail in "rayon@ms1.hinet.net" for Linux


driver support.
-11-
Chapter 10
SCO OpenServer Installation

10-1 Driver Installation

User can use /etc/custom command to install our driver or use following
procedure to install our driver.
******We strongly suggest that you use "custom" method to install firstly.

1. Login with superuser or root.

2. Change your directory to root and copy our driver diskette to system.
#cd /
#tar xvf /dev/fd0135ds18 (For CD you need to uncompress first)

3. change directory to /etc/pciport and run "build" command.


#cd /etc/pciport
#./build

4. Please follow the installation procedure and reboot your system.

5. Then, you can have extra serial port to be used.


1. the device name will be /dev/tty8[1--2][a--h]
2. For the card set in first card number (Jumper ON) will be
/dev/tty81[a--h]
3. For the card set in 2'nd card number (Jumper OFF) will be
/dev/tty82[a--h]

NOTE: Due to the PCIPORT card's resource is assigned by PCI BIOS. We may
have different resource to be assigned for different environment
changed. We may need to re-install our driver for this condition.
User may need to run "build" command again to remove old driver and
install new driver again. We strongly recommend that user need to
re-install our driver for PC environment changed condition.

NOTE: Because SCO UNIX is not P&P OS, so user must set in BIOS setup for
non-P&P OS type to be used.

10-2 Note for multi-PCIPORT card installation.

a) We can install upto two PCIPORT cards in one SCO system.

b) When we need to install two PCIPORT cards in one SCO OpenServer


system, we must confirm that one card's jumper is ON. And the other
card's jumper is OFF.

c) In SCO OpenServer system PCIPORT card can not be used in interrupt


shared mode. PCI BIOS will assign IRQ for each PCIPORT card. For
multi-PCIPORT application we must have sperate IRQ for each card.
So user must confirm that one system may have enough IRQ left for
P & P function. If there are no unique IRQ to be assigned to PCIPORT
card, you may have wrong operation. Please use our PCIIOP card in
this condition. Because PCIIOP card don't need IRQ pin.

d) User must insert our PCIPORT card in PCI slot before installed our
SCO OpenServer driver.
-12-
Appendix A
Pin assignements and Cable Wiring

A-1: DB62 Female Connector Pin assignment in P588U/P5588U/P5x88U/P8485U/P118U card.


=============================================================================
DB62 | Signal || DB62 | Signal || DB62 | Signal
Pin | Name || Pin | Name || Pin | Name
=============================================================================
1 | TXD1 / TXD1+ (O) || 22 | TXD2 / TXD2+ (O) || 43 | GND
-----------------------------------------------------------------------------
2 | RXD1 / RXD1+ (I) || 23 | RXD2 / RXD2+ (I) || 44 | GND
-----------------------------------------------------------------------------
3 | RTS1 (O) || 24 | RTS2 (O) || 45 | GND
-----------------------------------------------------------------------------
4 | CTS1 (I) || 25 | CTS2 (I) || 46 | TXD4 / TXD4+ (O)
-----------------------------------------------------------------------------
5 | DSR1 / RXD1- (I) || 26 | DSR2 / RXD2- (I) || 47 | RXD4 / RXD4+ (I)
-----------------------------------------------------------------------------
6 | DTR1 / TXD1- (O) || 27 | DTR2 / TXD2- (O) || 48 | RTS4 (O)
-----------------------------------------------------------------------------
7 | DCD1 (I) || 28 | DCD2 (I) || 49 | CTS4 (I)
-----------------------------------------------------------------------------
8 | TXD3 / TXD3+ (O) || 29 | TXD7 / TXD7+ (O) || 50 | DSR4 / RXD4- (I)
-----------------------------------------------------------------------------
9 | RXD3 / RXD3+ (I) || 30 | RXD7 / RXD7+ (I) || 51 | DTR4 / TXD4- (O)
-----------------------------------------------------------------------------
10 | RTS3 (O) || 31 | RTS7 (O) || 52 | DCD4 (I)
-----------------------------------------------------------------------------
11 | CTS3 (I) || 32 | CTS7 (I) || 53 | TXD8 / TXD8+ (O)
-----------------------------------------------------------------------------
12 | DSR3 / RXD3- (I) || 33 | DSR7 / RXD7- (I) || 54 | RXD8 / RXD8+ (I)
-----------------------------------------------------------------------------
13 | DTR3 / TXD3- (O) || 34 | DTR7 / TXD7- (O) || 55 | RTS8 (O)
-----------------------------------------------------------------------------
14 | DCD3 (I) || 35 | DCD7 (I) || 56 | CTS8 (I)
-----------------------------------------------------------------------------
15 | TXD5 / TXD5+ (O) || 36 | TXD6 / TXD6+ (O) || 57 | DSR8 / RXD8- (I)
-----------------------------------------------------------------------------
16 | RXD5 / RXD5+ (I) || 37 | RXD6 / RXD6+ (I) || 58 | DTR8 / TXD8- (O)
-----------------------------------------------------------------------------
17 | RTS5 (O) || 38 | RTS6 (O) || 59 | DCD8 (I)
-----------------------------------------------------------------------------
18 | CTS5 (I) || 39 | CTS6 (I) || 60 | GND
-----------------------------------------------------------------------------
19 | DSR5 / RXD5- (I) || 40 | DSR6 / RXD6- (I) || 61 | GND
-----------------------------------------------------------------------------
20 | DTR5 / TXD5- (O) || 41 | DTR6 / TXD6- (O) || 62 | GND
-----------------------------------------------------------------------------
21 | DCD5 (I) || 42 | DCD6 (I) || xxx | xxx
=============================================================================
****Note: R801 cable support DB62 connector to eight DB25 male connector.
R802 cable support DB62 connector to eight DB25 female connector.
R804 cable support DB62 connector to eight DB9 male connector.
User can use R803 cable (DB62 male to DB62 male connector) to
connect with RS4232-8 box.
****Note: (O) is signal output from card. (I) is signal input to card.
-13-
A-2: DB37 Female Connector Pin assignment in P584/P485/P584U/P485U/P114U
/P104UP/P134U/P984/P985/P924/P5584U card.
=========================================================================
DB37 Pin | RS232 | RS422/485 || DB37 Pin | RS232 | RS422/485
Number | Signal Name| Signal Name|| Number | Signal Name| Signal Name
=========================================================================
1 | RXDA (In ) | RXDA+(In ) || 20 | TXDA (Out) | TXDA+(Out)
-------------------------------------------------------------------------
2 | CTSA (In ) | --- || 21 | RTSA (Out) | ---
-------------------------------------------------------------------------
3 | DSRA (In ) | RXDA-(In ) || 22 | DTRA (Out) | TXDA-(Out)
-------------------------------------------------------------------------
4 | DCDA (In ) | --- || 23 | RIA (In ) | ---
-------------------------------------------------------------------------
5 | GND | port A GND || 24 | RXDB (In ) | RXDB+(In )
-------------------------------------------------------------------------
6 | TXDB (Out) | TXDB+(Out) || 25 | CTSB (In ) | ---
-------------------------------------------------------------------------
7 | RTSB (Out) | --- || 26 | DSRB (In ) | RXDB-(In )
-------------------------------------------------------------------------
8 | DTRB (Out) | TXDB-(Out) || 27 | DCDB (In ) | ---
-------------------------------------------------------------------------
9 | GND | port B GND || 28 | RIB (In ) | ---
-------------------------------------------------------------------------
10 | GND | --- || 29 | RIC (In ) | ---
-------------------------------------------------------------------------
11 | GND | port C GND || 30 | DCDC (In ) | ---
-------------------------------------------------------------------------
12 | DTRC (Out) | TXDC-(Out) || 31 | DSRC (In ) | RXDC-(In )
-------------------------------------------------------------------------
13 | RTSC (Out) | --- || 32 | CTSC (In ) | ---
-------------------------------------------------------------------------
14 | TXDC (Out) | TXDC+(Out) || 33 | RXDC (In ) | RXDC+(In )
-------------------------------------------------------------------------
15 | GND | port D GND || 34 | RID (In ) | ---
-------------------------------------------------------------------------
16 | DCDD (In ) | --- || 35 | DTRD (Out) | TXDD-(Out)
-------------------------------------------------------------------------
17 | DSRD (In ) | RXDD-(In ) || 36 | RTSD (Out) | ---
-------------------------------------------------------------------------
18 | CTSD (In ) | --- || 37 | TXDD (Out) | TXDD+(Out)
-------------------------------------------------------------------------
19 | RXDD (In ) | RXDD+(In ) || ---- | ---- | ----
=========================================================================
****Note: A400/P584 cable support DB37 connector to four DB25 male connector.
P485 cable will support DB37 connector to four DB9 male connector.
User can use A640 cable (DB37 male to DB37 female connector) to
connect P584/P584U/P984 card and RS4232-4 box.
P584/P584U/P984/P5584U card support 4 RS232 interface.
P985 card support 4 RS422 interface.
P485/P485U/P134U card support 4 RS422/RS485 interface.
P924/P524U support 2 RS232 interface in port A/B and 2 RS422/485
interface in port C/D.
P114U card support 4 RS232/RS422/RS485 interface.
P104UP card support +5V power supply in RI signal pin.

-14-
A-3: DB25 Male Connector Pin assignment in R801 (DB62 to 8 DB25) cable and
A400/P584 (DB37 to 4 DB25) cable for RS232 signal and RS422/485 signal.
=====================================================================
DB25 Pin Number | RS232 Signal | RS422/485 Signal | RS485 2W Signal
=====================================================================
2 | TXD (Out) | TXD+ (Out) | DATA+(I/O)
---------------------------------------------------------------------
3 | RXD (In ) | RXD+ (In ) | ---
---------------------------------------------------------------------
4 | RTS (Out) | --- | ---
---------------------------------------------------------------------
5 | CTS (In ) | --- | ---
---------------------------------------------------------------------
6 | DSR (In ) | RXD- (In ) | ---
---------------------------------------------------------------------
7 | GND | isolated GND | isolated GND
---------------------------------------------------------------------
8 | DCD (In ) | --- | ---
---------------------------------------------------------------------
20 | DTR (Out) | TXD- (Out) | DATA-(I/O)
=====================================================================

A-4: DB9 Male Connector Pin assignment in R804 (DB62 to 8 DB9) cable and
P485 (DB37 to 4 DB9) cable for RS232 signal and RS422/485 signal.
DB9 Male Connector Pin definition in P220/P232/P422I/P442N card.
===========================================================================
DB9 Pin Number | RS232 Signal | RS422/485 Signal | RS485 2W Signal
===========================================================================
1 | DCD (In ) | --- | ---
---------------------------------------------------------------------------
2 | RXD (In ) | RXD+ (In ) | ---
---------------------------------------------------------------------------
3 | TXD (Out) | TXD+ (Out) | DATA+(I/O)
---------------------------------------------------------------------------
4 | DTR (Out) | TXD- (Out) | DATA-(I/O)
---------------------------------------------------------------------------
5 | GND | isolated GND or GND | GND
---------------------------------------------------------------------------
6 | DSR (In ) | RXD- (In ) | ---
---------------------------------------------------------------------------
7 | RTS (Out) | --- | ---
---------------------------------------------------------------------------
8 | CTS (In ) | --- | ---
---------------------------------------------------------------------------
9 | RI (In ) | --- | ---
===========================================================================
****Note: P485 card will support 4 isolated RS422/485 interface port.Each
port has isolated GND to be used.
Note: P588/P588U/P5588U card do not support RI signal.
Note: P104UP support 5V power supply in RI signal (pin 9).
Note: P422I card support 2 ground isolated RS422/485 interface.
Note: P422N card support 2 RS422/485 interface with common ground.
Note: P8485U card support 8 RS422/485 interface with common ground.
Note: P588U-4 card support 4 RS232 interface in port A/B/C/D and 4
RS422/485 interface in port E/F/G/H with common ground.
Note: TB485 convertor can convert DB9 connector to 3 pin terminal
blocks for RS485 application.
-15-
A-5: RJ45 Connector Pin assignment in RJ422 & RJ584 card.
=================================================================
RJ45 Pin Number | RS232 Signal Name | RS422 Signal Name
=================================================================
1 | TXD (Out) | TXD+ (Out)
-----------------------------------------------------------------
2 | RXD (In ) | RXD+ (In )
-----------------------------------------------------------------
3 | RTS (Out) | ---
-----------------------------------------------------------------
4 | CTS (In ) | ---
-----------------------------------------------------------------
5 | DSR (In ) | RXD- (In )
-----------------------------------------------------------------
6 | GND | GND
-----------------------------------------------------------------
7 | DTR (Out) | TXD- (Out)
-----------------------------------------------------------------
8 | DCD (In ) | ---
=================================================================
Note: RJ584 card support 4 * RS232 interface port.
RJ584-1 Card support 3 * RS232 interface in Port A/B/C and RS422
interface in Port D.
RJ584-2 Card support 2 * RS232 interface in Port A/B and 2 * RS422
interface in Port C/D.
RJ584-3 Card support RS232 interface in Port A and 3 * RS422
interface in Port B/C/D.
RJ422 card support 4 * RS422 interface port.

Note: In RJ422 card we use one jumper for each port to insert terminator
resistor in receiver or not. When one port do not connect with other
device, we must not insert the terminator resistor (the jumper OFF)
for that port. This condition can promise such port with mark
condition in receiver. When you insert the terminator resistor in
no use port, we may have indetermined state in receiver.
Generally we suggest that user may not insert terminator resistor
in each port. Except that you run in high baud rate and long cable
in your application.

Note: In RJ422 card the RS422 signal is balanced type. We use the plus(+)
and minus(-) signal pair in direct connection. But some manufacture
may use inverse definition in such signal pair. So you need to check
the signal definition for each device to prepare your cable.

Note: Because RJ422 card do not have ground isolation function in RS422
interface. User must confirm the ground condition for all the device
connectted are good. Or the ground voltage difference between both
device may be higher than common mode voltage limitaion and damage
the interface IC. If user can not confirm such condition, we suggest
to use P485 card with ground isolation feature.

-16-
System Structure and Cable Wiring

1. Four port card and A400 Cable(DB37 Male to four DB25 Male)

DB25 Male connector for


RS232/422/485 interface

2. Four port card and P485 Cable(DB37 Male to four DB9 Male)

DB9 Male connector for


RS232/422/485 interface

3. Four port card and A640 Cable to RS4232-4 Box

DB25 Male connector for


Ground isolated
A640 Cable RS232/422/485 interface
DB37 Male to DB37 Female

RS4232-4 Box

-17-
System Structure and Cable Wiring

4. Eight port card and R801 Cable(DB62 Male to eight DB25 Male)

DB25 Male connector for


RS232/422/485 interface

5. Eight port card and R804 Cable(DB62 Male to eight DB9 Male)

DB9 Male connector for


RS232/422/485 interface

6. Eight port card with R803 Cable to RS4232-8 Box

DB25 Male connector for


Ground isolated
R803 Cable RS422/485 interface
DB62 Male to DB62 Male

RS4232-8 Box

-18-
Appendix B
RS4232 Isolated Box user guide

B-1 Introduction.

RS4232 box is used to convert RS232 input signal to isolated RS232, RS422
or RS485 interface. So we can support signal ground isolation system between
PC system and external application system. We have two models to support
four ports(RS4232-4 model) or eight ports(RS4232-8 model).

In RS4232-4 box each port have two bit DIP switch to set for RS232, RS422
or RS485 interface. In RS4232-8 box each port have one bit DIP switch to
set for RS422 or RS485 interface. In RS485 mode we had auto data direction
function to maintain no local echo condition. But user may still need
to maintain just only one port to output data. So RS485 mode must be used
in half-duplex transmission environment. For full-duplex transmission
environment user may need to use RS422 mode.

In RS4232 box we have one built-in switching power supply. This power
supply can accept 100-265VAC input or 48--60VDC input(option).

In RS4232-8 box we can use one DB62 to DB62 cable to connect with P588
card. In RS4232-4 box we can use one DB37 to DB37 cable to connect with
P584 card. All the cable is connected in pin to pin direct connection type.

B-2 Pin definition in DB25 Male connector.


==========================================================================
Pin | RS232 mode | RS422/485 mode|| Pin | RS232 mode | RS422/485 mode
Number| Signal Name| Signal Name || Number| Signal Name| Signal Name
==========================================================================
2 | TXD (Out) | --- || 8 | DCD (In ) | ---
--------------------------------------------------------------------------
3 | RXD (In ) | --- || 9 | --- | RXD+ (In )
--------------------------------------------------------------------------
4 | RTS (Out) | --- || 10 | --- | RXD- (In )
--------------------------------------------------------------------------
5 | CTS (In ) | --- || 11 | --- | TXD+ (Out)
--------------------------------------------------------------------------
6 | DSR (In ) | --- || 12 | --- | TXD- (Out)
--------------------------------------------------------------------------
7 | GND | isolated GND || 20 | DTR (Out) | ---
==========================================================================
Note: In RS4232-8 box we just support RS422/RS485 interface. In RS4232-4
box we can support RS232/RS422/RS485 interface.
Note: Each connector port have isolated ground.
Note: RS485 mode may let pin9 & pin11 short together as DATA+ and pin10
& pin12 short together as DATA- to connect with other device.
Note: In RS422 mode the pin 2/3/4/5/6/8/20 may be in floating condition and
with 5K ohmn pull down resistor to GND.
Note: In RS232 mode the pin 9/10/11/12 may be in floating state.
Don't connect any RS232 signal to these pins.
Note: We have 120 ohmn terminator resistor built in each input signal pair.
In RS485 mode you may need to have this terminator resistor in both
end device. In other location we may need to remove such terminator.
User can set jumper On/Off to use/remove this terminator resistor.
Note: The pin definition for DB62 female connector of RS4232-8 box is same
as table A-1 in Appendix A. But it is DCE type connector.
-19-
B-3: RS4232-4 box Mode setting in DIP switch.
======================================================
DIP Switch | DIP Switch | Interface mode
bit 1,3,5,7 | bit 2,4,6,8 |
======================================================
ON | ON | RS232
------------------------------------------------------
ON | OFF | RS232
------------------------------------------------------
OFF | ON | RS422
------------------------------------------------------
OFF | OFF | RS485
======================================================
Note: bit 1 & 2 is used for PORT A setting.
bit 3 & 4 is used for PORT B setting.
bit 5 & 6 is used for PORT C setting.
bit 7 & 8 is used for PORT D setting.

B-4: RS4232-8 box Mode setting in DIP switch.


================================ NOTE: bit1=Port A
DIP Switch | Interface mode bit2=Port B
================================ bit3=Port C
ON | RS422 bit4=Port D
-------------------------------- bit5=Port E
OFF | RS485 bit6=Port F
================================ bit7=Port G
bit8=Port H
B-5: RS422 interface application note
RS422 interface is used for point to point connection or multi-drop
application. But user may need to keep in mind that we can only let one
driver output signal to be actived in one time. Or you may let the driver
IC to be burnt.

Even though we had put one 120ohmn terminator resistor in each input signal
pair. User may need to remove this terminator resistor for proper operation.

Due to proper operation user may not let one cable left in un-connected
condition. Because the crosstalk problem may let one transmit data signal
to be coupled to receive data input. This may lead wrong process in some
application environment.

B-6: RS485 interface application note


RS485 interface is used for multi-drop half-duplex application. Because
we had put Auto-Data-Direction-Control capability in RS4232 box, user may
not use RTS signal to control the data direction. So it is no use for RTS
/CTS signal in RS485 interface. Because we had put one 120ohmn terminator
resistor in RXD input signal pair.User may or may not need to remove this
terminator resistor for proper operation.

Due to proper operation user may not let one cable left in un-connected
condition. Because the crosstalk problem may let one transmit data signal
to be coupled to receive data input. This may lead wrong process in some
application environment.

Due to the relationship between DATA+/DATA- and signal in UART may be


different from other manuafacture's definition. In our RS4232 box we have
DATA+ with same phase as signal in UART (somebody may invert it).
-20-
Appendix C
Troubleshooting procedure for PCIPORT card
==========================================

1. Please confirm your card type firstly:


a)PCIPORT card:
P588, P584, P422I, P124, P485, P514, P518, P640N, P984, P985, P924.
P584U, P588U, P588U4, P8485U, P485U, P114U, P104UP, P134U, P640NU.

2. Please specify your target O.S. type:


a) DOS. b) Linux. c) SCO Openserver. d) WIN95/98/Me.
e) WIN NT. f) WIN2000. g) WIN XP/2003/Vista. h) XP embedded.

3. Please confirm following boot procedure in which step to be wrong:


a) In power on boot procedure we can not see the PCI BIOS screen to show
our PCIPORT card.
NOTE: After the power of PC is truned on, the PCI BIOS will scan the
card to be inserted in PCI slot. If one PCI card were inserted
in PCI slot, the PCI BIOS will assign the memory map, I/O map
and IRQ number to every cards. Generally PCI BIOS will show the
vendor ID and device ID of each card in screen. You can also see
the bus number, function number and IRQ number for this card.
Our PCIPORT card will have vendor ID "10B5" or "144A". THe device
ID will be "9050". So we must see such information in PCI BIOS
boot procedure display screen. If we can not see such card, it
means that PCI BIOS can not find our card. Then we may change the
PCI slot for our card (we suggest that PCI slot may be damaged)
or clean the golden finger of our PCIPORT card (we suggest that
our PCB is dirty in golden finger and the touch is not good) to
try again.

b) When we can find PCIPORT in PCI BIOS boot procdure, we can install our
driver from diskette. But there are some problem to install the driver.
NOTE: Every O.S. must have corresponding driver to be installed. We have
many OS's driver in different directory. If user did not specify
the correct path for corresponding driver in driver installation
procedure, you may have problem to install our driver.
Generally this condition is happened in WIN2000 or WIN95/98 system.
Because WIN2000 system may choose the path for our WIN95 driver's
directory and user do not change to WIN2000 directory. Then user
may install driver and with error message finally. In this
condition user must remove the INF file and force WIN2000 system
to enter P&P procedure to install new driver (or WIN2000 system
may record your old bad driver always).

c) When we install driver successfully. But we can not find the extra
target COM port in next boot procedure.
NOTE: In power on boot procedure our driver will start to work.
Generally our driver will check the contents of driver and the
hardware information in PCI card. If the driver assigned for one
card were not the card installed, our driver will say "card not
found". And there are no extra COM port available.
Generally you can check same hardware configuration in different
OS type. If there were no problem in new OS system, then you may
have some driver installation problem. You may need to check with
us to solve your problem (E_Mail to rayon@ms1.hinet.net). If
there were problem in other OS system, you may have hardware
-21-
problem in such card. Please check with supplier.

d) When we have extra target COM port in next boot procedure. But there
are no data transmission or receiving in such COM port.

NOTE: Generally one need to send/receive data from COM port may have
two steps. The first step is to open such COM port. The second
step is to send/receive data in IRQ mode or polling mode.
In our driver diskette we prepare "RAYONTTY.EXE" utility file.
This file is terminal emulation program. You can run this file
to use one COM port for data communication.
When you run "rayontty.exe" you can assign the target COM port
and set the target parameter. Then you can ask to "connect". If
you set the COM port that you can see in "control panel" and
"rayontty.exe" say "OPEN FAIL", then you may not have such COM
port (even though we can see in "control panel"). This condition
is due to some problem in driver installation. Please contact
with us to fix your problem.
If we could open such COM port without any error message, then
we need to check hardware operation. If we had one loopback
connector to insert in such COM port. In normal condition we can
strike any key in keyboard and see the console out in screen.
If we strike any key in keyboard and there are no console out
in screen (the system is hung), then you may have IRQ assigned
with confliction to other device. Please change PCIPORT card to
other PCI slot and you may be assigned other IRQ without
confliction. Or you may enter BIOS setup to let some IRQ value
to be used by ISA card in "legacy" mode.
Even though our PCIPORT card is IRQ shareable. But ISA card is
not IRQ shareable. When one IRQ is set to be "P&P mode" in BIOS
setup. And one ISA card need such IRQ (by jumper or manual set).
Then PCI BIOS may assign such IRQ to PCIPORT card. So we may
have big problem in PCIPORT card's IRQ service routine.

e) We can install Linux driver without any error message. But there are
correct action or system hung in next boot procedure.

NOTE: We offer source file type driver to install in Linux system.


So our driver will be compiled and linked with kernel source
file in current system configuration. But user may use the
booting image file for different system configuration. User
must use current kernel source file and configuration to
generate one image file to boot.

4. The other condition to specify and troubleshoot:


a) Generally we test our PCIPORT card in DOS system.
b) In some condition the action in DOS environment may be different from
other OS environment. So there are no problem in DOS test environment
may not say no problem in other OS environment.
c) So anybody need to troubleshoot PCIPORT card must specify the OS type.
And they may need more detail information about the problem in
PCIPORT card operation.
d) Then we may test in DOS environment firstly and test in other OS
environment as customer specified later.
e) So user must specify the problem in which environment to test.
f) Please send E_mail to rayon@ms1.hinet.net before returned your cards.
-22-
Appendix D
P422I and P422N card usage
==========================
D-1: P422I card usage
1. DIP SWITCH in SW1:
this is 4 bit DIP switch. bit1 & 2 is used to set card number.
default condition is in ON position to set in 1'st card mode.
bit3 & 4 is used to set port interface type. bit3 is used for port A.
bit4 is used for port B. default condition is in ON position for
RS422 interface. When we set in OFF position (the other side of ON)
, port interface is RS485 mode.

2. Jumper in JP3 & JP6:


this is jumper to insert(remove) 120ohm terminator resistor in
RS422/485 interface. JP3 is used for port A. JP6 is used for port B.
When jumper is shorted, the terminator resistor inserted. When jumper
is opened, the terminator resistor removed from interface. Default
condition is no terminator resistor (jumper open).

3. usage in RS485 interface mode:


When user need to use port type RS485 interface, we need to set DIP
switch in SW1 to OFF position. Then we need to short pin2 & pin3 in
DB9 connector as DATA+ signal and short pin4 & pin6 as DATA- signal
for RS485 connection.
User can also use our TB485 convertor for DB9 connector to 3 terminal
block for DATA+ , DATA- , GND connection.

4. Pin definition for DB9 connector:


Please check Appendix A-4 table for more information.

D-2: P422N card usage


1. DIP SWITCH in SW1:
this is 4 bit DIP switch. bit1 & 2 is used to set card number.
default condition is in ON position to set in 1'st card mode.
bit3 & 4 is used to set port interface type. bit3 is used for port A.
bit4 is used for port B. default condition is in ON position for
RS422 interface. When we set in OFF position (the other side of ON)
, port interface is RS485 mode.

2. Jumper in JP1 & JP2:


this is jumper to insert(remove) 120ohm terminator resistor in
RS422/485 interface. JP1 is used for port A. JP2 is used for port B.
When jumper is shorted, the terminator resistor inserted. When jumper
is opened, the terminator resistor removed from interface. Default
condition is no terminator resistor (jumper open).

3. usage in RS485 interface mode:


When user need to use port type RS485 interface, we need to set DIP
switch in SW1 to OFF position. Then we need to short pin2 & pin3 in
DB9 connector as DATA+ signal and short pin4 & pin6 as DATA- signal
for RS485 connection.
User can also use our TB485 convertor for DB9 connector to 3 terminal
block for DATA+ , DATA- , GND connection.

4. Pin definition for DB9 connector:


Please check Appendix A-4 table for more information.
-23-
D-3: How to install DOS driver
1. Please prepare one directory for our DOS driver. ex. C:\RAYON

2. Please copy our DOS driver from diskette to this directory.


cd \RAYON
xcopy /s/e/v a:\DOS\*.* .

3. Our driver is in C:\RAYON\P220 directory. We just need to run "P984"


in this directory to install DOS driver.
cd \RAYON\P220
P984

4. We can have DEMO program and document in C:\RAYON\DEMO directory.


Here you can find the source file for our DEMO program. You can also
see the document for our API to call in DOS driver.

D-4: How to install WIN95/98/Me driver


1. WIN95/98/Me system is P&P system.

2. Upon power on condition WINDOWS system will find new hardware device
and ask to install driver. You just need to specify the driver
directory in A:\WIN95

D-5: How to install WIN NT4 driver


1. WIN NT4 system is not P&P system. So we need to install driver
manually. Our driver will be install as "network card".

2. In [control panel] [Network] [Add Adaptor] we can install our card


from diskette. We just need to specify directory in
A:\P220\NT4

3. Then you can finish the setting and port available in next booting.

D-6: How to install WIN2000/XP/2003/Vista driver


1. WIN2000/XP/2003/Vista system is P&P system.

2. Upon power on condition WINDOWS system will find new hardware device
and ask to install driver. You just need to specify the driver
directory in A:\WIN2000

3. In WIN2000 system the port driver for each COM port will be installed
automatically after P422I/P422N card driver installed. In WIN XP/2003
system the port driver for each COM port will be installed one by
one after card driver installed.

D-7: How to install Linux driver


1. Detail information please check Chapter 7 of this manual.

2. Please goto root directory and "tar" our driver diskette to your
Linux system.
cd /
tar xvf /dev/fd0

3. Please run "Install" to install driver.


./Install

4. Please choose card type in "PCIPORT card".


-24-
Appendix E
P584/P584U and P524U card usage
===============================
E-1: P584 card usage
1. Jumper in JP1:
this is jumper to set card number. Default condition is shorted in
jumper for 1'st card mode. When jumper is opened, it is 2'nd card
mode.

2. Pin definition for DB25 connector: (use with A400 cable)


Please check Appendix A-3 table for more information.

3. Pin definition for DB9 connector: (use with P485 cable)


Please check Appendix A-4 table for more information.

E-2: P584U card usage


1. Jumper in JP1:
same function as above P584 card to set card number.

2. Pin definition for DB25 connector: (use with A400 cable)


Please check Appendix A-3 table for more information.

3. Pin definition for DB9 connector: (use with P485 cable)


Please check Appendix A-4 table for more information.

E-3: P524U card usage


1. DIP SWITCH in SW1:
This is 4 bit DIP SWITCH to set interface type. Because we just have port C and port
D need to set, so we will use bit 3 location for port C and bit 4 location for port D. When
we need to set in RS422 mode, we will let DIP SWITCH in ON location. When we need to set
in RS485 mode, we will let DIP SWITCH in OFF location.

2. Jumper in JP1:
same function as above P584U card to set card number.

3. Jumper in JP2,JP4:
this is jumper to insert(remove) 120ohm terminator resistor in
RS422/485 interface. JP4 is used for port C. JP2 is used for port D.
When jumper is shorted, the terminator resistor inserted. When jumper
is opened, the terminator resistor removed from interface. Default
condition is no terminator resistor (jumper open).

4. usage in RS485 interface mode and pin definition in connector:


same function as above P485 card.

5. Pin definition for DB25 connector: (use with A400 cable)


Please check Appendix A-3 table for more information.

6. Pin definition for DB9 connector: (use with P485 cable)


Please check Appendix A-4 table for more information.

7. port A and port B is RS232 interface. port C and port D can be set
in RS422 or RS485 interface.

-25-
E-4: How to install DOS driver
1. Please prepare one directory for our DOS driver. ex. C:\RAYON

2. Please copy our DOS driver from diskette to this directory.


cd \RAYON
xcopy /s/e/v a:\DOS\*.* .

3. Our driver is in C:\RAYON directory. We just need to run "PCIPORT"


in this directory to install DOS driver.
cd \RAYON
PCIPORT

4. We can have DEMO program and document in C:\RAYON\DEMO directory.


Here you can find the source file for our DEMO program. You can also
see the document for our API to call in DOS driver.

E-5: How to install WIN95/98/Me driver


1. WIN95/98/Me system is P&P system.

2. Upon power on condition WINDOWS system will find new hardware device
and ask to install driver. You just need to specify the driver
directory in A:\WIN95

E-6: How to install WIN NT4 driver


1. WIN NT4 system is not P&P system. So we need to install driver
manually. Our driver will be install as "network card".

2. In [control panel] [Network] [Add Adaptor] we can install our card


from diskette. We just need to specify directory in
A:\P584\NT4

3. Then you can finish the setting and port available in next booting.

E-7: How to install WIN2000/XP/2003/Vista driver


1. WIN2000/XP/2003/Vista system is P&P system.

2. Upon power on condition WINDOWS system will find new hardware device
and ask to install driver. You just need to specify the driver
directory in A:\WIN2000

3. In WIN2000 system the port driver for each COM port will be installed
automatically after P584/P584U/P524U card driver installed. In WIN
XP/2003 system the port driver for each COM port will be installed
one by one after card driver installed.

E-8: How to install Linux driver


1. Detail information please check Chapter 7 of this manual.

2. Please choose card type in "PCIPORT card".

E-9: How to install SCO driver


1. Detail information please check Chapter 8 of this manual.

2. P584/P584U/P524U card will be shown as PCIPORT card and P584 card type.

-26-
Appendix F
P485 and P485U card usage
==========================
F-1: P485 card usage
1. DIP SWITCH in SW1:
this is 4 bit DIP switch. Each bit will set the corresponding port
interface type. Bit 1 is used for port A. Bit2 is for port B. Bit3
is for port C and bit4 is for port D. Default condition is in ON
position for RS422 interface. When we set in OFF position (the other
side of ON) port interface is RS485 mode.

2. Jumper in JP1:
this is jumper to set card number. Default condition is shorted in
jumper for 1'st card mode. When jumper is opened, it is 2'nd card
mode.

3. Jumper in JP2,JP3,JP4 & JP5:


this is jumper to insert(remove) 120ohm terminator resistor in
RS422/485 interface. JP5 is used for port A. JP4 is used for port B.
JP3 is used for port C. JP2 is used for port D.
When jumper is shorted, the terminator resistor inserted. When jumper
is opened, the terminator resistor removed from interface. Default
condition is no terminator resistor (jumper open).

4. usage in RS485 interface mode:


When user need to use port type RS485 interface, we need to set DIP
switch in SW1 to OFF position. Then we need to short pin2 & pin3 in
DB9 connector as DATA+ signal and short pin4 & pin6 as DATA- signal
for RS485 connection. Or we need to short pin2 & pin3 in DB25
connector as DATA+ signal and short pin6 & pin20 in DB25 connector
as DATA- signal for RS485 connection.
User can also use our TB485 convertor for DB9 connector to 3 terminal
block for DATA+ , DATA- , GND connection.

5. Pin definition for DB25 connector: (use with A400 cable)


Please check Appendix A-3 table for more information.

6. Pin definition for DB9 connector: (use with P485 cable)


Please check Appendix A-4 table for more information.

F-2: P485U card usage


1. DIP SWITCH in SW1:
same function as above P485 card to set interface type.

2. Jumper in JP1:
same function as above P485 card to set card number.

3. Jumper in JP2,JP4,JP6 & JP8:


this is jumper to insert(remove) 120ohm terminator resistor in
RS422/485 interface. JP8 is used for port A. JP6 is used for port B.
JP4 is used for port C. JP2 is used for port D.
When jumper is shorted, the terminator resistor inserted. When jumper
is opened, the terminator resistor removed from interface. Default
condition is no terminator resistor (jumper open).

4. usage in RS485 interface mode and pin definition in connector:


same function as above P485 card.
-27-
F-3: How to install DOS driver
1. Please prepare one directory for our DOS driver. ex. C:\RAYON

2. Please copy our DOS driver from diskette to this directory.


cd \RAYON
xcopy /s/e/v a:\DOS\*.* .

3. Our driver is in C:\RAYON directory. We just need to run "PCIPORT"


in this directory to install DOS driver.
cd \RAYON
PCIPORT

4. We can have DEMO program and document in C:\RAYON\DEMO directory.


Here you can find the source file for our DEMO program. You can also
see the document for our API to call in DOS driver.

F-4: How to install WIN95/98/Me driver


1. WIN95/98/Me system is P&P system.

2. Upon power on condition WINDOWS system will find new hardware device
and ask to install driver. You just need to specify the driver
directory in A:\WIN95

F-5: How to install WIN NT4 driver


1. WIN NT4 system is not P&P system. So we need to install driver
manually. Our driver will be install as "network card".

2. In [control panel] [Network] [Add Adaptor] we can install our card


from diskette. We just need to specify directory in
A:\P584\NT4

3. Then you can finish the setting and port available in next booting.

F-6: How to install WIN2000/XP/2003/Vista driver


1. WIN2000/XP/2003/Vista system is P&P system.

2. Upon power on condition WINDOWS system will find new hardware device
and ask to install driver. You just need to specify the driver
directory in A:\WIN2000

3. In WIN2000 system the port driver for each COM port will be installed
automatically after P485/P485U card driver installed. In WIN XP/2003
system the port driver for each COM port will be installed one by
one after card driver installed.

F-7: How to install Linux driver


1. Detail information please check Chapter 7 of this manual.

2. Please choose card type in "PCIPORT card".

F-8: How to install SCO driver


1. Detail information please check Chapter 8 of this manual.

2. P485/P485U card will be shown as PCIPORT card and P584 card type.

-28-
Appendix G
P588U/P5588U and P138U/P118U card usage
=======================================
G-1: P588U/P5588U card usage
1. Jumper in JP1:
this is jumper to set card number. Default condition is shorted in
jumper for 1'st card mode. When jumper is opened, it is 2'nd card
mode.

2. Pin definition for DB25 connector: (use with R801 cable)


Please check Appendix A-3 table for more information.
R801 cable is one DB62 male connector to eight DB25 male connector.

3. Pin definition for DB9 connector: (use with R804 cable)


Please check Appendix A-4 table for more information.
R804 cable is one DB62 male connector to eight DB9 male connector.

4. P588 card can connect with RS4232-8 box by R803 cable. R803 cable is
DB62 male connector to DB62 male connector pin to pin connection
cable. The other document for RS4232-8 box can be found in Appendix
B for more information.

5. P588U card will use 5V,+12V,-12V power supply in GD75232 RS232 interface
IC. So P588U card can have more than +7V/-7V signal level in normal RS232
Loading condition. P5588U card will use 5V power supply in MAX3243 RS232
Interface IC. So P5588U card can have more than +5V/-5V signal level in
Normal loading condition.

G-2: P138U card usage


1. Jumper in JP1:
same function as above P588U card to set card number.

2. Pin definition for DB25 connector: (use with R801 cable)


Please check Appendix A-3 table for more information.

3. Pin definition for DB9 connector: (use with R804 cable)


Please check Appendix A-4 table for more information.

..4. DIP Switch in SW3,SW4


Each DIP Switch is 4 bit. SW3 and SW4 is combined to 8 bit group for setting. Each bit
will be used to set corresponding serial port interface type. The bit in SW3 and SW4
group will be set to RS422 mode (ON location) or RS485 mode (OFF location). The bit
location 1—4 of SW3 will be used for serial port A—D. The bit location 1—4 of SW4
will be used for serial port E—H.

5. usage in 2 wire RS485 mode:


When you need to use in 2 wire RS485 mode, you need to let TXD+ with RXD+ signal short
as DATA+ signal and TXD- with RXD- signal short as DATA- signal. You can also use with TB485
module to let your DB9 connector to be 3 pin terminal block.

-29-
G-3: P118U card usage
1. Jumper in JP1:
same function as above P588U card to set card number.

2. Pin definition for DB25 connector: (use with R801 cable)


Please check Appendix A-3 table for more information.

3. Pin definition for DB9 connector: (use with R804 cable)


Please check Appendix A-4 table for more information.

4. DIP Switch in SW1,SW2,SW3,SW4


a) Each DIP Switch is 4 bit. SW1 and SW2 is combined to 8 bit group for setting. SW3
and SW4 is combined to 8 bit group for setting. Each bit will be used to set
correspomding serial port interface type. The bit in SW1 and SW2 group will be set
to RS232 mode (OFF location) or RS422/RS485 mode (ON location). The bit in SW3 and
SW4 group will be set to RS422 mode (ON location) or RS485 mode (OFF location). The
bit location 1—4 of SW1 and SW3 will be used for serial port A—D. The bit location
1—4 of SW2 and SW4 will be used for serial port E—H.
b) When you need to set interface type, you need to set SW1 and SW2 group firstly. When
it is not for RS232 mode, you need to set SW3 and SW4.

5. usage in 2 wire RS485 mode:


When you need to use in 2 wire RS485 mode, you need to let TXD+ with RXD+ signal short
as DATA+ signal and TXD- with RXD- signal short as DATA- signal. You can also use with TB485
module to let your DB9 connector to be 3 pin terminal block.

-30-
Appendix H
P8485U,P5x88U and P588U4 card usage
===================================
H-1: P8485U card usage
1. DIP SWITCH in SW1 & SW2:
this is 4 bit DIP switch for SW1 & SW2. Each bit will set the
corresponding port interface type. SW1 bit1 is used for port A.
SW1 bit2 is for port B. SW1 bit3 is for port C. SW1 bit4 is for
port D. SW2 bit1 is for port E. SW2 bit2 is for port F. SW2 bit3
is for port G and bit4 is for port H. Default condition is in ON
position for RS422 interface. When we set in OFF position (the other
side of ON) port interface is RS485 mode.

2. Jumper in JP1:
this is jumper to set card number. Default condition is shorted in
jumper for 1'st card mode. And jumper is opened in 2'nd card mode.

3. usage in RS485 interface mode:


When user need to use port type RS485 interface, we need to set DIP
switch to OFF position. Then we need to short pin2 & pin3 in
DB9 connector as DATA+ signal and short pin4 & pin6 as DATA- signal
for RS485 connection. User can also use our TB485 convertor for DB9
connector to 3 terminal block for DATA+ , DATA- , GND connection.

4. Pin definition for DB25 connector: (use with R801 cable)


Please check Appendix A-3 table for more information.

5. Pin definition for DB9 connector: (use with R804 cable)


Please check Appendix A-4 table for more information.

H-2: P588U4 card usage


1. DIP SWITCH in SW2:
same function as above P8485U card. But we just have portE--portH as
RS422/485 interface and portA--portD as RS232 interface. So we just
have SW2 switch to set port interface for PORTE--portH.

2. For other jumper and usage is same as P8485U card.

H-3: P5x88U card usage


1. DIP SWITCH in SW1 & SW2:
It is 4 bit DIP switch for SW1 & SW2. Each bit will set the
corresponding port interface type. SW1 bit1 is used for port A.
SW1 bit2 is for port B. SW1 bit3 is for port C. SW1 bit4 is for
port D. SW2 bit1 is for port E. SW2 bit2 is for port F. SW2 bit3
is for port G and bit4 is for port H. In P5188U card ON is set to
RS422 and OFF is RS232. In P5288U card ON is set to RS485 and OFF
is RS232. In P5388U card ON is set to RS485 and OFF is RS422. In
P5488U/P5888U/P5988U card SW2 is used to set PORT E--H as
RS232 (OFF) or RS422 /RS485 (ON). SW1 is used to set PORT E--H
as RS422 (OFF) or RS485 (ON). In P5688U/P5788U card SW is used
to set as RS232 (OFF) or RS422/RS485 (ON) in corresponding port.

2. usage in RS485 interface mode:


We need to short TXD+ and RXD+ signal as DATA+ signal. We need to
short TXD- and RXD- signal as DATA- signal. User can use our TB485
converter for DB9 connector to 3 terminal block for DATA+, DATA-,
GND connection.
-31-
H-4: How to install DOS driver
1. Please prepare one directory for our DOS driver. ex. C:\RAYON

2. Please copy our DOS driver from diskette to this directory.


cd \RAYON
xcopy /s/e/v a:\DOS\*.* .

3. Our driver is in C:\RAYON directory. We just need to run "PCIPORT"


in this directory to install DOS driver.
cd \RAYON
PCIPORT

4. We can have DEMO program and document in C:\RAYON\DEMO directory.


Here you can find the source file for our DEMO program. You can also
see the document for our API to call in DOS driver.

H-5: How to install WIN95/98/Me driver


1. WIN95/98/Me system is P&P system.

2. Upon power on condition WINDOWS system will find new hardware device
and ask to install driver. You just need to specify the driver
directory in A:\WIN95

H-6: How to install WIN NT4 driver


1. WIN NT4 system is not P&P system. So we need to install driver
manually. Our driver will be install as "network card".

2. In [control panel] [Network] [Add Adaptor] we can install our card


from diskette. We just need to specify directory in
A:\P588\NT4

3. Then you can finish the setting and port available in next booting.

H-7: How to install WIN2000/XP/2003/Vista driver


1. WIN2000/XP/2003/Vista system is P&P system.

2. Upon power on condition WINDOWS system will find new hardware device
and ask to install driver. You just need to specify the driver
directory in A:\WIN2000

3. In WIN2000 system the port driver for each COM port will be installed
automatically after P8485U/P588U4 card driver installed. In WIN XP/2003
system the port driver for each COM port will be installed one by
one after card driver installed.

H-8: How to install Linux driver


1. Detail information please check Chapter 7 of this manual.

2. Please choose card type in "PCIPORT card".

H-9: How to install SCO driver


1. Detail information please check Chapter 8 of this manual.

2. P8485U/P588U4 card will be shown as PCIPORT card and P588 card type.

-32-
Appendix I
P232 card usage
===================
I-1: How to install DOS driver
1. Please prepare one directory for our DOS driver. ex. C:\RAYON

2. Please copy our DOS driver from diskette to this directory.


cd \RAYON
xcopy /s/e/v a:\DOS\*.* .

3. Our driver is in C:\RAYON\P220 directory. We just need to run "P984"


in this directory to install DOS driver.
cd \RAYON\P220
P984

4. We can have DEMO program and document in C:\RAYON\DEMO directory.


Here you can find the source file for our DEMO program.

I-2: How to install WIN95/98/Me driver


1. WIN95/98/Me system is P&P system.

2. Upon power on condition WINDOWS system will find new hardware device
and ask to install driver. You just need to specify the driver
directory in A:\WIN95

I-3: How to install WIN NT4 driver


1. WIN NT4 system is not P&P system. So we need to install driver
manually. Our driver will be install as "network card".

2. In [control panel] [Network] [Add Adaptor] we can install our card


from diskette. We just need to specify directory in
A:\P220\NT4

3. Then you can finish the setting and port available in next booting.

I-4: How to install WIN2000/XP/2003/Vista driver


1. WIN2000/XP/2003/Vista system is P&P system.

2. Upon power on condition WINDOWS system will find new hardware device
and ask to install driver. You just need to specify the driver
directory in A:\WIN2000

3. In WIN2000 system the port driver for each COM port will be installed
automatically after P422I/P422N card driver installed. In WIN XP/2003
system the port driver for each COM port will be installed one by
one after card driver installed.

I-5: How to install Linux driver


1. Detail information please check Chapter 7 of this manual.

2. Please goto root directory and "tar" our driver diskette to your
Linux system. Then you can run"Install" to install driver.
cd /
tar xvf /dev/fd0
./Install

3. Please choose card type in "PCIPORT card".


-33-
Appendix J
P984/P985 and P924 card usage
=============================
J-1: P984 card usage
1. Jumper in JP1:
this is jumper to set card number. Default condition is shorted in
jumper for 1'st card mode. When jumper is opened, it is 2'nd card
mode.

2. Pin definition for DB25 connector: (use with A400 cable)


Please check Appendix A-3 table for more information.

3. Pin definition for DB9 connector: (use with P485 cable)


Please check Appendix A-4 table for more information.

J-2: P985 card usage


1. Jumper in JP1:
this is jumper to set card number. Default condition is shorted in
jumper for 1'st card mode. When jumper is opened, it is 2'nd card
mode.

2. Pin definition for DB25 connector: (use with A400 cable)


Please check Appendix A-3 table for more information.

3. Pin definition for DB9 connector: (use with P485 cable)


Please check Appendix A-4 table for more information.

J-3: P924 card usage


1. Jumper in JP5:
this is 2 bit jumper. Each bit will set the corresponding port
interface type. Bit 1(label C) is used for port C. Bit2(label D)
is for port D. Default condition is shorted in jumper for RS422
interface. When jumper is opened, it is set for RS485 interface.

2. Jumper in JP1:
same function as above P984/P985 card to set card number.

3. Jumper in JP2,JP3:
this is jumper to insert(remove) 120ohm terminator resistor in
RS422/485 interface. JP3 is used for port C. JP2 is used for port D.
When jumper is shorted, the terminator resistor inserted. When jumper
is opened, the terminator resistor removed from interface. Default
condition is no terminator resistor (jumper open).

4. usage in RS485 interface mode and pin definition in connector:


same function as above P984/P985 card and P485 card.

5. port A and port B is RS232 interface. port C and port D can be set
in RS422 or RS485 interface.

-34-
J-4: How to install DOS driver
1. Please prepare one directory for our DOS driver. ex. C:\RAYON

2. Please copy our DOS driver from diskette to this directory.


cd \RAYON
xcopy /s/e/v a:\DOS\*.* .

3. Our driver is in C:\RAYON\P220 directory. We just need to run "P984"


in this directory to install DOS driver.
cd \RAYON\P220
P984

4. We can have DEMO program and document in C:\RAYON\DEMO directory.


Here you can find the source file for our DEMO program. You can also
see the document for our API to call in DOS driver.

J-5: How to install WIN95/98/Me driver


1. WIN95/98/Me system is P&P system.

2. Upon power on condition WINDOWS system will find new hardware device
and ask to install driver. You just need to specify the driver
directory in A:\WIN95

J-6: How to install WIN NT4 driver


1. WIN NT4 system is not P&P system. So we need to install driver
manually. Our driver will be install as "network card".

2. In [control panel] [Network] [Add Adaptor] we can install our card


from diskette. We just need to specify directory in
A:\P984\NT4

3. Then you can finish the setting and port available in next booting.

J-7: How to install WIN2000/XP/2003/Vista driver


1. WIN2000/XP/2003/Vista system is P&P system.

2. Upon power on condition WINDOWS system will find new hardware device
and ask to install driver. You just need to specify the driver
directory in A:\WIN2000

3. In WIN2000 system the port driver for each COM port will be installed
automatically after P984/P985/P924 card driver installed. In WIN
XP/2003 system the port driver for each COM port will be installed
one by one after card driver installed.

J-8: How to install Linux driver


1. Detail information please check Chapter 7 of this manual.

2. Please choose card type in "PCIPORT card".

J-9: How to install SCO driver


1. Detail information please check Chapter 8 of this manual.

2. P984/P985/P924 card will be shown as PCIPORT card and P984 card type.

-35-
Appendix K
P5584U/P104UP/P134U and P114U card usage
========================================
K-1: P5584U/P104UP card usage
1. Jumper in JP1:
this is jumper to set card number. Default condition is shorted in
jumper for 1'st card mode. When jumper is opened, it is 2'nd card
mode.

2. Pin definition for DB25 connector: (use with A400 cable)


Please check Appendix A-3 table for more information.

3. Pin definition for DB9 connector: (use with P485 cable)


Please check Appendix A-4 table for more information.

K-2: P134U card usage


1. Jumper in JP1:
this is jumper to set card number. Default condition is shorted in
jumper for 1'st card mode. When jumper is opened, it is 2'nd card
mode.

2. DIP Switch in SW2:


It is 4 bit DIP switch for SW2. Each bit will set the corresponding
port interface type. SW2 bit1 is used for port A. SW2 bit2 is for
port B. SW2 bit3 is for port C. SW2 bit4 is for port D. DIP switch
in ON location is set to RS422 and OFF is RS485.

3. usage in RS485 interface mode:


We need to short TXD+ and RXD+ signal as DATA+ signal. We need to
short TXD- and RXD- signal as DATA- signal. User can use our TB485
converter for DB9 connector to 3 terminal block for DATA+, DATA-,
GND connection.

4. Pin definition for DB25 connector: (use with A400 cable)


Please check Appendix A-3 table for more information.

5. Pin definition for DB9 connector: (use with P485 cable)


Please check Appendix A-4 table for more information.

K-3: P114U card usage


1. Jumper in JP1:
same function as above P134U card to set card number.

2. DIP SWITCH in SW1 & SW2:


It is 4 bit DIP switch for SW1 & SW2. Each bit will set the
corresponding port interface type. SW1 is used to set for RS232
(OFF) or RS422/RS485 (ON location). SW2 is used to set for
RS422 (ON) or RS485 (OFF location). Bit 1 is used for port A.
Bit 2 is used for port B. Bit 3 is used for port C. Bit 4 is
used for port D.

3. usage in RS485 interface mode and pin definition in connector:


same function as above P134U card.

-36-
K-4: How to install DOS driver
1. Please prepare one directory for our DOS driver. ex. C:\RAYON

2. Please copy our DOS driver from diskette to this directory.


cd \RAYON
xcopy /s/e/v a:\DOS\*.* .

3. Our driver is in C:\RAYON directory. We just need to run "PCIPORT"


in this directory to install DOS driver.
cd \RAYON
PCIPORT

4. We can have DEMO program and document in C:\RAYON\DEMO directory.


Here you can find the source file for our DEMO program. You can also
see the document for our API to call in DOS driver.

K-5: How to install WIN95/98/Me driver


1. WIN95/98/Me system is P&P system.

2. Upon power on condition WINDOWS system will find new hardware device
and ask to install driver. You just need to specify the driver
directory in A:\WIN95

K-6: How to install WIN NT4 driver


1. WIN NT4 system is not P&P system. So we need to install driver
manually. Our driver will be install as "network card".

2. In [control panel] [Network] [Add Adaptor] we can install our card


from diskette. We just need to specify directory in
A:\P584\NT4

3. Then you can finish the setting and port available in next booting.

K-7: How to install WIN2000/XP/2003/Vista driver


1. WIN2000/XP/2003/Vista system is P&P system.

2. Upon power on condition WINDOWS system will find new hardware device
and ask to install driver. You just need to specify the driver
directory in A:\WIN2000

3. In WIN2000 system the port driver for each COM port will be installed
automatically after P134U/P114U card driver installed. In WIN XP/2003
system the port driver for each COM port will be installed one by
one after card driver installed.

K-8: How to install Linux driver


1. Detail information please check Chapter 7 of this manual.

2. Please choose card type in "PCIPORT card".

K-9: How to install SCO driver


1. Detail information please check Chapter 8 of this manual.

2. P134U/P114U card will be shown as PCIPORT card and P584 card type.

-37-
Appendix M
RAYON REPAIR PROCEDURE
==========================

1. RETURN MATERIAL AUTHORIZATION (RMA or RA)

RAYON requires that you provide the following information :

* Model number

* RAYON serial number

* The reason for returning the products

######################################################################
# We strongly suggest that you can check with RAYON by E_mail before#
#you can confirm the reason for returning the products. Because some #
#problem may be due to wrong software usage or setup only. #
# rayon@ms1.hinet.net #
######################################################################

* Your purchase-order number

You will be given the following information from your RAYON Service
Representative:

* Your Return Material Authorization Number (RMA or RA Number)

* Information regarding applicable charges

* The address to which you will return the products

2. REPAIR CHARGES

All RAYON products have a one year warranty. Products that are damaged or
modified are not covered.

This limited warranty covers defects in materials and workmanship in your


RAYON-branded hardware products. This limited warranty does not cover
problems that result from:
*external causes such as accident,abuse,misuse,or problems with
electrical power.
*Servicing not authorized by us.
*Usage that is not in accordance with product instructions.
*Failure to follow the product instructions or failure to perform
preventive maintenance.

Products that are covered under the original warranty and that are found
defective by RAYON will be repaired at no cost. A standard handling and
testing charge will be assessed for products returned for warranty repair
that are found to be operating properly.

Products that are no longer covered under warranty will be repaired, if


deemed repairable, for a flat rate charge regardless of the repair work
required.

Please contact the nearest RAYON Service Center for current pricing
information.
-38-
如何在 DOS 系統安裝 PCIPORT 卡驅動程式
1. 此目錄所有檔案拷貝到你的 DOS 系統。
例如:XCOPY /S/E/C A:\DOS\*.* C:\RAYON

2. 此時我們可以執行〝PCIPORT〞命令或者〝P984〞命令即可完成 DOS 驅動程式


安裝。
例如:C:\RAYON\PCIPORT。
或:C:\RAYON\P220\P984。
※注意:P584、P588、P485、P584U、P588U、P485U、P8485U、P118U、P524U
卡是採用〝PCIPORT〞安裝。
P232、P422I、P422N、P984、P985、P924 卡是採用〝P984〞安裝。

3. 此時您可以發現畫面出現每一片找到的卡資料,要注意卡號在我們寫應用程式時很
重要。我們會根據一定的順序來找到卡號 1,然後再找卡號 2。例如:
card[1]PCIPORT P588 1’st card
IRQ number:11
COM port:8
card[2]PCIPORT P588 2’nd card
IRQ number:12
COM port:8
※注意:在此所說的卡號是上面所說的 Card[ ]裡面的號碼,這個號碼與我們用跳
線來指示 PCIPORT 卡是第幾片卡無關。

4. 如果您在安裝時,出現某些異常現象,則可能出現下列訊息。
a) PCIPORT & INDPORT Already Install.
表示您已經安裝過驅動程式,不用再安裝。
b) Please check〝JP1〞in the P588 or P584.
表示您有兩片卡的 JP1 都設成一樣,同時 ON 或同時 OFF,請將其中一片設
成另一種狀態。
c) PCIPORT not in system.
表示根本找不到任何 PCIPORT 卡在本系統上。

5. 如果您想要移除本驅動程式,則只要執行〝freepci〞命令即可。

6. 應用程式撰寫注意事項:
a) 我們所有 DOS 驅動程式的功能呼叫函數之定義都在磁片的 READ.ME 檔案
上。使用者可以參考該檔案了解各個功能來撰寫應用程式。同時我們也附有
DEMO 程式及其原程式供參考。使用者可以修改本程式來符合自己之所需。
b) 請注意所有功能呼叫都要指定每一片卡的卡號,所以使用者在安裝驅動程式時
要記錄每一片卡的卡號顯示(亦即 Card[ ])然後根據此值來指示自己期望的
端口。
c) 雖然 PCIPORT 及 P984 是不同的驅動程式供不同的卡使用,但是其功能呼叫
函數都是相同的,所以使用者可以使用相同的應用程式。

-39-
如何在 Windows 95/98/Me 系統安裝 PCIPORT 卡驅動程式

一、程式的安裝
■ 進入 Windows 95/98/Me 作業系統後,會自動 Plug & Play:
1. 找到 〝PCI Communication Device〞,請按[下一步]。
2. 選擇 ž搜尋裝置的最適用的驅動程式,請按[下一步]。
3. 將磁碟片放入 A:,在指定的位置打勾R,輸入驅動程式路徑 A:\WIN95,請按
[下一步]。
4. 系統會找到 RAYON PCIPORT P584 (依據您是哪種多用戶卡而顯示),請按
[下一步]。
5. 到此步驟,Windows 已經安裝好新硬體裝置所需要的軟體,請按[下一步]。
6. 此時已經安裝完成,可以到〝控制台〞→〝系統〞→〝裝置管理員〞下,查
看目前卡及 COM 端口所使用的資源 (預設 COM 端口啟始值為 COM5)。

二、使用上注意事項
1. 我們可以在 Win95/98/Me 系統上安裝兩片 PCIPORT 卡,但一定要確保第
一片卡的 JP1 跳線接通(ON),第二片卡的 JP1 跳線為斷開(OFF)。如果兩
片 PCIPORT 卡的跳線同時為接通或斷開狀態,則可能造成不當的動作出
現,一定要避免。
2. 若是 COM 端口啟始值為 COM5,則 COM5 為 Port A… 第 2 個端口為 Port
B… 以此類推至最後一個 Port。若是需要更改 COM 端口啟始值,請到〝控
制台〞→〝系統〞→〝裝置管理員〞→〝MultiFunction〞→〝RAYON PCIPORT
P584〞→〝Setup〞中設定。
3. 使用者在給定 COM 端口啟始值時,一定要確保其 COM 端口號的範圍不要
與其他卡相衝突,否則可能出現不可預期的問題。
4. PCIPORT 可以工作在 IRQ 共享模式,所以多片 PCIPORT 卡可以共用同
一個 IRQ。但是 PC 上 至少要留一個 IRQ 可供 P&P 功能指定之用。 如果
一 個 PC 系 統 都 沒 有 留 下 至 少 一 個 IRQ 供 PCIPORT 卡 使 用 , 則
PCIPORT 卡無法正常工作,而當 IRQ 衝突時,可換 PCI 插槽試試看。可是
我們仍然要注意 PCIPORT 卡所被指定的 IRQ 如果與其他卡相同,則我們必
須確認該卡也要支援 IRQ 共享模式才可以。
5. 在 WIN95/98/Me 系統,多用戶卡之 COM 端口啟始值會由 COM5 開始安
裝,因為 COM3/COM4 已經保留給傳統 COM 端口。

-40-
如何在 WINDOWS NT 系統安裝 PCIPORT 卡驅動程式

一﹑驅動程式的安裝
■開機進入 Windows NT 系統後,請依下列步驟進行安裝工作:
1. 進入→控制台→網路→介面卡→按〝新增〞
2. 點選〝從磁片安裝〞
3. 放入磁碟片到 A:,輸入驅動程式路徑(參考以下列表),按〝OK〞
目錄 a:\P584\NT4 ===> 支援P584/P584U/P485/P485U/P514U
/P524U/P534U卡
目錄 a:\P588\NT4 ===> 支援 P588/P588U/P118U/P8485U卡
目錄 a:\P220\NT4 ===> 支援 P220/P422I/P422N/P232卡
目錄 a:\P984\NT4 ===> 支援 P984/P985/P924 卡

4. 選取 OEM 選項:反白字 RAYON XXXXX 為要安裝的卡 →確定


5. 設定 COM 端口號啟始值(預設值為 5),按〝Apply〞
6. 系統提示〝Reboot you system to ensure the com is ready〞按〝確定〞→關
閉→重新開機,是(Y)。

二﹑使用上注意事項
1. 我們可以在 Windows NT 系統上安裝兩片 PCIPORT 卡,但一定要確保第一
片卡的 JP1 跳線接通(ON),第二片卡的 JP1 跳線為斷開(OFF)。如果兩片
PCIPORT 卡的跳線同時為接通或斷開狀態,則可能造成不當的動作出現,一
定要避免。
2. 在 PCIPORT 卡上的跳線接通者(ON)為第一片卡, 其擁有的 COM 端口號值
較小;而跳線斷開(OFF)為第二片卡,其 COM 端口號接續第一片卡,值較
大而跟隨其後。
3. 如果使用者想要指定自己期望的 COM 端口啟始值,則必須要到→〝控制台〞
→〝網路〞→〝介面卡〞→〝內容〞→去做設定的工作。
4. 所有的安裝過程一定要確保每片卡的 COM 端口號不能有互相衝突出現, 否
則擁有相同 COM 端口號的不同卡可能出現不可預期的錯誤動作。
5. 由於 Windows NT 系統會記下每一個 PCI 插槽的硬體資源使用情況,為避
免發生問題,任何時刻不再安裝附加卡時,也必須將該卡的軟體刪除,以避
免不必要的困擾。
6. 當驅動程式安裝成功後,在→〝控制台〞→〝連接埠〞→中會顯示新增成功
的 COM 端口。若是找不到期望的 COM 端口,則表示 Port 的驅動程式並未
安裝,亦即 PCIPORT 卡的驅動程式並未正確安裝。此時請重新依照安裝步驟
重新安裝驅動程式,並記錄每個過程的訊息以幫助找出可能問題原因及解決
對策。請利用 rayon@ms1.hinet.net 與本司聯絡。本公司將提供解決方案資
料供用戶參考。
-41-
如何在 Windows 2000 系統安裝 PCIPORT 卡驅動程式

一﹑驅動程式的安裝
■進入 Win2000 作業系統後,系統會自動執行 PnP 找到 PCI 簡單通訊卡:
1. 歡迎使用尋找新增硬體精靈 →下一步
2. 這個精靈將會完成裝置安裝
ž搜尋適當的裝置驅動程式檔案(建議選項) →下一步
3. 搜尋下列硬體裝置所需的驅動程式檔案
£軟式磁碟機 í此項不要打勾í
R指定位置 →下一步
4. 放入磁碟片,輸入驅動程式位置 A:\WIN2000 →下一步
5. 這個精靈找到以下裝置的驅動程式 →下一步
sPCI 序列連接埠
6. 找不到數位簽章: 要繼續安裝嗎 →是(Y)
7. Windows 已經完成安裝此裝置的驅動程式 →完成
二﹑使用上注意事項
1. 我們可以在 Windows 2000 系統上安裝兩片 PCIPORT 卡,但一定要確保第
一片卡的 JP1 跳線接通(ON),第二片卡的 JP1 跳線為斷開(OFF)。如果兩片
PCIPORT 卡的跳線同時為接通或斷開狀態,則可能造成不當的動作出現,一
定要避免。
2. 在安裝驅動程式時,要特別注意驅度程式路徑不可以選錯。若是不小心指到
A:\WIN95 路徑,則最後會提示出錯誤訊息。則必須進行複雜的修復動作,才
能夠繼續正確安裝驅動程式,所以使用者務必要注意此點。
3. 如果使用者想要指定自己期望的 COM 端口啟始值,則必須要到〝控制台〞→
〝系統〞→〝硬體〞→〝裝置管理員〞→〝多重連接埠序列介面卡〞→找到我
們的卡點選內容後再進行設定工作。
4. 雖然我們的 PCIPORT 卡可以工作在 IRQ 共享模式,可是我們仍然要注意
PCIPORT 卡所被指定的 IRQ 如果與其他卡相同,則我們必須確認該卡也要支
援 IRQ 共享模式才可以。如果該卡並不支援 IRQ 共享模式,則我們必須令
PCIPORT 不要與之擁有相同 IRQ(可能要換 PCI 插槽)才能避免工作不正常。
5. 使用者如果在安裝完 PCIPORT 卡的驅動程式後,卻在〈Control Panel〉找不
到期望的 COM 端口,則表示 Port 的驅動程式並未安裝,亦即 PCIPORT 卡的
驅動程式並未正確安裝。請先刪除 PCIPORT 卡,再利用搜尋新的硬體來重新
安裝,並記錄每個過程的訊息以幫助找出可能問題原因及解決對策。請利用
rayon@ms1.hinet.net 與本司聯絡。本公司將提供解決方案資料供用戶參考。

-42-
如何在 Windows XP 系統安裝 PCIPORT 卡驅動程式

一﹑驅動程式的安裝
■進入 WinXP 作業系統後,系統會自動執行 PnP 找到 PCI 簡單通訊卡:
1.歡迎使用尋找新增硬體精靈
ž從清單或特定位置安裝(進階) →下一步
2.在這位置中搜尋最好的驅動程式
R 搜尋時包括這個位置
輸入 A:\WIN2000 ,放入驅動程式磁碟片到 A: →下一步
3.尚未通過標誌測試(可忽略)… →繼續安裝
4.完成尋找硬體精靈 →下一步
5.接下來繼續安裝每個 Port 的驅動程式,(要一個一個 Port 安裝,安裝方法同上)。

二﹑使用上注意事項
1. 我們可以在 Windows XP 系統上安裝兩片 PCIPORT 卡,但一定要確保第一
片卡的 JP1 跳線接通(ON),第二片卡的 JP1 跳線為斷開(OFF)。如果兩片
PCIPORT 卡的跳線同時為接通或斷開狀態,則可能造成不當的動作出現,一
定要避免。
2. 在安裝驅動程式時,要特別注意驅度程式路徑不可以選錯。若是不小心指到
A:\WIN95 路徑,則最後會提示錯誤訊息。則必須進行複雜的修復動作,才
能夠繼續正確安裝驅動程式,所以使用者務必要注意此點。
3. 在 WINXP 系統,當我們安裝完 PCIPORT 卡的驅動程式後,系統會逐一進行
PORT 的驅動程式之安裝(XP 系統會逐一問話及等待回答才完成驅動程式安
裝) ,於是我們的卡有多少端口就要進行多少次的驅動程式安裝動作,所以請
耐心安裝。
4. 如果使用者想要指定自己期望的 COM 端口啟始值,則必須要到→〝控制台〞
→〝系統〞→〝硬體〞→〝裝置管理員〞→〝多重連接埠序列介面卡〞→找到
我們的卡點選內容後再進行設定工作。
5. 雖然我們的 PCIPORT 卡可以工作在 IRQ 共享模式,可是我們仍然要注意
PCIPORT 卡所被指定的 IRQ 如果與其他卡相同,則我們必須確認該卡也要支
援 IRQ 共享模式才可以。如果該卡並不支援 IRQ 共享模式,則我們必須令
PCIPORT 不要與之擁有相同 IRQ(可能要換 PCI 插槽)才能避免工作不正常。
6. 使用者如果在安裝完 PCIPORT 卡的驅動程式後,卻在〈Control Panel〉找不
到期望的 COM 端口,則表示 Port 的驅動程式並未安裝,亦即 PCIPORT 卡
的驅動程式並未正確安裝。請先刪除 PCIPORT 卡,再利用搜尋新的硬體來重
新安裝,並記錄每個過程的訊息以幫助找出可能問題原因及解決對策。請利用
rayon@ms1.hinet.net 與本司聯絡。本公司將提供解決方案資料供用戶參考。

-43-
如何在 Vista 系統安裝 PCIPORT 卡驅動程式

一﹑驅動程式的安裝
■進入作業 Vista 系統後,系統會自動執行 PnP 找到 PCI 簡單通訊控制卡:
1.找到新硬體
Windows 需要為您的 PCI 簡單通訊控制卡安裝驅動程式軟體
ž尋找並安裝驅動程式軟體(建議選項) →點擊
2.Windows 需要您的授權才能繼續作業 ->繼續
3.不要進行線上搜尋
4.我沒有光碟片請顯示其他選項(如果我們未放 CD 片在這時候)
5.瀏覽電腦上的驅動程式軟體(進階)
6.現在我們可以用瀏覽來指出我們的驅動程式路徑
7.例如: D:\NCD001\P588U\WIN200_XP_2003_Vista
8.完成上述卡的驅動程式安裝,隨後也會自動完成串口的驅動程式安裝

二﹑使用上注意事項
1.我們可以在 Vista 系統上安裝兩片 PCIPORT 卡,但一定要確保第一片卡的
JP1 跳線接通(ON),第二片卡的 JP1 跳線為斷開(OFF)。如果兩片 PCIPORT
卡的跳線同時為接通或斷開狀態,則可能造成不當的動作出現,一定要避免。
2.如果使用者想要指定自己期望的 COM 端口啟始值,則必須要到→〝控制台〞
→〝系統〞→〝硬體〞→〝裝置管理員〞→〝多重連接埠序列介面卡〞→找到
我們的卡點選內容後再進行設定工作。
3.使用者如果在安裝完 PCIPORT 卡的驅動程式後,卻在〈Control Panel〉找不
到期望的 COM 端口,則表示 Port 的驅動程式並未安裝,亦即 PCIPORT 卡
的驅動程式並未正確安裝。請先刪除 PCIPORT 卡,再利用搜尋新的硬體來重
新安裝,並記錄每個過程的訊息以幫助找出可能問題原因及解決對策。請利用
rayon@ms1.hinet.net 與本司聯絡。本公司將提供解決方案資料供用戶參考。

-44-
如何在 Windows 7 系統安裝 PCIPORT 卡驅動程式

一﹑驅動程式的安裝
■第一次把 PCIPORT 卡插到 WIN7 系統後開機,進入作業 WIN7 系統後,系統
會自動執行 PnP 找到 PCI 簡單通訊控制卡。可是因為我們的 PCIPORT 卡並
非 WIN7 內建的產品,所以 WIN7 不會自動安裝驅動程式也不會問(在 Vista 以
前的 Windows 會問),於是就好像沒看到我們的卡一樣。
■現在我們要自己手動來安裝驅動程式
1.首先我們要到〝控制台〞 〝系統及安全性〞 〝系統〞 〝裝置管理員〞看到
〝其他裝置〞底下有〝!PCI 簡單通訊控制器〞。
2.這就是我們的 PCIPORT 卡,WIN7 系統找不到驅動程式安裝卻不問我們而
給放在此地。
3.我們用滑鼠移到此裝置雙擊左鍵進入〝內容〞畫面,選〝更新驅動程式〞。
4.瀏覽電腦上的驅動程式軟體。
5.現在我們可以用瀏覽來指出我們的驅動程式路徑。
6.例如: D:\NCD001\P588U\WIN200_XP_2003_Vista
7.完成上述卡的驅動程式安裝,隨後也會自動完成串口的驅動程式安裝。

二﹑使用上注意事項
1.我們可以在 WIN7 系統上安裝兩片 PCIPORT 卡,但一定要確保第一片卡的
JP1 跳線接通(ON),第二片卡的 JP1 跳線為斷開(OFF)。如果兩片
PCIPORT 卡的跳線同時為接通或斷開狀態,則可能造成不當的動作出現,
一定要避免。
2.當我們安裝完成卡與串口的驅動程式,我們可以在〝裝置管理員〞的〝連接
埠〞看到各個 RAYON PCI Port 串口裝置,但是卻無法知道那一個串口是那
一個 COM 端口號。在 Vista 以前的系統我們可以有串口與 COM 端口號有順
序性關係,幸運的是我們可以重新給予 PCIPORT 卡的起始 COM 端口號之
指定來解決。
3.如果使用者想要指定自己期望的 COM 端口啟始值,則必須要到〝裝置管理
員〞→〝多重連接埠序列介面卡〞→找到我們的卡(例如 RAYON PCIPORT
P588 Adapter)點選〝內容〞後再選 SETUP 進行設定工作。完成此動作則各
個串口的 COM 端口號會依據此值照順序給.則下一次開機您就可以自己指定
的 COM 端口號在各個串口
4.使用者如果在安裝完 PCIPORT 卡的驅動程式後,卻在〈Control Panel〉找
不到期望的 COM 端口,則表示 Port 的驅動程式並未安裝,亦即 PCIPORT
卡的驅動程式並未正確安裝。請先刪除 PCIPORT 卡,再利用搜尋新的硬體
來重新安裝,並記錄每個過程的訊息以幫助找出可能問題原因及解決對策。
請利用 rayon@ms1.hinet.net 與本司聯絡。本公司將提供解決方案資料供用
戶參考。

-45-
如何在 Windows XP embedded 系統安裝驅動程式

1. 由於 Windows XP embedded 系統是以 Component 為導向的作業系統,所以我


們的 Driver 要被先裝入 Component 系統中才可以在日後被使用。所以驅動程式
的安裝,最重要的工作,是把我們的驅動程式變成一個 Component 而且被加入
Windows XP embedded 系統中。

2. 首先我們提供的 Windows 驅動程式可供 WIN2000、WIN XP、WIN2003、Vista


使用的版本,就是被用來安裝在 Windows XP embedded 系統的版本。

3. 當我們執行 Component Designer,則可以把我們的驅動程式盤片上面的


r2kpci1.inf 及 r2kpci2.inf 檔給 import 來產生 r2kpci1.sld 及 r2kpci2.sld 檔來安裝。

4. 於是在 Component Database Manager 底下,我們可以利用 Add Component 方


式,把上述動作產生的 r2kpci1.sld 及 r2kpci2.sld 這兩個 Component 給添加上去。
於是可以在未來期望系統中安裝。

5. 現在我們開始進行 Target Designer 的工作。

6. 於是我們在左手邊的 Component List 找到期望的 Component 來添加。

7. 我們的 PCIPORT 驅動程式現在變成 Component 在下列位置,請您點選添加到目


標系統中。

8. Hardware→Devices→Ports(COM and LPT)→RAYON PCI584-1 Port

9. 這些串口的添加,請依據期望卡的類型添加相應物件。

10. Hardware→Devices→Multi-port Serial adapters→RAYON PCIPORT P584


Adapter

11. 這些多埠卡的添加,請依據期望卡的類型添加相應物件。

12. 現在開始進行 Dependency Check 動作,此時如果有出現一些 error,則其會列表


這些內容,我們可以雙擊這些內容,則會有些簡單導引請您添加或選擇某些物件
來移除 error。請持續本動作直到 Dependency Check 不再出現 error。

13. 於是我們可以開始 build image 動作,由於我們有一些 file 要被驅動程式所使用,


可是我們目前尚未把這些檔案複製到期望位置,因此 build image 會顯示 error,
告訴我們某些檔案在某一位置找不到。通常這個位置是在 \ Windows embedded
Data \ Repositories \ 目錄底下的第二個目錄(請由 error message 找到位置)現
在我們要把我們驅動程式盤片上面所有的 file 全部複製到此目錄底下即可。

14. 完成上述動作,重新 build image 則可以排除全部 error message,則您就有一個


image 檔在 \ Windows embedded image \ 目錄底下,您可以用此 image 檔供您
的目標系統使用,而且我們的 PCIPORT 卡也可以在您的目標系統使用。

-46-
如何在 Linux 系統安裝 PCIPORT 卡驅動程式

1. 我們的 PCIPORT 卡目前在 P220、P232、P422I、P584、P485、P588、P124、


P514、P518、P984、P985、P924、P422N、P584U、P588U、P485U、P8485U、
P524U、P118U 卡等都可以使用在 Linux 系統。

2. 基本上每個系統都可以插兩片 PCIPORT 卡。
a) 對於 1’st card(跳線短接)而言,我們可以得到下列裝置名稱
/dev/tty81[a~h] 來對應到 Port a~Port h
b) 對於 2’nd card(跳線斷開)而言,我們可以得到下列裝置名稱
/dev/tty82[a~h] 來對應 Port a~Port h

3. 由於 Kernel 2.4.X 版本以後,每個系統的設定都非常重要,往往不同系統設定所


產生的 OBJ 檔,到另一個系統就不能用。所以我們不再提供 OBJ 類型驅動程式,
而是提供 Source 源程式檔案驅動程式供客戶安裝。基本上在 OBJ 類型驅動程式
時代,不必 Kernel 源程式就可以安裝的好處,在我們現在提供源程式類型的驅動
程式情況下就無法安裝了。但是源程式類型的驅動程式有一個好處就是 Kernel 版
本的小變動,基本上在 PCIPORT 驅動程式的安裝都不會造成問題。以往 OBJ 必
須針對每個 Kernel 版本的小變動都要重新提供 OBJ 的困擾不存在了。

4. 使用者要先到根目錄下,把驅動程式盤片內容拷貝到 Linux 系統上。


#cd /
#tar xvf / dev / fd0

5. 然後再到 /etc/rayon 目錄執行 Install 命令開始安裝。


#cd / etc / rayon
#﹒/ Install

6. 在給定卡的類型(PCIPORT)及 Kernel 版本類型等選項後就開始進行驅動程式


的編譯及安裝工作。然後重開機就可以有額外的串口可以使用了。
※注意:由於我們提供是源程式驅動程式,所以一定要與 Kernel 源程式一起編譯
才可以。基本上我們假設 Linux Kernel 的源程式是放在 /usr/src/linux 目
錄底下。但某些廠商的系統(例如 REAHAT)卻不在此名稱目錄底下。
於是使用者必須把源程式目錄名稱改成 /usr/src/linux 或者利用 Link 命
令把原有源程式目錄鏈結到/usr/src/linux 才可以。

7. 基本上 Linux Kernel 版本一直在更新之中,如果使用者在 Linux 系統的驅動程式


安裝上碰到問題,請隨時以 rayon@ms1.hinet.net 與我們聯絡。

-47-
PCIPORT 卡 SCO open server 使用注意事項

1. 我們的 PCIPORT 卡目前有 P584、P485、P588、P124、P514、P518、P584U、


P588U、P485U、P8485U、P524U、P118U 卡都可以使用在 SCO open server
系統。

2. 基本上每個系統可以插兩片 PCIPORT 卡。

3. 對於 1’st card(jumper ON)而言,我們可以得到下列裝置名稱。


/dev/tty81[a~h]

4. 對於 2’nd card(jumper OFF)而言,我們可以得到下列裝置名稱。


/dev/tty82[a~h]

5. 使用者可以使用 /etc/custom 命令來安裝驅動程式。

6. 使用者也可以使用〝 tar 〞命令來拷貝磁片後再利用 build 方式來安裝驅動程式。


a) 先以 Super User 進入後,到根目錄.
b) 利用〝 tar 〞把磁片拷貝到系統.
tar xvf /dev/fd0135ds18
c) 到 /etc/PCIPORT 的目錄下執行 build 動作.
# cd /etc/PCIPORT
# ./build

7. 由於 PCIPORT 卡的系統資源是在開機時由系統指定,所以當安裝環境改變時,
我們所擁有的 PCIPORT 卡的系統資源可能會改變。由於我們的驅動程式必須與
系統核心緊密配合,所以在系統資源改變時必須通知系統,於是必須重新進行鏈
結動作。

8. 所以在安裝 PCIPORT 卡的驅動程式前,我們建議使用者把所有需要安裝的硬體


都插上後,再進行驅動程式的安裝。因為 PCIPORT 卡在每次系統環境改變時都
必須重新安裝驅動程式(先移除舊有驅動程式再安裝新的)。所以 PCIPORT 卡的驅
動程式最好是你的系統最後一個被安裝的驅動程式。

9. 任何時刻如果因為不明原因而讓你的 PCIPORT 卡無法正常工作時,請先移除


PCIPORT 卡的驅動程式即可。

10. 由於系統的限制,我們最多只可以在系統上安裝兩片 PCIPORT 卡,雖然 P124、


P514、P518 等卡可以設定在兩片以上,但仍請設定其 card number 在 1’st card
及 2’nd card 以避免困擾。

11. 由於每片卡要利用到一個 IRQ,且不可以與其他卡共用,所以在安裝 PCIPORT


卡請確定你的主機板有足夠的 IRQ 可供使用,否則將可能無法正常安裝驅動程式
及正常工作。

12. 一定要確認在安裝 PCIPORT 驅動程式時,硬體卡有插才可以,否則安裝不會成


功。
-48-
如何設定 P422I/P422N 卡

1. RS422/RS485 模式的設定方法:
SW 1
ON RS422
3 Port A
OFF RS485
ON RS422
4 Port B
OFF RS485

2. 設定卡號(第幾片卡)的方法:
SW 1
Card 1 Card 2 Card 3 Card 4
1 ON OFF ON OFF
2 ON ON OFF OFF

3. RS422 的接線方法(DB9):
Pin2 RXD+(in)接到對方的 TXD+(out)
Pin3 TXD+(out) 接到對方的 RXD+(in)
Pin4 TXD-(out) 接到對方的 RXD-(in)
Pin6 RXD-(in) 接到對方的 TXD-(out)

4. RS485 的接線方法(DB9):
Pin2 RXD+(in)與 Pin3 TXD+(out)連接在一起,拉出正的訊號。
Pin4 TXD-(out)與 Pin6 RXD-(in)連接在一起,拉出負的訊號。

5. 搭配 TB485 轉接座時用法:
a. 可用於 RS422 模式時 LoopBack 之用途。
b. RS485 模式時,直接將 RS485 兩條資料線插入 TRD+(資料正端)及 TRD-(資料負
端),即可很方便連線使用。

6. 驅動程式安裝之路徑:
DOS 系統 ---------------- A:\DOS\P220\P984.COM
Win95/98/Me 系統 ----- A:\WIN95
Win NT 系統 ------------ A:\P220\NT4
Win2000/XP 系統 ------ A:\Win2000

-49-
如何設定 P485/P485U 卡

1.RS422/RS485 模式的設定方法:
SW 1
1 Port A
2 Port B ON:RS422
3 Port C OFF:RS485
4 Port D

2.設定卡號的方法:
JP1
ON CARD 1
OFF CARD 2

3.RS422 模式的接線方法:
DB9 公頭(P485 Cable) DB25 公頭(A400 Cable) 連線方法
Pin2 RXD+(in) Pin3 RXD+(in) 連接到對方的 TXD+(out)
Pin3 TXD+(out) Pin2 TXD+(out) 連接到對方的 RXD+(in)
Pin4 TXD-(out) Pin20 TXD-(out) 連接到對方的 RXD-(in)
Pin6 RXD-(in) Pin6 RXD-(in) 連接到對方的 TXD-(out)

4.RS485 模式的接線方法:

DB9 公頭 (P485 Cable) DB25 公頭 (A400 Cable)


Pin2 RXD+(in)與 Pin3 TXD+(out) 短接, Pin3 RXD+(in)與 Pin2 TXD+(out) 短接,
為正訊號(DATA+) 為正訊號(DATA+)
Pin4 TXD-(out)與 Pin6 RXD-(in) 短接, Pin20 TXD-(out)與 Pin6 RXD-(in) 短接,
為負訊號(DATA-) 為負訊號(DATA-)

5.P485 Cable 搭配 TB485 轉接座時用法(DB9):


a. 可用於 RS422 模式時 LoopBack 之用途。
b. RS485 模式時,直接將 RS485 兩條資料線插入 TRD+(資料正端)及 TRD-(資料負
端),即可很方便連線使用。

6.驅動程式安裝之路徑:
DOS 系統 ----------------- A:\DOS\PCIPORT.COM
Win95/98/Me 系統 ------ A:\WIN95
Win NT 系統 ------------- A:\P584\NT4
Win2000/XP 系統 ------- A:\Win2000

-50-
如何設定 P984/985/924 卡

1. P924 的 Port C~D 之 RS422/RS485 模式及卡號設定方法:


JP5 (P924 Card Port C~D Only) JP1
C Port C ON:RS422 ON CARD 1
D Port D OFF:RS485 OFF CARD 2

2. RS232 模式的接線方法:
DB9 公頭 (P485 Cable) DB25 公頭 (A400 Cable)
Pin 1=DCD (in) Pin 6=DSR (in) Pin 2=TXD (out) Pin 7=GND
Pin 2=RXD (in) Pin 7=RTS (out) Pin 3=RXD (in) Pin 8=DCD (in)
Pin 3=TXD (out) Pin 8=CTS (in) Pin 4=RTS (out) Pin 20=DTR(out)
Pin 4=DTR(out) Pin 9=RI (in) Pin 5=CTS (in)
Pin 5=GND Pin 6=DSR (in)

3. RS422 模式的接線方法:
DB9 公頭(P485 Cable) DB25 公頭(A400 Cable) 連線方法
Pin2 RXD+(in) Pin3 RXD+(in) 連接到對方的 TXD+(out)
Pin3 TXD+(out) Pin2 TXD+(out) 連接到對方的 RXD+(in)
Pin4 TXD-(out) Pin20 TXD-(out) 連接到對方的 RXD-(in)
Pin6 RXD-(in) Pin6 RXD-(in) 連接到對方的 TXD-(out)

4. RS485 模式的接線方法:
DB9 公頭 (P485 Cable) DB25 公頭 (A400 Cable)
Pin2 RXD+(in)與 Pin3 TXD+(out) 短接, Pin3 RXD+(in)與 Pin2 TXD+(out) 短接,
為正訊號(DATA+) 為正訊號(DATA+)
Pin4 TXD-(out)與 Pin6 RXD-(in) 短接, Pin20 TXD-(out)與 Pin6 RXD-(in) 短接,
為負訊號(DATA-) 為負訊號(DATA-)

5. P485 Cable 搭配 TB485 轉接座時用法(DB9):


a. 可用於 RS422 模式時 LoopBack 之用途。
b. RS485 模式時,直接將 RS485 兩條資料線插入 TRD+(資料正端)及 TRD-(資料負
端),即可很方便連線使用。

6. 驅動程式安裝之路徑:
DOS 系統 ----------------- A:\DOS\P220\P984.COM
Win95/98/Me 系統 ------ A:\WIN95
Win NT 系統 ------------- A:\P220\NT4
Win2000/XP 系統 ------- A:\Win2000

-51-
如何設定 P5388U 卡

1. RS422/RS485 模式的設定方法:
SW 2 SW1
1 Port E 1 Port A
OFF:RS422
2 Port F 2 Port B
ON:RS485
3 Port G 3 Port C
4 Port H 4 Port D

2. 設定卡號的方法:
JP1
ON CARD 1
OFF CARD 2

3. RS422 模式的接線方法:
DB9 公頭 (R804 Cable) DB25 公頭 (R801 Cable) 連線方法
Pin2 RXD+(in) Pin3 RXD+(in) 連接到對方的 TXD+(out)
Pin3 TXD+(out) Pin2 TXD+(out) 連接到對方的 RXD+(in)
Pin4 TXD-(out) Pin20 TXD-(out) 連接到對方的 RXD-(in)
Pin6 RXD-(in) Pin6 RXD-(in) 連接到對方的 TXD-(out)

4. RS485 模式的接線方法:
DB9 公頭 (R804 Cable) DB25 公頭 (R801 Cable)
Pin2 RXD+(in)與 Pin3 TXD+(out) 短接, Pin3 RXD+(in)與 Pin2 TXD+(out) 短接,
為正訊號(DATA+) 為正訊號(DATA+)
Pin4 TXD-(out)與 Pin6 RXD-(in) 短接, Pin20 TXD-(out)與 Pin6 RXD-(in) 短接,
為負訊號(DATA-) 為負訊號(DATA-)

5. R804 Cable 搭配 TB485 轉接座時用法(DB9):


a. 可用於 RS422 模式時 LoopBack 之用途。
b. RS485 模式時,直接將 RS485 兩條資料線插入 TRD+(資料正端)及 TRD-(資料負
端),即可很方便連線使用。

6. 驅動程式安裝之路徑:
DOS 系統 ----------------- A:\DOS\PCIPORT.COM
Win95/98/Me 系統 ------ A:\WIN95
Win NT 系統 ------------- A:\P588\NT4
Win2000/XP 系統 ------- A:\Win2000

-52-
如何設定 P114U/P118U 卡
1. P114U 的 Port A~D 之 RS232/RS422/RS485 模式及卡號設定方法:

SW1 SW2 Mode JP1


1=Port A OFF ON ON CARD 1
RS232
2=Port B OFF OFF OFF CARD 2
3=Port C ON ON RS422
4=Port D ON OFF RS485

2. RS232 模式的接線方法:
DB9 公頭 (P485 Cable) DB25 公頭 (A400 Cable)
Pin 1=DCD (in) Pin 6=DSR (in) Pin 2=TXD (out) Pin 7=GND
Pin 2=RXD (in) Pin 7=RTS (out) Pin 3=RXD (in) Pin 8=DCD (in)
Pin 3=TXD (out) Pin 8=CTS (in) Pin 4=RTS (out) Pin 20=DTR(out)
Pin 4=DTR(out) Pin 9=RI (in) Pin 5=CTS (in)
Pin 5=GND Pin 6=DSR (on)

3. RS422 模式的接線方法:

DB9 公頭 (P485 Cable) DB25 公頭 (A400 Cable) 連線方法


Pin2 RXD+(in) Pin3 RXD+(in) 連接到對方的 TXD+(out)
Pin3 TXD+(out) Pin2 TXD+(out) 連接到對方的 RXD+(in)
Pin4 TXD-(out) Pin20 TXD-(out) 連接到對方的 RXD-(in)
Pin6 RXD-(in) Pin6 RXD-(in) 連接到對方的 TXD-(out)

4. RS485 模式的接線方法:

DB9 公頭 (P485 Cable) DB25 公頭 (A400 Cable)


Pin2 RXD+(in)與 Pin3 TXD+(out) 短接, Pin3 RXD+(in)與 Pin2 TXD+(out) 短接,
為正訊號(DATA+) 為正訊號(DATA+)
Pin4 TXD-(out)與 Pin6 RXD-(in) 短接, Pin20 TXD-(out)與 Pin6 RXD-(in) 短接,
為負訊號(DATA-) 為負訊號(DATA-)

5. P485 Cable 搭配 TB485 轉接座時用法(DB9):


a. 用於 RS422 模式時 LoopBack 之用途。
b. RS485 模式時,直接將 RS485 兩條資料線插入 TRD+(資料正端)及 TRD-(資料
負端),即可很方便連線使用。
6. P118U 的 Port A~H 之 RS232/RS422/RS485 模式及卡號設定方法:
SW1 及 SW2 共有 8 位元位置對比串口 A—H 用以設定為 RS232(設定在 OFF
位置)或 RS422/RS485(設定在 ON 位置).如果是要在 RS422/RS485 則另外設定
SW3 及 SW4 的位元為 RS422(設定在 ON 位置)或 RS485(設定在 OFF 位置).

-53-
RS4232-4 Box 使用及示意解說圖

一、 直接透過 A640 Cable 連接 RS4232-4 Box 到 P584 卡,則可提供 4 個地電位


隔離的 RS232/422/485 遠端連線能力。
下圖為簡易連線方法(圖 1.):

A640 Cable
DB37 Male to DB37 Female
P584 Card
connector

RS4232-4
DB25 Male connector
Ground Isolated
RS232/422/485
* 4 port
RS232 * 4 Port

圖 1.

二、 RS4232-4 Box 搭配使用 A401 Cable 時,其 4 個 DB25 母接頭為 DCE 類型


RS232 接頭。每一個接頭皆可以與任何 DTE 類型 RS232 設備連接,而轉
換為提供地電位隔離的 RS232/422/485 遠端連線能力。特別是為了傳統共
地的 RS232 設備提供了一個地電位隔離 RS232 連線能力。下圖為連線
方法(圖 2.):
P584 Card
A400 Cable RS232 Interface * A401 Cable DB25
DB25 Male 4 Port Female connector *
connector * 4 port 4 port

RS232 * 4 Port
RS4232-4

DB25 Male connector


Terminal Ground Isolated
RS232/422/485
Any * 4 port
RS232
Device

PC1

圖 2.

-54-
RS4232-4 Box 使用及示意解說圖

三、 在前面板左方有一組 DIP SWITCH,每個 Port 是使用兩個 Pin 來做


RS232/422/485 模式切換,設定方法如下表:
PORT A PORT B
1 2 3 4
ON ON RS232 ON ON RS232
ON OFF RS232 ON OFF RS232
OFF ON RS422 OFF ON RS422
OFF OFF RS485 OFF OFF RS485

PORT C PORT D
5 6 7 8
ON ON RS232 ON ON RS232
ON OFF RS232 ON OFF RS232
OFF ON RS422 OFF ON RS422
OFF OFF RS485 OFF OFF RS485

四、 RS4232-4 Box 的 Isolated RS232/422/485 端 DB25 公頭接腳定義:


RS232 RS422 RS485
Pin 2=TxD (Out) Pin 7 = S.G a) Pin 9 與 11 短路成為
Pin 3=RxD (In) Pin 9 = RxD+ (Input) DATA+
Pin 4=RTS (Out) Pin 10 = RxD- (Input)
Pin 11 = TxD+ (Output) b) 而 Pin10 與 12 短路成
Pin 5=CTS (In) 為 DATA-
Pin 12 = TxD- (Output)
Pin 6=DSR (In) c) DATA+ 及 DATA-
Pin 7=GND 使用雙絞線就可以
Pin 8=DCD (In)
與遠方設備連線。
Pin 20=DTR( Out)

五、 在前面板 9 顆 LED 指示目前狀態:


1. 電源啟動後 POWER 綠燈會亮。
2. 其餘 8 顆 LED 代表 port A ~ D,且 TxD 與 RxD 皆獨立顯示,在資料送收狀
況下,會亮紅綠燈交錯指示。

六、 A401 Cable 與 RS4232-4 Box 搭配時,DB25 母頭接腳定義:


Pin 7:S.G
Pin 2:TxD input from PC
Pin 3:RxD output to PC

-55-
RS4232-8 Box 使用及示意解說圖

一、 直接透過 R803 Cable 連接 RS4232-8 Box 到 P588 卡,則可提供 8 個地電位


隔離的 RS422/485 遠端連線能力。
下圖為簡易連線方法(圖 1.):

R803 Cable
DB62 Male to DB62 Male
P588 Card
connector

RS4232-8
DB25 Male connector
Groung Isolated
RS422/485 * 8 port

RS232 * 8 Port

圖 1.

二、 RS4232-8 Box 搭配使用 R802 Cable 時,其 8 個 DB25 母接頭為 DCE 類型


RS232 接頭。每一個接頭皆可以與任何 DTE 類型 RS232 設備連接,而轉
換為提供地電位隔離的 RS422/485 遠端連線能力。
請參考下圖連線方法(圖 2.):

P588 Card R801 Cable


DB25 Male RS232 Interface * R802 Cable DB25
connector * 8 port 8Port Female connector *
8 port

RS232 * 8 Port
RS4232-8

DB25 Male connector


Terminal
Groung Isolated
Any
RS422/485 * 8 port
RS232
Device

PC1

圖 2.

-56-
RS4232-8 Box 使用及示意解說圖

三、 在前面板左方有一組 DIP SWITCH,Pin 1 ~ 8 各獨自代表 Port A ~ H 來做


RS422/485 模式切換,設定方法如下表:。

DIP SWITCH 1 ~ 8
ON RS422
OFF RS485

四、 RS4232-8 Box 的 Isolated RS422/485 端 DB25 公頭接腳定義:


RS422 RS485
Pin 7 = S.G a) Pin 9 與 11 短路成為 DATA+
Pin 9 = RxD+ (Input) b) 而 Pin10 與 12 短路成為 DATA-
Pin 10 = RxD- (Input) c) DATA+ 及 DATA- 使用雙絞線就
Pin 11 = TxD+ (Output)
可以與遠方設備連線。
Pin 12 = TxD- (Output)

五、 在前面板 9 顆 LED 指示目前狀態:


1. 電源啟動後 POWER 綠燈會亮。
2. 其餘 8 顆 LED 代表 port A ~ H,在資料送收狀況下,會亮紅綠燈交錯指示。

六、 R802 Cable 與 RS4232-8 Box 搭配時,DB25 母頭接腳定義:


Pin 7:S.G
Pin 2:TxD input from PC
Pin 3:RxD output to PC

-57-
驅動程式無法安裝成功之處理方法

一、異常狀況:Driver 安裝後,出現以下畫面
(通常此情形都發生在作業系統為 Win2000 時)
◇ PCI 簡單控制卡
裝置安裝過程發生錯誤
指定路徑不正確
二、說明:
此問題會發生,是因為在我們的磁片上同時存在 Win95 與 Win2000 的驅動程式,
若是在安裝時沒有注意看安裝的是哪個作業系統的 Driver,則有可能安裝到
Win95 的 Driver 而造成錯誤,就必須要依照下列方法來解決此問題。

三、解決方法:
1. 將有驚嘆號的問題卡從裝置管理員中刪除
2. 開 DOS 視窗(命令提示字元),到 c:\winnt\inf\目錄移除以下檔案
(1)oemX.inf (跟 pci.inf 大小一樣的檔案)
(2)oemX.pnf (3)pci.inf (4)pci.pnf (5)pci2.inf (6)pci2.pnf
註:若是用〝搜尋→檔案或資料夾〞的方法,請先到控制台=>開啟資料夾
選項→檢視→進階設定→隱藏檔案和資料夾→選取⊙顯示所有檔案和
資料夾。這樣一來,再搜尋就可找到以上之檔案。
3. 再次安裝時請先重新開機,PNP 找到卡後,參照以下步驟安裝:
(1)歡迎使用尋找新增硬體精靈 →下一步
(2)這個精靈將會完成裝置安裝
ž搜尋適當的裝置驅動程式檔案(建議選項) →下一步
(3)搜尋下列硬體裝置所需的驅動程式檔案
£軟式磁碟機 í此項不要打勾í
R指定位置 →下一步
(4)放入磁碟片,輸入驅動程式位置 A:\WIN2000 →下一步
(5)這個精靈找到以下裝置的驅動程式 →下一步
sPCI 序列連接埠
(6)找不到數位簽章: 要繼續安裝嗎 →是(Y)
Windows 已經完成安裝此裝置的驅動程式 →完成

-58-
在 Win2000 中服務器名稱已使用之問題處理

一、異常情形
◇ PCI 簡單控制卡
安裝設備時﹐出現了一個錯誤
名稱已使用為服務名稱或服務顯示名

二、說明
主要原因有很多種,例如:第一次在安裝 Win2000 Driver 時,誤用到 A:
\Win95 目錄下的檔案;或可能曾經安裝過我們其他的 PCIPORT 卡(例如 P588 或
P584),但是現在沒使用卻在系統中未移除;也可能是系統升級(由 Win98 直接
更新至 Win2000)所造成。

三、處理方法步驟
步驟 1:先從裝置管理員中,將我們有驚嘆號的卡移除。
再將 \Winnt\INF\目錄下 r2kpci*.*及 oem*.*檔刪除。
步驟 2:若還是無法解決,請重覆步驟 1 的操作。
(a)再到控制臺→新增/移除硬體→下一步
(b)解除安裝/拔除裝置 Þ下一步
(c)解除安裝裝置 Þ下一步
(d)選取要解除安裝的裝置:
顯示隱藏的裝置R Þ下一步
(e)是,我要解除安裝這個裝置 Þ (y)是
步驟 3:如果上述步驟仍然無法解決,請再重覆步驟 1 及步驟 2 的操作。
(a)執行 Regedit.exe 進入登錄編輯器。
(b)找到下列路徑\HLM\SYSTEM\CurrentControlSet\Service
\HLM\SYSTEM\CurrentControlSet001\Service
\HLM\SYSTEM\CurrentControlSet002\Service
(c)在以上三個路徑下,查看是否存在有
\iport 或\mport 或\nport 或\pciport 或\pport 將整個目錄刪除之。

步驟 4:假如還是有問題,請再執行 Regedit.exe,尋找〝rayon〞關鍵字,將有
關卡及 service 內容刪除,再安裝我們的驅動程式。

注意:要對 Win2000 做 Service Pack 昇級之前,務必把所有的 Driver 刪除(特別是我們


的卡)才可以做,否則會有各種不明的問題發生。

-59-
在 Win XP 中服務器名稱已使用之問題處理

一、異常情形
◇ PCI 簡單控制卡
安裝設備時﹐出現了一個錯誤
名稱已使用為服務名稱或服務顯示名

二、說明
主要原因有很多種,例如:第一次在安裝 Win XP Driver 時,誤用到 A:
\Win95 目錄下的檔案;或可能曾經安裝過我們其他的 PCIPORT 卡(例如 P588 或
P584),但是現在沒使用卻在系統中未移除;也可能是系統升級(由 Win98 直接
更新至 Win XP)所造成。

三、處理方法步驟
步驟 1:先從裝置管理員中,將我們有驚嘆號的卡移除。
將 \WINDOWS\INF\目錄下 r2kpci*.* 及 oem*.*檔刪除。
步驟 2:如果上述步驟仍然無法解決,請重覆步驟 1 的步驟操作。
(a)執行 Regedit.exe 進入登錄編輯器。
(b)找到下列路徑 \HLM\SYSTEM\CurrentControlSet\Service
\HLM\SYSTEM\CurrentControlSet001\Service
\HLM\SYSTEM\CurrentControlSet002\Service
(c)在以上三個路徑下,查看是否存在有
\iport 或\mport 或\nport 或\pciport 或\pport 將整個目錄刪除之。
步驟 3:假如還是有問題,請再執行 Regedit.exe,尋找〝rayon〞關鍵字,將有
關卡及 service 內容刪除,再安裝我們的驅動程式。

注意:要對 Win XP 做 Service Pack 昇級之前,務必把所有的 Driver 刪除(特別是我們


的卡)才可以做,否則會有各種不明的問題發生。

-60-
瑞旺 PCI 卡問題反映流程與解決

一﹑PCIPORT 卡的型號確認
P584、P588、P422I、P124、P485、P514、P518、P640N、P984、P584U、
P588U、P485U、P8485U、P118U、P524U、P640NU、P232、P422N。

二﹑所使用的作業系統種類
1. DOS
2. Linux
3. SCO UNIX
4. Win95/98/ME
5. WinNT
6. Win2000
7. Win XP
8. 其他

三﹑請確認下列開機過程,在何步驟出現錯誤現象
1.在開機過程無法在 BIOS 畫面顯示我們的卡。
說明:電腦電源打開後,接下來開機過程中 BIOS 會搜尋 PCI 插槽上所有存
在的卡,並且根據其硬體資源需求而指定 Memory 及 I/O 地址空間及
IRQ 值給每片 PCI 卡。我們的卡擁有 Vender ID 為 10B5 或 144A,同
時 Device ID 為 9050,基本上只要有插我們的卡在 PCI 插槽上,就
一定可以看到上述訊息,如果看不到上述訊息,就表示主機沒有找到
我們的卡,則需要更換插槽(我們假設該插槽已損壞)或是清潔 PCI 卡
的金手指部分(我們假設金手指髒,造成接觸不良)再測試。
2.當 BIOS 有找到我們的卡,於是就可以進行 Driver 的安裝工作,可是卻無法完
成 Driver 的安裝工作。

說明:由於各種 OS 有不同版本的 Driver 來被安裝,如果使用者未在正確位置


進行安裝,或者指定 Driver 磁片的路徑不正確,都可能造成 Driver 安裝
失敗。

請依據手冊的指示,逐一步驟來進行安裝,如仍有問題請專業工 程師
幫忙解決。

-61-
瑞旺 PCI 卡問題反映流程與解決

3.當 Driver 正常安裝後,重新開機後卻無法找到期望的 COM 端口。

說明:當重新開機的過程,我們的 Driver 會開始工作,基本上我們會核對每一


片卡的內容與所安裝的 Driver 是否配合,如果我們指定的卡的 Driver 與
真正所安裝的卡不同,則我們在核對的過程會認為找不到卡,當然不會
有期望的 COM 端口出現。
一般而言,如果用其他的 OS 環境測試該卡是正確的,可是在這一個環
境就是有問題,則可能不是硬體上的問題,而是軟體安裝問題,這就要
找專業工程師來諮詢。如果在其他的 OS 環境測試該卡也有問題,則可
能是硬體上的問題,請連絡專業工程師確認後寄回維修。

4.當重新開機後,有找到期望的 COM 端口,但是該端口卻不能正常送收資料。

說明:一般而言,我們對於端口進行送收資料的動作,分成兩個步驟,第一個
步驟是打開(Open)該端口,第二個步驟是真正利用 IRQ 或 POLING 方
式來傳送或接收資料。

在我們的 Driver 磁片上都有〝RAYONTTY.EXE〞程式,請執行之,這


是一個終端機模擬程式,我們可以利用<Setup>來指定要工作的 COM 端
口及相關參數。當我們要進行 Connect 時,如果出現 Open fail,就表示
系統根本沒有這個 COM 端口(雖然我們可能在控制台有看到),這有可
能在 Driver 安裝過程中有出現問題,請咨詢專業工程師有關後續處理動
作。
當我們已成功進行 Connect 時,如果我們利用一個 Loop back 接頭(一般
是第 2 與 3 腳短接即可),來安裝在 COM 端口上,則此時您任何敲的鍵
都會在畫面顯示。如果不會顯示,而且可能畫面被咬住,則可能是卡的
IRQ 與別人衝突,請重新更換卡的 PCI 插槽以嘗試獲得不同的 IPQ 指定
值,或者我們要到 BIOS SETUP 進行設定,把 ISA 使用的 IRQ 給設成
Legacy mode,而不可以是 P&P mode。
這是因為 ISA 卡的 IRQ 是不能與別人分享的,如果設成 P&P mode,則
可能其他的 PCI 卡又被設定該 IRQ 值,於是產生問題。

-62-
瑞旺 PCI 卡問題反映流程與解決

四﹑其他問題的描述與維修程序:
1. 基本上我們所有的卡的維修測試都是在 DOS 環境下進行。
2. 有些情況下 DOS 環境與其他 OS 環境的工作流程與特性並不相同,所以 DOS
環境測試無誤,並不代表在其他環境無問題。
3. 所以使用者在將卡送修過程中,一定要詳細描述出問題的作業環境 OS,以
及自己認為出問題的現象為何。

4. 因此我們在維修過程,經 DOS 環境測試正常後,會在依據客戶所描述的環


境來進行核對,如此才可以保證用戶所反應的問題已經確實解決。如果無法
提供詳細資料,則我們只有能保證 DOS 環境使用正常,並不能保證用戶搭
配自己環境後的問題已經解決。

五、維修與收費條款:
1. 本公司所有產品於出貨日起一年內為保固期。

2. 在保固期間內,因為下列因素所導致的損壞並不在保固範圍內。包括意外,
濫用,誤用,電力問題,非授權之修護,未依產品說明之使用等。

3. 客戶在發生問題時,需先與本公司工程師聯絡,詢求支援。在確定必須送回
原廠維修情況下,取得 RMA 碼由客戶送回本公司維修。

4. 客戶在送回維修品時,需詳述使用環境及出現之問題,如果我公司在進行維
修時並未發現問題,而且客戶又未附上問題描述,則我公司將向客戶收取費
用。
5. 在保固期間內,產品送至本公司的運送費用由客戶負擔,產品維修完畢送回
客戶的運送費用由本公司負擔。不在保固範圍內的產品維修,運送費用全部
由客戶負擔。

-63-
TWIN232
Industrial Ground Isolated
RS232 to
RS232,RS422,RS485 Suite
O
Onnee B
Booxx ttoo m
meeeett bbootthh rreeqquuiirreem
meenntt
SSaaffeettyy ffoorr llooccaall aanndd rreem
moottee ccoonnnneeccttiioonn
P
Poow
weerrffuull aanndd F
Flleexxiibbllee ffoorr sseerriiaall ddeevviiccee

★One set RS232 to RS232 isolator


★One set RS232 to RS422 converter
★One set RS232 to RS485 converter
★Fully Ground Isolated Function
★Auto Data Direction Control on RS485
★Support RTS/CTS handshake on RS422
★Support screw terminal and DC power adapter
★Wide VDC range suitable for 12V and 24V environment
★All function and Feature set by DIP switch
★RS232 data transmission LED indicator
PCIPORT Card
Support
P584 P584U
P588 P588U
P114U P118U
P5584U P5588U
P924 P524U
P485 P485U
P232 P8485U
P422I P422N
P5188U P5288U
P5388U P5488U
P5688U P5788U
P5888U P5988U

RAYON TECHNOLOGY CO., LTD.


2F, No. 177, Chung_Shan 2 Rd., Lu_Chou city, Taipei Hsien, Taiwan.
TEL: 886-2-82858362 FAX: 886-2-82857065
E-Mail: rayon@ms1.hinet.net
WEB: http://www.computex.com.tw/rayon
WEB: http://www.rayontech.com

You might also like