background image

 

 

CP-132U Series User’s Manual

 

Industrial 2-Port RS-422/485 Serial Board for Universal PCI Bus 

 

Fifth Edition, December 2004 

 

 

 

 
 
 
 
 
 

 

Moxa Technologies Co., Ltd. 

Tel: +886-2-8919-1230 
Fax: +886-2-8919-1231 
www.moxa.com 
[email protected] (Worldwide) 
[email protected]   (The Americas) 

 

Summary of Contents for CP-132U Series

Page 1: ...Industrial 2 Port RS 422 485 Serial Board for Universal PCI Bus Fifth Edition December 2004 Moxa Technologies Co Ltd Tel 886 2 8919 1230 Fax 886 2 8919 1231 www moxa com support moxa com tw Worldwide...

Page 2: ...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 the right to make impr...

Page 3: ...enefit 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 t...

Page 4: ...2000 XP 3 10 Windows 95 98 3 24 Windows NT 3 35 DOS 3 45 Linux 3 50 Chapter 4 Serial Programming Tools 4 1 RS 485 Programming 4 5 Chapter 5 Connection Cables and Cable Wiring 5 1 RS 422 485 Pinouts a...

Page 5: ...s with both 3 3V and 5V PCI slots The CP 132UL series offers 2 independent RS 422 485 serial ports for connecting data acquisition equipment and many other serial devices to a PC and compatible system...

Page 6: ...ilt into each CP 132UL series board eliminating the need for software interference This means that Windows applications can manage RS 485 ports without the need to write extra code for controlling the...

Page 7: ...ndows 95 98 Me DOS and Linux MOXA device drivers are provided for smoother installation configuration and performance In this manual sections for MOXA Windows 2003 Windows 2000 XP Windows NT Windows 9...

Page 8: ...sistor selection eliminates impedance matching headaches Reliability high speed MOXA UART 16550C compatible Communication Controllers with on chip hardware and software flow control to guarantee no da...

Page 9: ...for CP 132UL 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 cov...

Page 10: ...132UL Series Block Diagram CP 132UL 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 first be...

Page 11: ...Hardware Installation CP 132U Series User s Manual 2 3 CP 132UL I V2 120 x 64 5 mm CP 132U I V1 120 x 100 mm...

Page 12: ...CP 132U Series User s Manual 2 4 CP 132UL V2 120 x 64 5 mm CP 132UL V1 120 x 64 5 mm...

Page 13: ...for each of the two ports Note that S2 1 and S2 2 select between RS 422 and RS 485 and S1 1 and S1 2 select between 2 wire and 4 wire RS 485 S1 is only active when S2 is set to ON The figures on the...

Page 14: ...Plug the CP 132U Series control board firmly into a free 32 bit PCI slot or 64 bit PCI slot Step 5 Fasten the holding screw to fix the control board in place Step 6 Replace the system cover Step 7 Pow...

Page 15: ...Windows 2000 XP 2003 Windows NT Windows 95 98 DOS FreeBSD and Linux drivers can be downloaded from the Moxa website Windows 2003 This section includes information about how to install the driver for...

Page 16: ...rdware window will open in the bottom right corner of the Windows desktop 2 The Welcome to the Found New Hardware Wizard window will open automatically Select Install from a list or specific location...

Page 17: ...ssed Windows Logo testing this driver has already been tested and been shown that it can support Windows OS Click on Continue Anyway to proceed 5 Wait while the driver software is installed The next w...

Page 18: ...Port 0 Select Install from a list or specific location Advanced Click on Next to continue 7 Select Search for the best driver in these locations check Include this location in the search and then cli...

Page 19: ...opens cautions you that although this software hasn t passed Windows Logo testing this driver has already been tested and been shown that it can support Windows OS Click on Continue Anyway to proceed...

Page 20: ...g Device Manager 1 Use your mouse to position the cursor over your desktop s My computer icon click the right mouse button and then select Properties 2 When the System Properties window opens click on...

Page 21: ...uration After the driver is installed the MOXA CP 168U Installation dialog box will be displayed and the system will map the ports automatically If one MOXA CP 168U board was installed previously and...

Page 22: ...r for the port from the Port Number pull down list 3 Check the Auto Enumerating COM Number check box to have subsequent ports mapped to continuous COM numbers For example if COM 3 is assigned to Port...

Page 23: ...UL V2 CP 132UL I V2 CP 132UL CP 132U I Tx FIFO Rx FIFO Tx FIFO Rx FIFO High 128 120 64 56 Middle 64 60 32 28 Low 1 1 1 1 Unit Bytes 6 Click OK in the Port X dialog box to confirm the port settings and...

Page 24: ...32 COMM API standard The Windows 2000 XP driver for MOXA s multiport serial boards supports the following products Universal PCI Boards CP 168U CP 104UL CP 104JU CP 134U CP 134U I CP 132UL CP 132UL I...

Page 25: ...ion to install a device driver for Plug and Play devices 2 Click Next to continue 3 Select Search for a suitable driver and then click Next to continue 1 Windows XP can auto detect new devices and act...

Page 26: ...ive and then specify the location of the file as Software Win2K XP 2003 as shown below change the drive letter if needed Click OK to continue 3 Checkmark Include this location in the search click Brow...

Page 27: ...ware hasn t passed Windows Logo testing this driver has already been tested and been shown that it can support Windows OS Click Continue Anyway to proceed 5 Wait while the installation wizard searches...

Page 28: ...Wizard window to open starts the port installation stage Click on Next to continue 6 The next window shows the model number of the board and indicates that Windows has completed the driver installati...

Page 29: ...Next to continue 8 Input the location of the driver in the text input box or use the Browse button to locate the appropriate folder 9 Wait while the installation wizard searches The next window that...

Page 30: ...ve and then specify the location of the file as Software Win2K XP 2003 as shown below change the drive letter if needed Click OK to continue 13 Click Next to continue with the installation 10 Wait whi...

Page 31: ...he above procedure Step 9 to Step 14 for the rest of the board s ports The last window to open completes installation of Port 7 12 After all files have been copied to the system the Completing the Fou...

Page 32: ...tem Properties window Select the Hardware tab and then click on Device Manager Windows 2000 Windows XP If the driver installation was successful you will see the model number of the CP 168U board list...

Page 33: ...e displayed and the system will map the ports automatically If one MOXA CP 168U board was installed previously and another MOXA CP 168U board is added the system will prompt you to take care of port c...

Page 34: ...r for the port from the Port Number pull down list 3 Check the Auto Enumerating COM Number check box to have subsequent ports mapped to continuous COM numbers For example if COM 3 is assigned to Port...

Page 35: ...V2 CP 132UL CP 132U I Tx FIFO Rx FIFO Tx FIFO Rx FIFO High 128 120 64 56 Middle 64 60 32 28 Low 1 1 1 1 Unit Bytes 6 Click OK in the Port X dialog box to confirm the port settings and then click OK in...

Page 36: ...CP 132U Series User s Manual 3 22 Removing the Driver You can uninstall the board by first selecting Start Settings Control Panel System Windows 2000 Windows XP...

Page 37: ...lick on Device Manager Use the mouse to place the cursor over the CP 168U Series board under Multiport serial adapters and then click the right mouse button Select the Uninstall option Windows 2000 Wi...

Page 38: ...compliant with communication drivers VCOMM have been developed for the Smartio CP 168U and other MOXA multiport boards The drivers conform to the Win32 COMM API standard The Windows 95 98 driver for...

Page 39: ...y little installation effort Windows 95 98 will automatically detect the presence of the new board and prompt you to install the software driver You simply need to have the driver CD on hand to comple...

Page 40: ...the section Port Configuration The Smartio CP 168U board s ports should be ready to work See the section Board and Ports Ready First Time Driver Installation This stage gives the steps for installing...

Page 41: ...this stage and take care of Port Configuration which is discussed in the next section 1 Upon detecting the first new Smartio CP 168U Series board Windows 95 98 will automatically display a New hardwar...

Page 42: ...t box and then click OK from the Select Other Location window The system will start reading the files from the CD 3 Select Other Devices and then click Next 4 Click Finish 4 Click Have Disk 5 Type Sof...

Page 43: ...fter installing the driver simply plug the additional Smartio CP 168U board into an empty PCI slot and Windows 95 98 will automatically detect the new board Skip to the Port Configuration to take care...

Page 44: ...Start Programs MOXA Utility MOXA Smartio Industio Configuration Panel Property Port Setting Since this is a Universal PCI or PCI board once a new board is added or an existing board is removed the bo...

Page 45: ...he Auto Enumerating COM Name check box to assign continuous COM numbers for subsequent ports For example if COM3 is assigned to Port 1 then COM4 will be automatically assigned to Port 2 5 Select an Rx...

Page 46: ...Tx FIFO Rx FIFO Tx FIFO Rx FIFO High 128 120 64 56 Middle 64 60 32 28 Low 1 1 1 1 Unit Bytes 7 To complete the update click OK in the Port X dialog box click OK in the CP 168U board Properties dialog...

Page 47: ...Software Installation CP 132U Series User s Manual 3 33 3 Select the Driver tab and click on Update Driver 4 Click on Have Disk and type the path of the new driver...

Page 48: ...m Click Yes to restart the system or No if you want to reboot the system later Removing the Driver This section explains how to remove the Smartio CP 168U board driver 1 Open the Control Panel double...

Page 49: ...ndows NT Windows NT supports up to 256 serial ports from COM1 to COM256 To utilize fully Windows NT s multi process and multi thread advanced features pure 32 bit Windows NT device drivers were develo...

Page 50: ...er First Time Driver Installation The following procedure shows how to install the Smartio CP 168U driver for the first time First make sure the board or boards are already plugged into the system s P...

Page 51: ...t board in the Select OEM Option dialog box and then click OK to start installing the driver 7 The Moxa Smartio Industio Configuration Panel dialog box appears Click the Add button to open the Propert...

Page 52: ...xample if COM3 is assigned to Port 1 then COM4 will be automatically assigned to Port 2 11 Select an Rx FIFO Trigger from the Rx FIFO Level pull down list Rx FIFO trigger levels from High to Low are a...

Page 53: ...e Property dialog box to complete the port settings and return to the MOXA Smartio Industio Configuration Panel dialog box The configured CP 168U board will now appear in the MOXA Smartio Industio Con...

Page 54: ...lications with the PComm library see Serial Programming Tools or the Microsoft Win32 API You can also use applications such as Terminal Emulator see Serial Programming Tools a PComm utility or HyperTe...

Page 55: ...ser s Manual 3 41 3 Click on Property from the MOXA Smartio Industio Configuration Panel to open the Property window 4 Next refer to the instructions given in the previous section First Time Driver In...

Page 56: ...ailable In addition to the procedures listed below you may also click on Start Program MOXA Utility MOXA Smartio Industio Configuration Panel Add and then refer to the instructions from the previous s...

Page 57: ...Removing an Existing CP 168U Board Configuration First shut down your PC and then physically remove the CP 168U board from the PCI or PCI X slot The next time you start up the PC the system will auto...

Page 58: ...move button in the Network dialog box 4 Click the Close button in the Network dialog box 5 Restart the system 6 Refer to the instructions given in the First Time Driver Installation section to install...

Page 59: ...upports the following products Universal PCI Boards CP 168U CP 104UL CP 104JU CP 134U CP 134U I CP 132UL CP 132UL I V2 CP 132U I V1 PCI Boards C168H PCI C104H PCI C104HS PCI CP 114 CP 114I CP 114S CP...

Page 60: ...Series User s Manual 3 46 2 After the installation is complete a message window will open to ask if you want to run the SETUP EXE file It is strongly recommended that you press Y to run this SETUP EX...

Page 61: ...34U to illustrate This section does not cover all functions from the setup program that you might see during the configuration process If necessary press F1 to refer to the on line help instructions 1...

Page 62: ...o not need to change settings or configure a board 4 Press F10 to save the modifications and exit the SETUP program Legends In this section we explain the meaning of some of the fields and functions P...

Page 63: ...ou to edit the configuration of several ports at one time as a group Loading the Driver After completing the setup procedure run BIN DP DRV EXE from the DOS prompt to load the driver The driver will a...

Page 64: ...l PCI Boards CP 168U CP 104UL CP 104JU CP 134U CP 134U I CP 132UL CP 132UL I V2 CP 132U I V1 PCI Boards C168H PCI C104H PCI C104HS PCI CP 114 CP 114I CP 114S CP 114IS CP 132 CP 132I CP 132S CP 132IS I...

Page 65: ...Found MOXA CP 168U series board BusNo 2 DevNo 13 Module mxser loaded with warnings 5 You can use Moxa diagnostic utility to verify driver status cd moxa mxser utility diag msdiag MOXA Smartio Industi...

Page 66: ......

Page 67: ...mmunication library is useful for developing applications for data communications remote access data acquisition and industrial control under Windows NT 2000 XP 2003 or Windows 95 98 It is a simpler s...

Page 68: ...ic and Delphi check the help file and the sample programs in the PComm directory Utilities In this section we give brief descriptions of each utility For more information about these utilities see the...

Page 69: ...data transmission of selected MOXA COM ports It monitors data transmission receiving throughput and communication line status with data updated and displayed on the screen at regular time intervals Cl...

Page 70: ...mission is functioning correctly Terminal Emulator features multi windows and supports VT100 and ANSI terminal types You can transfer data interactively send patterns periodically and transfer files u...

Page 71: ...The CP 132UL Series supports only 2 wire half duplex RS 485 communication In this case the data pins are used for both data transmitting and receiving depending on the mode selected The modes availabl...

Page 72: ...WriteTimeouts port 0 Set sio_write into block mode if for Windows NT and Windows 95 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...

Page 73: ...Cables and Cable Wiring In serial data communications the term DTE stands for Data Terminal Equipment such as a PC s COM1 2 serial printers and terminals The term DCE stands for Data Communication Eq...

Page 74: ...r broadcasting systems RS 485 Interface The RS 485 standard is an enhanced version of the RS 422 balanced line standard It allows multiple drivers and receivers to work on a multidrop network A maximu...

Page 75: ...outs for CP 132UL Series CP 132UL RS 422 485 RS 422 and 4 wire RS 485 2 wire RS 485 8 CTS A 9 RxD A Data A 10 RTS A 11 RTS B 12 RxD B Data B 21 TxD A 22 SGND 23 CTS B Port 1 24 TxD B 2 TxD A 3 SGND 4...

Page 76: ...422 1 TxD A 2 TxD B 3 RxD B 4 RxD A 5 GND 6 RTS A 7 RTS B 8 CTS B 9 CTS A 2 wire RS 485 pinouts for CP 132UL CP 132UL 2 wire RS 485 1 2 3 Data B 4 Data A 5 GND 6 7 8 9 4 wire RS 485 pinouts for CP 13...

Page 77: ...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 132UL RS 422 with Handshaking CP 132UL RS 422 Device 2 T...

Page 78: ...RS 485 Device N Slave Data Data GND Multidrop 4 wire RS 485 full duplex CP 132UL 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 Slave R...

Page 79: ...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 contribut...

Page 80: ......

Page 81: ...e detected 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 syst...

Page 82: ...ents Software Causes and Solutions a CP 132UL Series boards will check the line status CTS before transmitting data if the RTS CTS flow control feature is set to Enable in the configuration or applica...

Page 83: ...ck the PCI BIOS IRQ settings first and then select an IRQ that is available 2 After the system reboots the error message Cannot find any configured MOXA Smartio Industio Series board appears in the Ev...

Page 84: ...ly 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 132U Series BusNo x Dev...

Page 85: ...132UL CP 132U I 50 bps to 921 6 Kbps CP 132UL V2 CP 132UL I V2 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 RxD B A RTS B A CTS B A GND 4 wire RS 485...

Page 86: ...ferent 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 called slot sensit...

Page 87: ...rom the sales representative or dealer Fill out the Problem Report Form PRF Include as much detail as possible for a shorter product repair time Carefully pack the product in an anti static package an...

Page 88: ...edition of this manual on the title page 2 Change the contact phone number on the title page 3 p 5 4 Add 4 wire RS 485 pinouts 4th July 23 2004 1 Updated the edition of this manual on the title page 2...

Reviews: