Moxa Technologies C168P Serial Programming Tools, Windows NT and Windows 95/98, Installation

Page 47
Serial Programming Tools

4

Serial Programming Tools

Moxa supports easy but powerful serial programming library and communication troubleshooting utilities under Windows NT, Windows 95/98 and DOS. You will save greatly the developing time, using MOXA Serial Programming Tools.

The following sections will details the installation, the library and the utilities for various platforms.

Windows NT and Windows 95/98

PComm, the professional serial comm tool for PC, is a software package under Windows NT and Windows 95/98, which consists of powerful serial communication library for easy programming in most popular languages, useful utilities such as diagnostic, monitor and terminal emulator, illustrative example programs and comprehensive on-line documents.

The serial communication library is useful for developing a system for data communication, remote access, data acquisition or industrial control in the Windows NT and Windows 95/98 environment, which offers an easier solution compared with the more complex Windows Win32 COMM API.

Installation

To install PComm, please run \Setup.exe in the diskette. Note that PComm diagnostic and monitor utilities are for MOXA boards only. MOXA Windows NT or Windows 95/98 device driver as well as MOXA board are required. The driver are installed separately and detailed in Chapter “Software Installation”.

C168P User’s Manual 4-1

Image 47
Contents support@moxa.com.tw C168P User’s ManualMay 1999 7th Edition Universal 8 Port Serial BoardC168P User’s Manual Copyright NoticeTrademarks DisclaimerMOXA Internet Services Chapter 5 Connection Option Opt8x and Cable Wiring About This ManualChapter 2 Hardware Installation Chapter 3 Software InstallationTable of Contents Hardware InstallationSoftware Installation Serial Programming ToolsTechnical Reference Connection Option Opt8x and Cable WiringTroubleshooting Overview The Standard Multiport Async SolutionsIntroduction Jumper SwitchQuick Installation Hardware Configuration MethodWide Applications IntroductionOperating System Support MOXA Serial Comm ToolsFeatures Opt8A/Opt8B/Opt8S Check ListOpt8F/Opt8Z Opt8C/Opt8DP1P2 P3 P4 P5 P6 P7 P8Opt8J Opt8JRS-422/485 Port Switch of Opt8J RS-422 ModeRS-485 Mode Installation GuideC168P Hardware InstallationDefault Settings How to Do Quick Hardware Installation Quick Hardware InstallationHardware Installation with IO-IRQ Utility 2-4 C168P User’s Manual IO-IRQ Utility and Hardware Configuration2. 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 Windows NT Software InstallationInstalling 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 Tx FIFO Size Port NumberRx FIFO Trigger 3-6 C168P User’s Manual Configuring Board and Port In this configuration panel, you may Removing Driver Windows 95/98Updating 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 C168P User’s Manual 3-16 C168P User’s Manual Software Installation 3-18 C168P User’s Manual Driver SetupC168P User’s Manual 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 Windows NT and Windows 95/98 InstallationSerial Programming Tools 4-2 C168P User’s Manual PComm Programming LibraryUtilities Diagnostic for MOXA boards only 4-4 C168P User’s Manual Monitor for MOXA boards under Windows NT OnlyTerminal Emulator 4-6 C168P User’s Manual DOS API-232 LibraryData Scope There are three major functions in Data Scope utility Diagnose RS-485 Programming for Opt8JSolution There are 2 solutions to control RS-485 2-wire transmission4-10 C168P User’s Manual Connection Option Opt8x and Cable Wiring RS-232 Cable Wiring for Opt8A/B/C/D/SOpt8B/C DTE, DB25 Male The followings are pin assignments for various connection optionsOpt8A/S DCE, DB25 Female 2 RxD 3 TxD 4 CTS 5 RTS 6 DTR 7 GND 8 DCD 20 DSRNull Modem Cable Opt8B/C Type 1 To connect C168P to a DTE deviceStraight-through Cable Opt8A/S 5-4 C168P User’s Manual Type 2 To connect C168P to a DCE deviceConnection Option Opt8x and Cable Wiring DTE Device 5-6 C168P User’s ManualOpt8A/S RS-422 Cable Wiring for Opt8J/F/Z RTS-A RS-422 Pinouts for Opt8J/F/ZOpt8J/F/Z 2 RxD+B 3 TxD+B 14 RxD-A 16 TxD-A 7 GND 4 CTS+B 5 RTS+BRS-422 Device N RS-422 Point-to-pointOpt8J/F/Z RS-422 DeviceOpt8J RS-485 Cable Wiring for Opt8JRS-422/485 Impedance Matching 5-12 C168P User’s Manual Hardware Causes and Solutions TroubleshootingGeneral Troubleshooting Hardware causes and solutionsSoftware Causes and Solutions A Io-irq Step Step Step Step Step StepStep 8. Power off the PC 4. Windows NT system panic blue screen 3. The COM number of the C168P conflicts with others6-6 C168P User’s Manual Appendix SpecificationsTechnical Reference A-2 C168P User’s Manual Device PC I/O Port Address MapIO/ Address Pin no DB62 Connector PinoutsSignal A-4 C168P User’s Manual1. Moxa Product C168P Serial Number 2. Moxa Driver Version Problem Report Form C168P3. Moxa hardware settings Customer name Company Tel Fax EmailDateReturn Procedure