Moxa Technologies CP-132U user manual RS-485 Programming, Addc Automatic Data Direction Control

Page 72

RS-485 Programming

If you intend to use your CP-132UL Series board for RS-485 applications, you can refer to the RS-485 programming guide below, and also see the chapter, “Connection Cables and Cable Wiring,” for more details about RS-485 operation.

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. Moxa’s own ADDC™ (Automatic Data Direction Control) technology is used to switch between transmitting and receiving.

ADDC™ (Automatic Data Direction Control)

ADDC™ is the best method for switching between transmission and receiving when using 2-wire RS-485.

When using ADDC™, additional code is not required to switch between data transmitting and receiving, since the switching mechanism is managed automatically by the board’s built-in intelligent hardware mechanism. This means that RS-485 programming using ADDC™ mode is just as simple and straightforward as RS-232 or RS-422 programming.

4-4 CP-132U Series User’s Manual

Image 72
Contents CP-132U Series User’s Manual Copyright Notice TrademarksDisclaimer Moxa Internet Services Table of Contents Appendix a Page Introduction Industio-The Industrial Multiport Async Solution OverviewAddc Automatic Data Direction Control for RS-485 Termination Resistors Ready for RS-422/485Introduction PCI Solution Universal PCIOperating System Support Moxa Serial Comm ToolsFeatures Package ChecklistHardware Installation CP-132UL Series Block Diagram CP-132UL-I V2 120 x 64.5 mmHardware Installation CP-132U-I V1 120 x 100 mmCP-132UL V1 120 x 64.5 mm DIP Switch Port Settings Installing the CP-132UL Series Board Software Installation WindowsInstalling the Driver Software Installation CP-132U Series User’s Manual Software Installation How to Check the Installation Using Device ManagerPort Configuration CP-132U Series User’s Manual Using PComm Using Event LogWindows 2000/XP Select Install from a list or specific 12 CP-132U Series User’s Manual Software Installation 14 CP-132U Series User’s Manual Select Specify a location and then click Next to continue 16 CP-132U Series User’s Manual Software Installation Device Manager Port Configuration 20 CP-132U Series User’s Manual Moxa PComm Utility Event LogRemoving the Driver Click OK to proceed with the un-installation of the board Windows 95/98 Installing the Driver First Time Driver Installation InstallationWindows Click Other Locations 28 CP-132U Series User’s Manual Software Installation Board and Port Ready WindowsConfiguring the Board and Ports Software Installation Updating the Driver Software Installation Removing the Driver Windows NT 36 CP-132U Series User’s Manual Software Installation 38 CP-132U Series User’s Manual Software Installation Configuring the Board and Ports Re-Configuring Port SettingsSoftware Installation Configuring Another CP-168U Board Removing an Existing CP-168U Board Configuration 44 CP-132U Series User’s Manual DOS 46 CP-132U Series User’s Manual Setting up the Driver Port number Loading the Driver TxD buffer sizeRxD buffer size F5 Group EditLinux Unloading the DriverSoftware Installation Page PComm Installation Serial Programming ToolsDiagnostic for Moxa boards only PComm Programming LibraryUtilities Terminal Emulator RS-485 Programming Addc Automatic Data Direction ControlConnection Cables Cable Wiring RS-422/485 Pinouts and Cable Wiring RS-422 InterfaceRS-485 Interface Connection Cables and Cables Wiring PinoutsCP-132UL RS-422 Cable Wiring RS-422 Point-to-point RS-422 BroadcastingMultidrop 4-wire RS-485 full-duplex Impedance Matching and Termination Resistors Page Troubleshooting General TroubleshootingSoftware Causes and Solutions Technical Reference COM number of the CP-132U Series conflicts with othersWindows 95/98 Specifications Technical ReferencePCI Return Procedure