background image

Connection Cables and Cable Wiring 

Industio

 CP-134U 

Series

 User’s Manual 

 

 5-7

Cable Wiring—DB9 

 

 
 RS-422 

Point-to-point

 

RS-422 Broadcasting

 

 

 

CP-134U 

RS-422 Device 

CP-134U 

RS-422 Device 1

 

2 TxD+(B) 

RxD+(B) 

2 TxD+(B) 

RxD+(B) 

1 TxD-(A) 

RxD-(A) 

3 RxD+(B) 

TxD+(B) 

3 RxD+(B) 

TxD+(B) 

1 TxD-(A) 

RxD-(A) 

4 RxD-(A) 

TxD-(A) 

4 RxD-(A) 

TxD-(A) 

5 GND 

GND 

5 GND 

GND 

 

 

 

RS-422 Device N

 

 

RxD+(B) 

 

TxD+(B) 

 

RxD-(A) 
TxD-(A) 
GND

 

 
 

 

CP-134U – RS-422 with Handshaking 

 

 CP-134U 

RS-422 

Device

 

2 TxD+(B) 

RxD+(B) 

1 TxD-(A) 

RxD-(A) 

3 RxD+(B) 

TxD+(B) 

4 RxD-(A) 

TxD-(A) 

5 GND 

GND 

7 RTS+(B) 

CTS+(B) 

6 RTS-(A) 

CTS-(A)

 

8 CTS+(B) 

RTS+(B) 

9 CTS-(A) 

RTS-(A) 

 
 
 

 

 

CP-134U – 2-wire RS-485 

 

 CP-134U 

RS-422 

Device

 

2 Data+(B) 

Data+(B) 

1 Data-(A) 

Data-(A) 

5 GND 

GND 

 
 

Содержание Industio CP-134UL

Страница 1: ...er s Manual Industrial 4 Port RS 422 485 Serial Board for PCI Bus First Edition January 2003 This manual is also available on CD ROM and at Moxa s Website Moxa Technologies Co Ltd Tel 866 2 8919 1230...

Страница 2: ...represent a commitment on the part of Moxa Moxa provides this document as is without warranty of any kind either expressed or implied including but not limited to its particular purpose Moxa reserves...

Страница 3: ...it of our products Moxa Internet Services has been set up to provide technical support driver updates product information and user s manual updates The following services are provided E mail for techn...

Страница 4: ...3 2 Windows 95 98 3 10 Windows 2000 XP 3 25 Linux 3 37 4 Serial Programming Tools 4 1 PComm Installation 4 2 PComm Programming Library 4 2 RS 485 Programming 4 2 5 Connection Cables and Cable Wiring...

Страница 5: ...1 1 1 1 1 1 Introduction Welcome to the MOXA CP 134U Series of industrial 4 port RS 422 485 serial boards for the PCI bus The following topics are covered in this chapter Overview Features Package Che...

Страница 6: ...he need for software interference This means that Windows applications can manage RS 485 ports without needing to write extra code for controlling the half duplex protocol With their well designed and...

Страница 7: ...ovided for smoother installation configuration and performance In this manual sections for MOXA Windows NT Windows 2000 XP Windows 95 98 and Linux are included MOXA Serial Comm Tools For application d...

Страница 8: ...22 4 wire RS 485 and 2 wire RS 485 DIP Switch for RS 485 data control ADDC Automatic Data Direction Control Jumper for Termination Resistor selection eliminates impedance matching headaches Reliabilit...

Страница 9: ...4U Series boards The hardware installation procedure is given in this chapter and the next chapter deals with software installation for various operating systems The following topics are covered in th...

Страница 10: ...U Series Block Diagrams Industio CP 134U Series boards hardware configuration for IRQ number and I O address is automatically assigned by the PCI BIOS This means that the board MUST be plugged in firs...

Страница 11: ...f four DIP Switches on the board that allow the user to set the serial interface for each of the board s four ports Ports 1 and 2 can be set to RS 232 RS 422 RS 485 2 wire or RS 485 4 wire Ports 3 and...

Страница 12: ...422 RS 485 4 wire and RS 485 2 wire Note that the two ports can be configured independently Jumper pins Top for Port 1 Bottom for Port 2 RS 422 485 Cover the left two columns of pins with the jumper...

Страница 13: ...io CP 134U Series User s Manual 2 5 Port 1 DIP Switch Settings S1 1 S2 1 RS 232 RS 422 OFF RS 485 2 wire ON ON RS 485 4 wire OFF ON Port 2 DIP Switch Settings S1 2 S2 2 RS 232 RS 422 OFF RS 485 2 wire...

Страница 14: ...P 134U Series User s Manual 2 6 Port 3 DIP Switch Settings S1 3 S2 3 RS 422 OFF RS 485 2 wire ON ON RS 485 4 wire OFF ON Port 4 DIP Switch Settings S1 4 S2 4 RS 422 OFF RS 485 2 wire ON ON RS 485 4 wi...

Страница 15: ...oth a 32 bit 64 bit slot Step 5 Fasten the holding screw to fix the control board in place Step 6 Replace the system cover Step 7 Power on the PC The BIOS will automatically set the IRQ and I O addres...

Страница 16: ......

Страница 17: ...s NT Windows 95 98 Windows 2000 XP and Linux Before proceeding with the software installation complete the hardware installation discussed in the previous chapter Hardware Installation If you need to...

Страница 18: ...s for the Industio CP 134U Series multiport boards The driver conforms to the Win32 COMM API standard To install the driver for the first time go directly to the next section Installing the Driver If...

Страница 19: ...g these steps make sure the board s have already been plugged into the system s PCI slot s 1 Log into NT as Administrator 2 Open the Control Panel click on the Network icon and select the Adapters tab...

Страница 20: ...Configuration Panel dialog box to start the installation 6 Click the Add button to open the Property dialog box to change port settings and advanced FIFO configurations done automatically by the syste...

Страница 21: ...tio CP 134U Series User s Manual 3 5 8 The Port window will open to allow you to change settings as described below for that particular port Port Number You must set up all of the board s ports with t...

Страница 22: ...er is not checked specify the COM number for each port separately For example the second port could be mapped to COM10 and the first port mapped to COM3 Rx FIFO Trigger You may choose from Rx FIFO tri...

Страница 23: ...ct unless the system restarts 12 Once the system restarts you may check the event log issued by the MOXA driver to see if the board s ports have been initialized successfully Enter the Administrative...

Страница 24: ...Tools chapter or HyperTerminal to transmit receive data as well as Remote Access Service to provide dial up networking capabilities Configuring the Board and Ports The following steps explain how to...

Страница 25: ...to 9 in the previous section Installing the Driver for more details To automatically remove the configuration simply unplug the CP 134U Series board after you turn off your PC There is no need to use...

Страница 26: ...COMM API standard To install the driver for the first time go directly to the section Installing the Driver If you have already installed the driver and want to re configure the board and ports add m...

Страница 27: ...Start Windows 95 98 to detect the board Driver installed before Yes No Install the driver from the diskette See the First Time Driver Installation section Configure the port See the Port Configuration...

Страница 28: ...r Windows 95 or the right column for Windows 98 respectively If a MOXA CP 134U Series board was already installed and another MOXA CP 134U Series board is plugged in the system will prompt you to take...

Страница 29: ...ndows 95 Windows 98 3 Type A Windows 95 in the Location field and then click OK in the Select Other Location window The system will start reading the files from the diskette 3 Select Other Devices and...

Страница 30: ...Series User s Manual 3 14 Windows 95 Windows 98 5 Type E Software Win98 Windows 95 and then click OK The system will start reading the files from the diskette 6 Click on Next to continue 7 Click on N...

Страница 31: ...Click on a specific port 2 Click on the Port Setting button to open the Port X window 3 Select a COM number for the specific port from the Port Number pull down list Note Step 4 is optional if you wan...

Страница 32: ...sizes from 1 to 64 bytes are available with the default value set at 64 bytes 8 Check the Set the change to all ports check box if you want to apply the just defined Tx FIFO Size to all ports 9 Click...

Страница 33: ...simply plug in the Industio CP 134U Series board and Windows 95 98 will automatically detect the new board and then skip to the Port Configuration stage to take care of port settings At this point the...

Страница 34: ...ce the board is added or unplugged the configuration will be automatically added or removed by the system 1 Open the Control Panel click on the System icon select the Device Manager tab and then selec...

Страница 35: ...ep 5 is optional if you want to assign COM numbers to the Port manually 5 Check the Auto Enumerating COM Name check box to assign continuous COM numbers for subsequent ports For example if COM 3 is as...

Страница 36: ...Tx FIFO sizes from 1 to 64 bytes are available with the default value set at 64 bytes 8 Click the OK button in the Port X dialog box 9 Click the OK button in the CP 134U Series Properties dialog box...

Страница 37: ...stio CP 134U Series User s Manual 3 21 2 Once the CP 134U Series Port x COMy Properties window opens click on the Port Settings tab 3 You may now make modifications to Bits per second Data bits Parity...

Страница 38: ...ing the Driver This section will discuss how to update the Windows 95 98 driver to enhance the function of the board 1 Open the Control Panel click the System icon and select the Device Manager tab 2...

Страница 39: ...h to the file or click on Browse to use Windows Explorer to locate the file and then click on Next to continue 6 Insert the source diskette in the floppy drive or CD ROM drive 7 Click on OK in the Ins...

Страница 40: ...he Control Panel double click on the Add Remove Programs icon and then select the Install Uninstall tab 2 Click on the MOXA Smartio Industio Driver option and then click on the Add Remove button to st...

Страница 41: ...e following procedure shows how to install the Industio CP 134U Series driver for the first time under Windows 2000 and Windows XP First make sure the board s have already been plugged into the system...

Страница 42: ...ect Search for a suitable driver and then click on Next to continue 4 Select Specify a location and then click on Next to continue 3 Select Search for the best driver and then click on Next to continu...

Страница 43: ...ftware win2k as shown below change the drive letter if needed Click OK to continue 6 Click Next to copy the driver files to your system 5 Wait while the driver software is installed 6 The next window...

Страница 44: ...inue with the rest of the installation procedure 8 The next Found New Hardware Wizard window to appear indicates that Windows has identified the board s serial ports and is starting to install the por...

Страница 45: ...recommended and then click on Next to continue 11 Select Specify a location and then click on Next to continue 8 Select Install the software from a specific location and then click on Next to continu...

Страница 46: ...o the CD ROM drive and then specify the location of the file as F multi_bd software win2k as shown below change the drive letter if needed Click OK to continue 13 Click on Next to continue with the 10...

Страница 47: ...New Hardware Wizard window will open to indicate that it has finished installing Port 0 Click on Finish to install the board s second port 12 After all files have been copied to the system the Complet...

Страница 48: ...tallation There are three ways to check the installation of the CP 134U Series board Device Manager 5 You can check the installation of the board by selecting Start Settings Control Panel System and t...

Страница 49: ...he reason for the problem Windows 2000 Windows XP MOXA PComm Utility This utility which comes with MOXA PComm Lite provides a convenient way to diagnose problems with Moxa boards and provides internal...

Страница 50: ...Industio CP 134U Series User s Manual 3 34 Removing the Driver 1 You can uninstall the board by selecting Start Settings Control Panel System Windows 2000 Windows XP...

Страница 51: ...en click on Device Manager Use the mouse to place the cursor over the CP 134U Series board under Multi port serial adapters and then click the right mouse button Select the Uninstall option Windows 20...

Страница 52: ...Industio CP 134U Series User s Manual 3 36 4 The Device Manager window will automatically refresh to show that the driver and ports for the CP 134U Series board have been removed...

Страница 53: ...to use the module method refer to the Module driver configuration section If you want to use the static method refer to the Static driver configuration section Introduction The Smartio Industio famil...

Страница 54: ...on of the driver can be installed as a Loadable Module Module driver or built into the 1kernel Static driver You may refer to the following installation procedure to determine which method is suitable...

Страница 55: ...w to carry out this procedure cd mkdir moxa cd moxa tar xvf dev fd0 or cd mkdir moxa cd moxa cp mnt cdrom driver directory mxser tgz tar xvfz mxser tgz Device naming convention You may find all driver...

Страница 56: ...s major number To simplify the procedure we provide the shell script msmknod This step only needs to be executed once But you will need to repeat the procedure when You change the driver s major numbe...

Страница 57: ...eration a boot time configuration can be achieved with an rc file We offer one rc mxser file to simplify the procedure under moxa mxser driver But if you are using an ISA board you must modify the ins...

Страница 58: ...luded here for your reference for more details refer to the Linux documentation in directory cd usr src linux make clean takes a few minutes make dep takes a few minutes make bzImage takes about 10 20...

Страница 59: ...h Find extern int tty_init void insert mxser_init as extern int tty_init void extern int mxser_init void 4 Modify Makefile cd usr src linux drivers char vi Makefile Find L_OBJS tty_io o random o add m...

Страница 60: ...instructions for changing these parameters are given below Change Device name If you d like to use other device names instead of default naming conventions all you need to do is modify the internal co...

Страница 61: ...agnostic This utility is used to display which Moxa Smartio Industio boards in the system can be found by the driver msmon Port Monitoring This utility gives the user a quick view of all MOXA port act...

Страница 62: ...oot time error messages and solutions are stated as clearly as possible If you exhaust all possible solutions without solving the problem please contact our technical support team for more help Error...

Страница 63: ...Error msg Couldn t install the MOXA Smartio Industio family driver Solution If loading the Moxa driver failed the major number may conflict with other devices Refer to Section 3 7 to see how to edit t...

Страница 64: ......

Страница 65: ...s 95 98 and Windows 2000 XP and consists of a powerful serial communication library for easy programming in most popular programming languages It also comes with several useful utilities such as diagn...

Страница 66: ...check the help file and the sample programs in the PComm PComm PComm PComm directory RS 485 Programming If you intend to use your Industio CP 134U Series board for RS 485 applications you can refer to...

Страница 67: ...98 sio_RTS port 1 Turn on RTS signal The RS 485 port is ready for transmitting data sio_write port buff 10 Write 10 byte characters in buff The function blocks until the last character is transmitted...

Страница 68: ......

Страница 69: ...le to 4 x DB9 Male cable Model CBL M44M9x4 or DB44 Male to 4 x DB25 Male Model CBL M44M25x4 both of which are available from Moxa can be used to separate the signals coming from the board into the sig...

Страница 70: ...a balanced voltage digital interface to allow 10 Mbps communication over cables of up to 4000 feet in length Ten receivers can be connected to any one driver for broadcasting systems CP 134U RS 422 Po...

Страница 71: ...nd 32 receivers can be set up on a multidrop network The CP 134U Series supports both 2 wire half duplex and 4 wire full duplex RS 485 communications In 2 wire RS 485 Data pins are used for both data...

Страница 72: ...idual Port Pinouts In this subsection we give the pinouts for individual ports Refer to the DB9 pinout diagrams if you are using the Model M44M9x4 cable and refer to the DB25 pinout diagrams if you ar...

Страница 73: ...No Signal Pin No Signal 1 TxD A 2 TxD B 2 TxD B 3 RxD B 3 RxD B 4 RTS B 4 RxD A 5 CTS B 5 GND 7 GND 6 RTS A 13 CTS A 7 RTS B 14 TxD A 8 CTS B 16 RxD A 9 CTS A 19 RTS A RS 485 4 wire DB9 DB25 Pin No Si...

Страница 74: ...Industio CP 134U Series User s Manual 5 6 RS 485 2 wire DB9 DB25 Pin No Signal Pin No Signal 1 Data A 2 Data B 2 Data B 7 GND 5 GND 14 Data A...

Страница 75: ...1 TxD A RxD A 3 RxD B TxD B 3 RxD B TxD B 1 TxD A RxD A 4 RxD A TxD A 4 RxD A TxD A 5 GND GND 5 GND GND RS 422 Device N RxD B TxD B RxD A TxD A GND CP 134U RS 422 with Handshaking CP 134U RS 422 Devic...

Страница 76: ...GND RS 485 Device N Slave Data Data GND Multidrop 4 wire RS 485 full duplex CP 134U RS 485 Device 1 Master Slave 2 TxD B RxD B 1 TxD A RxD A 3 RxD B TxD B 4 RxD A TxD A 5 GND GND RS 485 Device N Slav...

Страница 77: ...ugh two different resistance junctions in a transmission line will sometimes give rise to signal reflection due to the impedance mismatch Signal reflection causes signal distortion which in turn contr...

Страница 78: ......

Страница 79: ...cted by the MOXA driver while installing the driver Hardware causes and solutions a The board is not installed in the computer Please install it b The board is not properly plugged into the system If...

Страница 80: ...lty components Software Causes and Solutions a Industio CP 134U Series boards will check the line status CTS before transmitting data if the RTS CTS flow control feature is set to Enable in the config...

Страница 81: ...select an IRQ that is available 2 After the system reboots the error message Cannot find any configured MOXA Smartio Smartio Smartio Smartio Industio Industio Industio Industio Series board appears i...

Страница 82: ...re not plugged properly The slot the boards are plugged into is defective Try another slot until you find one that works The board might be defective 2 After the system reboots the error message CP 13...

Страница 83: ...mm controller 16C550C or compatible Transmission speed 50 bps 230 4 Kbps 230 4 Kbps CP 134UI CP 134UL Data bits 5 6 7 8 Stop bits 1 1 5 2 Parity none even odd space mark Data signals RS 422 TxD B A Rx...

Страница 84: ...ame PC may have different bus numbers and device numbers with respect to the PCI specifications The same PCI board will have different system configurations if switched to a different PCI slot this is...

Страница 85: ...Industio CP 134U Series User s Manual A 1...

Отзывы: