Moxa Technologies C168HS Serial Programming Tools, Connection Option Opt8x and Cable Wiring

Page 6

Setting MOXA Ports to Terminal

3-35

Serial Programming Tools

4-1

Windows NT and Windows 95/98

4-1

Installation

4-1

PComm Programming Library

4-2

Utilities

4-2

UNIX

4-6

Programming the MOXA Ports

4-6

Extended UNIX Ioctl() Commands

4-6

Utilities

4-13

DOS

4-15

Installation

4-15

DOS API-232 Library

4-15

Utilities

4-16

RS-485 Programming for Opt8J

4-17

Connection Option (Opt8x) and Cable Wiring

5-1

RS-232

Cable Wiring for Opt8A/B/C/D/S

5-1

RS-422

Cable Wiring for Opt8J/F/Z

5-7

RS-485

Cable Wiring for Opt8J

5-10

RS-422/485 Impedance Matching

5-11

Troubleshooting

6-1

General Troubleshooting

6-1

Windows NT

6-4

Windows 95/98

6-5

DOS

6-6

UNIX

6-6

Technical Reference

A-1

Specifications

A-1

UART 16C550C

A-2

PC I/O Port Address Map

A-3

DB62 Connector Pinouts

A-4

Image 6
Contents Smartio C168H/HS User’s Manual May 1999 6th EditionCopyright Notice TrademarksDisclaimer Moxa Internet Services Connection Option Opt8x and Cable Wiring Hardware InstallationSoftware Installation TroubleshootingTable of Contents Serial Programming Tools Connection Option Opt8x and Cable WiringTroubleshooting Technical ReferenceSmartio The Smart Multiport Async Solutions OverviewQuick Installation JP1Moxa Serial Comm Tools Introduction Surge ProtectionOperating System Support Wide ApplicationsFeatures UartCheck List IntroductionOpt8A/Opt8B/Opt8S Opt8C/Opt8D Opt8F/Opt8ZRS-422 Mode Introduction Opt8JInstallation Guide RS-485 ModeAddress Default SettingsSmartio C168 Series INT Vector 0x1C0Quick Hardware Installation How to Do Quick Hardware InstallationHardware Installation with IO-IRQ Utility Configuration changedIO-IRQ Utility and Hardware Configuration Hardware Installation IRQ SpeedHardware Installation Normal Speed Spectrum High Speed Spectrum Software Installation Windows NTInstalling Driver Software Installation 4Smartio C168H/HS User’s Manual Port Number Rx Fifo TriggerTx Fifo Size 6Smartio C168H/HS User’s Manual Configuring Board and Port 8Smartio C168H/HS User’s Manual Removing Driver Windows 95/98Updating Driver 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 Unix Unloading Driver# /tmp/moxa/mxinstall # cdSCO Unix # moxaadmFor SCO UNIX/OpenServer For Unix SVR4.2For SCO UNIX/OpenServer For Unix SVR4.2 Moxa TTY Device Naming Convention Baud Rate Settings Administration Utility moxaadmSoftware Installation Basic Configuration Non-Modem and Modem Baud RateAdvanced Configuration Baud Rate MappingLabel High/Normal Speed High Speed Low Band High Band Port Monitoring Tx Fifo TriggerRTS/CTS Hardware Flow Control Software Installation Terminal Emulation Driver Removal Setting Moxa Ports to Terminal SCO UNIX/OpenServer36Smartio C168H/HS User’s Manual Installation Windows NT and Windows 95/98PComm Programming Library UtilitiesSerial Programming Tools Diagnostic for Moxa boards only Monitor for Moxa boards under Windows NT Only Serial Programming Tools Terminal Emulator Extended Unix Ioctl Commands Programming the Moxa PortsSyntax for SCO UNIX/OpenServer Syntax for Unix SVR4.2Mtcrts Mtcdtr Mstatus Mhwflow 12Smartio C168H/HS User’s Manual Utilities Terminal Emulator DOS API-232 Library Data Scope RS-485 Programming for Opt8J DiagnoseSolution Function in PComm or API-232 library. ItThere is a dedicated RS-485 Connection Option Opt8x and Cable Wiring RS-232 Cable Wiring for Opt8A/B/C/D/SOpt8A/S DCE, DB25 Female Opt8B/C DTE, DB25 MaleOpt8D DTE, DB9 Male Type 1 To connect Smartio C168 Series to a DTE device RTS CTS DSR DTR GND DCDType 2 To connect Smartio C168 Series to a DCE device Opt8B/C Opt8B/C DTE Device DB25 Male RS-422 Cable Wiring for Opt8J/F/Z Opt8D DTE Device DB9 Male DB25 MaleOpt8J/F/Z Followings are operation modes for RS-422 RS-485 Cable Wiring for Opt8J Opt8JRS-422/485 Impedance Matching 12Smartio C168H/HS User’s Manual General Troubleshooting Hardware causes and solutionsSoftware Causes and Solutions Step Io-irqRemove the jumper on position JP1 COM number of the Smartio C168 Series conflicts with others Windows NT system panic blue screenSoftware Cause and Solution Under UNIXs, the newly rebuilt kernel could not boot 8Smartio C168H/HS User’s Manual Specifications AppendixUart 16C550C SCO Xenix QNXPC I/O Port Address Map IO/ Address DeviceDB62 Connector Pinouts Pin no SignalMoxa Driver Version Moxa hardware settings Operating System oPC Host Return Procedure