Moxa Technologies C168P user manual RS-485 Programming for Opt8J, Diagnose

Page 54
Diagnose

Diagnose

The Diagnose, BIN\DIAGNOSE.EXE, is a utility that can help users to diagnose the hardware condition of each port of the selected board. See on-line help for more details.

Before executing it, please remove the Moxa driver in advance via executing “SER- DRV.EXE/Q” if the Moxa driver is running in the background.

RS-485 Programming for Opt8J

If you intend to do RS-485 communication with Opt8J, please follow the RS-485 programming guide below and also refer to Chapter “Connection Option (Opt8x) and Cable Wiring” for more Opt8J RS-485 operation details.

The Opt8J supports only 2-wire half-duplex RS-485 communication. Data+/- pins are served for both data transmitting and receiving, depending on the RTS signal.

The port switch of each port should be set to On position. The port is for transmitting data if RTS is asserted and for receiving data if RTS is not asserted.

RTS scheme is suitable for any system, including Windows NT and Windows 95/98, DOS, or UNIX, that permits RTS control from application programs.

4-8C168P User’s Manual

Image 54
Contents Universal 8 Port Serial Board C168P User’s ManualMay 1999 7th Edition support@moxa.com.twDisclaimer Copyright NoticeTrademarks C168P User’s ManualMOXA Internet Services Chapter 3 Software Installation About This ManualChapter 2 Hardware Installation Chapter 5 Connection Option Opt8x and Cable WiringSerial Programming Tools Hardware InstallationSoftware Installation Table of ContentsConnection Option Opt8x and Cable Wiring TroubleshootingTechnical Reference The Standard Multiport Async Solutions IntroductionOverview Hardware Configuration Method SwitchQuick Installation JumperMOXA Serial Comm Tools IntroductionOperating System Support Wide ApplicationsFeatures Check List Opt8A/Opt8B/Opt8SP5 P6 P7 P8 Opt8C/Opt8DP1P2 P3 P4 Opt8F/Opt8ZRS-422 Mode Opt8JRS-422/485 Port Switch of Opt8J Opt8JInstallation Guide RS-485 ModeHardware Installation Default SettingsC168P Quick Hardware Installation How to Do Quick Hardware InstallationHardware Installation with IO-IRQ Utility IO-IRQ Utility and Hardware Configuration 2-4 C168P User’s Manual2. Select “Smartio/Industio ISA Family” and press ENTER key Speed 5. Press F10 to save the configuration and exit the utility 2-8 C168P User’s Manual Software Installation Windows NTInstalling Driver 5. Select “MOXA Smartio/Industio Family multiport board” in the “Select OEM Option” dialog box, and then click OK to enter the “Moxa Smartio/Industio Configuration Panel” dialog box to start the installation 3-4 C168P User’s Manual Port Number Rx FIFO TriggerTx FIFO Size 3-6 C168P User’s Manual Configuring Board and Port In this configuration panel, you may Windows 95/98 Updating DriverRemoving Driver 1. Run Setup95.exe in the driver diskette Note ! Go directly to the step 7 if you need not change any setting 3-12 C168P User’s Manual If error message like “Smartio C168 Series CAP=0x0180, port 1=COM3 3-14 C168P User’s Manual Software Installation 3-16 C168P User’s Manual Installing Driver Driver Setup 3-18 C168P User’s ManualSoftware Installation 3-20 C168P User’s Manual You may now enter/modify each port’s configuration. These displayed values are the port initial values as driver is loaded Loading Driver Unloading Driver 3-24 C168P User’s Manual Installation Serial Programming ToolsWindows NT and Windows 95/98 PComm Programming Library Utilities4-2 C168P User’s Manual Diagnostic for MOXA boards only Monitor for MOXA boards under Windows NT Only 4-4 C168P User’s ManualTerminal Emulator DOS API-232 Library Data Scope4-6 C168P User’s Manual There are three major functions in Data Scope utility RS-485 Programming for Opt8J DiagnoseThere are 2 solutions to control RS-485 2-wire transmission Solution4-10 C168P User’s Manual RS-232 Cable Wiring for Opt8A/B/C/D/S Connection Option Opt8x and Cable Wiring2 RxD 3 TxD 4 CTS 5 RTS 6 DTR 7 GND 8 DCD 20 DSR The followings are pin assignments for various connection optionsOpt8A/S DCE, DB25 Female Opt8B/C DTE, DB25 MaleType 1 To connect C168P to a DTE device Straight-through Cable Opt8A/SNull Modem Cable Opt8B/C Type 2 To connect C168P to a DCE device 5-4 C168P User’s ManualConnection Option Opt8x and Cable Wiring 5-6 C168P User’s Manual Opt8A/SDTE Device RS-422 Cable Wiring for Opt8J/F/Z 2 RxD+B 3 TxD+B 14 RxD-A 16 TxD-A 7 GND 4 CTS+B 5 RTS+B RS-422 Pinouts for Opt8J/F/ZOpt8J/F/Z RTS-ARS-422 Device RS-422 Point-to-pointOpt8J/F/Z RS-422 Device NRS-485 Cable Wiring for Opt8J Opt8JRS-422/485 Impedance Matching 5-12 C168P User’s Manual Hardware causes and solutions TroubleshootingGeneral Troubleshooting Hardware Causes and SolutionsSoftware Causes and Solutions Step Step Step Step Step Step A Io-irqStep 8. Power off the PC 3. The COM number of the C168P conflicts with others 4. Windows NT system panic blue screen6-6 C168P User’s Manual Specifications Technical ReferenceAppendix A-2 C168P User’s Manual PC I/O Port Address Map IO/ AddressDevice A-4 C168P User’s Manual DB62 Connector PinoutsSignal Pin noCustomer name Company Tel Fax EmailDate Problem Report Form C168P3. Moxa hardware settings 1. Moxa Product C168P Serial Number 2. Moxa Driver VersionReturn Procedure