Smartio C168H/HS User’s ManualUniversal 8 Port Serial BoardMay 1999 (6th Edition)The content of this manual is also available in CD-ROM and at Moxa We
1-4 Smartio C168H/HS User’s ManualFeaturesThe Smartio C168 Series consist of members as follows,C168H 8 port RS-232 or RS-422, high speed 16550C
A-4 Smartio C168H/HS User’s ManualDB62 Connector PinoutsThe following lists the pin assignments of the DB62 connector on the bracket.Pin no. Sig
Problem Report FormSmartio C168 Series Customer name: Company: Tel: Fax: Email: Date:1. Moxa Product: Smartio C168 Series Model : oC168H oC168HS Ser
Return ProcedureFor product repair, exchange or refund, you must:v Provide evidence of original purchase v Fill out the Problem Report Form (PRF) as
IntroductionSmartio C168H/HS User’s Manual 1-5Check ListUpon unpacking the Smartio C168 Series package, you should find the followingitems in the p
1-6 Smartio C168H/HS User’s ManualOpt8C/Opt8Dv RS-232 octopus cable with 8 port male connectors, DB25 for Opt8C and DB9for Opt8D (1 meter long)
IntroductionSmartio C168H/HS User’s Manual 1-7Opt8Jv RS-422/485 connection box with 8 port female DB25 connectors.v 1.5 meter DB62 to DB62 cable.
1-8 Smartio C168H/HS User’s ManualRS-485 ModeThe Opt8J supports only 2-wire RS-485 communication. Set the respective switch toON position to use
Smartio C168H/HS User’s Manual 2-122 2 Hardware InstallationThe installation of the Smartio C168 Series consists of hardware and softwa
2-2 Smartio C168H/HS User’s ManualNow you should do either the normal hardware installation (detailed in the latersection, “Hardware Installat
Hardware InstallationSmartio C168H/HS User’s Manual 2-3software configuration program will automatically update the hardware settings.After this, u
2-4 Smartio C168H/HS User’s ManualBecause the ASIC-designed Smartio C168 Series has no switch and no jumper forconfiguring manually the I/O addr
Hardware InstallationSmartio C168H/HS User’s Manual 2-5typed correctly. With the correct CAP address, the utility can find the configurationstored
Smartio C168H/HS User’s ManualThe software described in this manual is furnished under a license agreement and may be used only inaccordance with the
2-6 Smartio C168H/HS User’s Manual3. Enter the CAP address of the Smartio C168 Series board to be configured.4. Configure the following paramete
Hardware InstallationSmartio C168H/HS User’s Manual 2-7Note that, currently, port that uses MOXA Windows NT and95/98 driver will run at the display
2-8 Smartio C168H/HS User’s ManualNormal Speed Spectrum High Speed Spectrum50 (bps) 400 (bps)75 600110 880134.5 1076150 1200300 2400600 48001200
Smartio C168H/HS User’s Manual 3-133 3 Software InstallationIn this chapter, the software driver installation, configuration and driverup
3-2 Smartio C168H/HS User’s ManualInstalling DriverFollowing is the procedure for installing the Smartio C168 Series driver for thefirst time
Software InstallationSmartio C168H/HS User’s Manual 3-35. Select “MOXA Smartio/Industio Family multiport board” in the “SelectOEM Option”
3-4 Smartio C168H/HS User’s ManualNote ! You may go directly to the step 8 if you need not change any setting.7. In the “Property” dialog box, s
Software InstallationSmartio C168H/HS User’s Manual 3-5l Port NumberYou have to set up all the ports of the board with the desired “COMnumber”
3-6 Smartio C168H/HS User’s Manual9. When configuration is done, click on [OK] button in the “Network Settings”dialog box.10.Restart Windows N
Software InstallationSmartio C168H/HS User’s Manual 3-7Note ! Once the board and the driver are installed and the driver restartssuccess
MOXA Internet ServicesCustomer’s satisfaction is always our number one concern. To ensure that customers get the full benefitof our services, Moxa Int
3-8 Smartio C168H/HS User’s Manual3. Click on the [Property] button to open the “Moxa Smartio/IndustioConfiguration Panel” dialog box.
Software InstallationSmartio C168H/HS User’s Manual 3-9Updating DriverTo update the driver for the Smartio C168 Series boards, simply remove the dr
3-10 Smartio C168H/HS User’s ManualInstalling DriverUp to four Smartio C168 Series boards can be installed together as long as the I/Oaddresses
Software InstallationSmartio C168H/HS User’s Manual 3-11Note ! Go directly to the step 7 if you need not change any setting.6. In the “Property” di
3-12 Smartio C168H/HS User’s Manuall Port NumberYou have to set up all the ports of the board with the desired “COMnumber”, which should no
Software InstallationSmartio C168H/HS User’s Manual 3-138. Restart Windows 95/98 system.Note ! The latest configuration will not take effect
3-14 Smartio C168H/HS User’s ManualConfiguring Board and PortIf you already have installed the driver and want to re-configure the Smartio C168S
Software InstallationSmartio C168H/HS User’s Manual 3-15Updating DriverOpen [Control Panel] icon, and then [System] icon, and then select
3-16 Smartio C168H/HS User’s ManualRemoving DriverOpen [Control Panel] icon, and then [Add/Remove Programs] icon, and thenselect [Inst
Software InstallationSmartio C168H/HS User’s Manual 3-17DOSMOXA DOS API-232 is a software package that assists users to develop and/ordebug p
About This ManualThis manual is composed of six Chapters and one Appendix. This manual is written for installer, systemadministrator and software prog
3-18 Smartio C168H/HS User’s ManualAfter installation is complete, you will be prompted to proceed running setupprogram. It is strong
Software InstallationSmartio C168H/HS User’s Manual 3-192. Press Enter to pop up the SETUP dialog box. In the SETUP dialog box, PressF8 to specify
3-20 Smartio C168H/HS User’s Manual3. Now the configuration of the desired Smartio C168 Series board will be shownalong with other default setti
Software InstallationSmartio C168H/HS User’s Manual 3-21You may now enter/modify each port’s configuration. These displayed valuesare the port in
3-22 Smartio C168H/HS User’s ManualF6: INT vector: This is to set interrupt vector for each port. You can setthis feature to “Yes” (default) and
Software InstallationSmartio C168H/HS User’s Manual 3-23If something went wrong, for instance, the board does not match the configurationor the boa
3-24 Smartio C168H/HS User’s ManualInstalling DriverThe following description is for Smartio C168 Series under SCO UNIX/OpenServerand UNIX SVR4.
Software InstallationSmartio C168H/HS User’s Manual 3-25Please select one of the following OSs:1. SCO UNIX2. UNIX SVR4.2Select :Please select one o
3-26 Smartio C168H/HS User’s ManualStep 7. Now you may shutdown the system and reboot. If you have trouble inbooting the new UNIX kerne
Software InstallationSmartio C168H/HS User’s Manual 3-27MOXA TTY Device Naming ConventionIf the Smartio C168 Series is successfully configured, the
Table of ContentsIntroduction... 1-1Overview...
3-28 Smartio C168H/HS User’s ManualBaud Rate SettingsFor Smartio C168 Series set to High Speed Spectrum, the real working speed,is exactly eight
Software InstallationSmartio C168H/HS User’s Manual 3-29Basic ConfigurationIn the [Basic configuration] dialog, users can set base I/O address
3-30 Smartio C168H/HS User’s Manualothers it may stand for 7-data-bit, even-parity. So, please examine the “gettydefault” file carefu
Software InstallationSmartio C168H/HS User’s Manual 3-31Label High/Normal Speed Normal Speed High SpeedLow Band High Band High BandB50 50 57600 576
3-32 Smartio C168H/HS User’s ManualTx FIFO TriggerTx FIFO sizes from 1 to 16 bytes are available, and the default value is 16 bytes.RTS/CTS Hard
Software InstallationSmartio C168H/HS User’s Manual 3-33Terminal EmulationThis utility provides data sending and receiving ability of all tty por
3-34 Smartio C168H/HS User’s Manual2 Select and enter “Dumb Terminal” to enter terminal emulation. Or select andenter “Advance Transfer Modes”
Software InstallationSmartio C168H/HS User’s Manual 3-35Setting MOXA Ports to TerminalFollowing procedure is how to set the MOXA port to
3-36 Smartio C168H/HS User’s Manual
Smartio C168H/HS User’s Manual 4-144 4 Serial Programming ToolsMoxa supports easy but powerful serial programming library and communicationtrouble
Setting MOXA Ports to Terminal... ... ... 3-35Serial Programming Tools ...
4-2 Smartio C168H/HS User’s ManualPComm Programming LibraryThe serial communication library is to assist users to develop programs for serialcom
Serial Programming ToolsSmartio C168H/HS User’s Manual 4-3Diagnostic (for MOXA boards only)A convenient diagnostic program provides internal a
4-4 Smartio C168H/HS User’s ManualMonitor (for MOXA boards under Windows NT Only)A useful port status monitoring program allows you to watch the
Serial Programming ToolsSmartio C168H/HS User’s Manual 4-5Terminal EmulatorThe Terminal Emulator features multi-windows and supports termina
4-6 Smartio C168H/HS User’s ManualUNIXProgramming the MOXA PortsThe system calls that apply to standard tty port can also be applied to MOXA por
Serial Programming ToolsSmartio C168H/HS User’s Manual 4-7Syntax for SCO UNIX/OpenServer#define MIBUFED 0x401int count; /* number of bytes queued i
4-8 Smartio C168H/HS User’s ManualSyntax for UNIX SVR4.2#include <sys/stropts.h>#include <sys/sysmacros.h>#define MOBUFED 0x402struc
Serial Programming ToolsSmartio C168H/HS User’s Manual 4-9setting = TurnON /* or TurnOFF */;ioc.ic_cmd = MTCRTS;ioc.ic_timout = 0;ioc.ic_len = size
4-10 Smartio C168H/HS User’s Manualuntil the output buffer has 'enough space' again. The criteria to tell if the outputbuffer has &a
Serial Programming ToolsSmartio C168H/HS User’s Manual 4-11Syntax for SCO UNIX/OpenServer#define MSTATUS 0x407int status; /* status = RS-232 line s
Smartio C168H/HS User’s Manual 1-111 1 IntroductionOverviewSmartio - The Smart Multiport Async SolutionsThe term Smartio stands for smart multipor
4-12 Smartio C168H/HS User’s ManualSyntax for SCO UNIX/OpenServer#define MHWFLOW 0x40e#define HWFlowControlOff 0x00#define CTSFlowControlBitOn 0
Serial Programming ToolsSmartio C168H/HS User’s Manual 4-13UtilitiesYou can use the administration utility, moxaadm, to monitor port activity and t
4-14 Smartio C168H/HS User’s ManualTerminal EmulatorThis utility provides data sending and receiving ability of all tty ports, especially fo
Serial Programming ToolsSmartio C168H/HS User’s Manual 4-152. Select and enter “Dumb Terminal” to enter terminal emulation. Or select andenter “Adv
4-16 Smartio C168H/HS User’s ManualUtilitiesThere are two utilities available for DOS: Data Scope and Diagnose, which aredetailed be
Serial Programming ToolsSmartio C168H/HS User’s Manual 4-17Please see on-line help as running BIN\SCOPE.EXE for more usage and capabilityinf
4-18 Smartio C168H/HS User’s ManualThere are 2 solutions to control RS-485 2-wire transmission.Solution 1The following model is common in RS-485
Smartio C168H/HS User’s Manual 5-155 5 Connection Option (Opt8x) and Cable WiringIn serial data communications, the term DTE is for Data Terminal
5-2 Smartio C168H/HS User’s ManualThe followings are pin assignments for various connection options:Opt8A/S(DCE, DB25 Female)2 RxD3 TxD4 CTS5 RT
Connection Option (Opt8x) and Cable WiringSmartio C168H/HS User’s Manual 5-3Type 1: To connect Smartio C168 Series to a DTE device.PC COM2 port, Se
1-2 Smartio C168H/HS User’s ManualHardware Configuration MethodSmartio FamilyJP1TraditionalMultipoort BoardJumperON 1 2 3 4Switch...
5-4 Smartio C168H/HS User’s ManualPC COM2 port, Serial Printer,Terminal, or any DTE DeviceOpt8DOpt8D DTE DeviceDB9 Male DB25 MaleRxD 2 2 TxDTxD
Connection Option (Opt8x) and Cable WiringSmartio C168H/HS User’s Manual 5-5Modem,or any DCE DeviceOpt8B/CStraight-through CableOpt8B/C DCE DeviceD
5-6 Smartio C168H/HS User’s ManualType 3: To connect Smartio C168 Series to a DTE with 3-pin wiring.If the “Hardware flow control” feature is s
Connection Option (Opt8x) and Cable WiringSmartio C168H/HS User’s Manual 5-7PC COM2 port, Serial Printer,Terminal, or any DTE DeviceOpt8DOpt8D DTE
5-8 Smartio C168H/HS User’s ManualRS-422 Pinouts for Opt8J/F/Z:Opt8J/F/Z2 RxD+(B)3 TxD+(B)14 RxD-(A)16 TxD-(A)7 GND4 CTS+(B)5 RTS+(B)13 RTS-(A)
Connection Option (Opt8x) and Cable WiringSmartio C168H/HS User’s Manual 5-9The followings are operation modes for RS-422:RS-422 Point-to-point RS-
5-10 Smartio C168H/HS User’s ManualRS-485 Cable Wiring for Opt8JOne RS-485 connection box designed for Smartio C168 Series is:Opt8J: Connection
Connection Option (Opt8x) and Cable WiringSmartio C168H/HS User’s Manual 5-11RS-422/485 Impedance MatchingFor RS-422/485 serial communications, whe
5-12 Smartio C168H/HS User’s Manual
Smartio C168H/HS User’s Manual 6-166 6 TroubleshootingCommon Smartio C168 Series problems and possible solutions are listed below. Ifyou still hav
IntroductionSmartio C168H/HS User’s Manual 1-3Surge ProtectionTo prevent the boards from damage caused by lighting or high potential voltage,surge
6-2 Smartio C168H/HS User’s ManualSoftware Causes and Solutions:a. Smartio C168 Series checks the line status (CTS) before it sends data out ift
TroubleshootingSmartio C168H/HS User’s Manual 6-3 To configure the board, you need to know the board’s Configuration Access Port(CAP) address. Beca
6-4 Smartio C168H/HS User’s ManualStep 8. Power off the PC.OFFStep 9. Remove the jumper on position JP1.jumperJP1RemoveStep 10. Power on the
TroubleshootingSmartio C168H/HS User’s Manual 6-5a. Some partial decoded network board may interfere with our board. Pleaseavoid from using 0x30
6-6 Smartio C168H/HS User’s Manualaddresses for each port, Interrupt Vector, IRQ, is identical to that of the driver.c. The I/O addresses may co
TroubleshootingSmartio C168H/HS User’s Manual 6-7“Time out table overflow”: NCALL parameter too small.“File table overflow”: NFILE or NINODE parame
6-8 Smartio C168H/HS User’s Manual
Smartio C168H/HS User’s Manual A-1AAppppeennddiixxA Technical ReferenceSpecificationsv Bus interface: ISA (EISA compatible)v Number of ports: 8v
A-2 Smartio C168H/HS User’s ManualSmartio C168 SeriesWindows NT3Windows 95/98 3DOS 3SCO UNIX/OpenServer 3UNIX SVR4.2 3Linux RSCO XENIX CQNX CFre
TroubleshootingSmartio C168H/HS User’s Manual A-3PC I/O Port Address MapThe following is the list of the I/O port addresses commonly used, which is
Comments to this Manuals