Moxa Technologies C168HS user manual Windows NT and Windows 95/98, Installation

Page 59

4

Serial Programming Tools

Moxa supports easy but powerful serial programming library and communication troubleshooting utilities under Windows NT, Windows 95/98, UNIX 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”.

Smartio C168H/HS User’s Manual 4-1

Image 59
Contents May 1999 6th Edition Smartio C168H/HS User’s ManualDisclaimer Copyright NoticeTrademarks Moxa Internet Services Troubleshooting Hardware InstallationSoftware Installation Connection Option Opt8x and Cable WiringTable of Contents Technical Reference Connection Option Opt8x and Cable WiringTroubleshooting Serial Programming ToolsOverview Smartio The Smart Multiport Async SolutionsJP1 Quick InstallationWide Applications Introduction Surge ProtectionOperating System Support Moxa Serial Comm ToolsUart FeaturesOpt8A/Opt8B/Opt8S Check ListIntroduction Opt8F/Opt8Z Opt8C/Opt8DIntroduction Opt8J RS-422 ModeRS-485 Mode Installation GuideINT Vector 0x1C0 Default SettingsSmartio C168 Series AddressHow to Do Quick Hardware Installation Quick Hardware InstallationConfiguration changed Hardware Installation with IO-IRQ UtilityIO-IRQ Utility and Hardware Configuration Hardware Installation Speed IRQHardware Installation Normal Speed Spectrum High Speed Spectrum Windows NT Software InstallationInstalling Driver Software Installation 4Smartio C168H/HS User’s Manual Tx Fifo Size Port NumberRx Fifo Trigger 6Smartio C168H/HS User’s Manual Configuring Board and Port 8Smartio C168H/HS User’s Manual Driver Windows 95/98Updating Driver Removing Driver10Smartio C168H/HS User’s Manual Software Installation 12Smartio C168H/HS User’s Manual Software Installation 14Smartio C168H/HS User’s Manual Updating Driver 16Smartio C168H/HS User’s Manual DOS Driver Setup Software Installation 20Smartio C168H/HS User’s Manual Software Installation Loading Driver Unloading Driver Unix# cd # /tmp/moxa/mxinstall# moxaadm SCO UnixFor SCO UNIX/OpenServer For Unix SVR4.2 For SCO UNIX/OpenServerFor Unix SVR4.2 Moxa TTY Device Naming Convention Administration Utility moxaadm Baud Rate SettingsNon-Modem and Modem Baud Rate Software Installation Basic ConfigurationBaud Rate Mapping Advanced ConfigurationLabel High/Normal Speed High Speed Low Band High Band RTS/CTS Hardware Flow Control Port MonitoringTx Fifo Trigger Software Installation Terminal Emulation Driver Removal SCO UNIX/OpenServer Setting Moxa Ports to Terminal36Smartio C168H/HS User’s Manual Windows NT and Windows 95/98 InstallationUtilities PComm Programming LibrarySerial Programming Tools Diagnostic for Moxa boards only Monitor for Moxa boards under Windows NT Only Serial Programming Tools Terminal Emulator Programming the Moxa Ports Extended Unix Ioctl CommandsSyntax for Unix SVR4.2 Syntax for SCO UNIX/OpenServerMtcrts Mtcdtr Mstatus Mhwflow 12Smartio C168H/HS User’s Manual Utilities Terminal Emulator DOS API-232 Library Data Scope Diagnose RS-485 Programming for Opt8JThere is a dedicated RS-485 SolutionFunction in PComm or API-232 library. It RS-232 Cable Wiring for Opt8A/B/C/D/S Connection Option Opt8x and Cable WiringOpt8D DTE, DB9 Male Opt8A/S DCE, DB25 FemaleOpt8B/C DTE, DB25 Male RTS CTS DSR DTR GND DCD Type 1 To connect Smartio C168 Series to a DTE deviceType 2 To connect Smartio C168 Series to a DCE device Opt8B/C Opt8B/C DTE Device DB25 Male Opt8D DTE Device DB9 Male DB25 Male RS-422 Cable Wiring for Opt8J/F/ZOpt8J/F/Z Followings are operation modes for RS-422 Opt8J RS-485 Cable Wiring for Opt8JRS-422/485 Impedance Matching 12Smartio C168H/HS User’s Manual Hardware causes and solutions General TroubleshootingSoftware Causes and Solutions Io-irq StepRemove the jumper on position JP1 Windows NT system panic blue screen COM number of the Smartio C168 Series conflicts with othersSoftware Cause and Solution Under UNIXs, the newly rebuilt kernel could not boot 8Smartio C168H/HS User’s Manual Appendix SpecificationsSCO Xenix QNX Uart 16C550CIO/ Address Device PC I/O Port Address MapPin no Signal DB62 Connector PinoutsPC Host Moxa Driver Version Moxa hardware settingsOperating System o Return Procedure