C360SuperPort SystemA Super ProfessionalIntelligent Multiport Boardfor IBM PC/AT andCompatible SystemDec. 1996 (1st Edition)All Rights Reserved
Chapter 1 • • Introduction~4~v Operating temperature: 0 °C ~ 55 °Cv 110V or 220V AC, auto-select1.3 Check listUpon unpacking the C360 SuperPort S
Introduction • • Chapter 15v Rack Mount Kit
~6~hapter 2Hardware Installation2.1 Installation of C360Step 1: Choose a PC that has DOS system inside.NOTE: No matter what OS used, user has
Hardware Installation • • Chapter 27Step 4: Power on the PC and enter DOS system.Step 5: Execute IO-IRQ.EXE which is included in the DOS API-232 softw
Chapter 2 • • Hardware Installation~8~C360 SuperPort System with 10BASE-T Cabling2.2 Rack Mount KitTo mount the Async Concentrator on the indu
Hardware Installation • • Chapter 292.3 Serial Number of the Async ConcentratorIt is the unique number identifying an Async Concentrator and
Chapter 2 • • Hardware Installation~10~When hardware installation is complete, it is highly recommended to rundiagnostic program, SP-ADM.EXE
Hardware Installation • • Chapter 211
~12~hapter 3For DOS UsersThe C360 is useful for office automation and industrial control as well as dataacquisition and communication. Because man
For DOS Users • • Chapter 313running driver setup program, BIN\SETUP.EXE.Driver SetupChange to API-232 and run the setup program, BIN\SETUP.EXE, then
Copyright NoticeThis documentation is copyrighted by Moxa Technologies Co., Ltd. Allrights are reserved. Moxa Technologies reserves the
Chapter 3 • • For DOS Users~14~MOXA C360 SuperPort System Communication Driver (Ver. x.xx)Setup driver ...C360 Control Board 1: base I/O address [200]
For DOS Users • • Chapter 315Driver RemovalTo remove the C360 driver from memory, type SP-DRV/Q at the DOS prompt.3.2 MOXA Serial Port Naming Convent
Chapter 3 • • For DOS Users~16~3.3 DOS API-232 Library and Programming LanguagesFor DOS programming, API-232 includes powerful libraries suppo
For DOS Users • • Chapter 317Async Concentrator DiagnosticsThis utility gives user a quick view about all the Async Concentrators' and ports&apos
~18~hapter 4For UNIX UsersThe C360 UNIX driver supports at most 256 TTY terminal ports in the UNIXsystem which are called MOXA TTY ports. The rest of
For UNIX Users • • Chapter 4191. /dev/fd0135ds18 (A: 1.44MB)2. /dev/fd096ds15 (A: 1.2 MB )3. /dev/fd1135ds18 (B: 1.44MB)4. /dev/fd196ds15 (B: 1.2
Chapter 4 • • For UNIX Users~20~Step 6. Enable the "Terminal" port for login purpose.Taking ttya11 as an example,for SCO UNIX/OpenServer/Ope
For UNIX Users • • Chapter 421"tty" + "A" + "B" + "C"port ordinal number in an Async Concentrator(from 1
Chapter 4 • • For UNIX Users~22~The MOXA non-TTY ports are simply referenced as port number in terms ofprogramming. The port number is automatical
For UNIX Users • • Chapter 423User can select base I/O address and interrupt at will as long as no conflict willoccurs. In [Concentrator Setting] di
MoxaInternetServicesCustomer’s satisfaction is always our number one concern. To ensurecustomers get the full benefit of our services, Moxa I
Chapter 4 • • For UNIX Users~24~MonitoringThis utility gives user a quick view about all the Async Concentrators' and ports'status. One ca
For UNIX Users • • Chapter 425The utility restarts the Async Concentrator(s) specified without shutting downthe UNIX system. This is especially us
Chapter 4 • • For UNIX Users~26~open( ), ioctl( ) , read( ), write( ), close( ), etc. Please refer to the UNIXProgrammer's Refer
For UNIX Users • • Chapter 4272. MOBUFEDThis function let user know the byte count queued in output bufferwhen this function is issued.#defi
Chapter 4 • • For UNIX Users~28~#define MSTATUS 0x407int status; /* status = RS-232 line status *//* bit0 - CTS (1:on, 0:off) *//* bit1 - DSR (1
For UNIX Users • • Chapter 4294.5 Programming the MOXA Non-TTY Ports Using MOXA UNIX API-232Even though C360 SuperPort system provides up to 1024 ser
Chapter 4 • • For UNIX Users~30~14. sio_RTS( ) Set modem line control signal RTS.15. sio_flowctrl( ) Setting CTS/RTS and XON/XOFF flow control.16.
For UNIX Users • • Chapter 431int sio_read(int port, char *buf, int len)return = >0 length of data received0 no data received-1 bad port-2 t
Chapter 4 • • For UNIX Users~32~int sio_ioctl(int port, int baud, int mode)return = 0 ok-1 bad port-2 time out-4 bad baud rateport = port num
For UNIX Users • • Chapter 433int sio_flush(int port, int func)return = 0 ok-1 bad port-2 time out-5 port is not openport = port numberfunc
Table of Contents. Chapter 1 Introduction 13 ~ 161.1 Overview 11.2 Features and Specifications 21.3 Check list 4. Chapter 2 Hardware Installation¡@
Chapter 4 • • For UNIX Users~34~bit 2 -- S_RIbit 3 -- S_CD-1 bad port-2 time outport = port number12. Set modem line control.int sio_lctrl(int p
For UNIX Users • • Chapter 435int sio_flowctrl(int port, int mode)return = 0 ok-1 bad port-2 time outport = port numbermode = bit 0 CTS flow
~36~Appendix A TroubleshootingBasically, to have data communication work, many things are involved. Thefollowing picture will help user to inspect wh
Technical Reference • • Appendix B371 MOXA board not found.Hardware causes and solutions:a The I/O address user has selected for MOXA board conflicts
Appendix B • • Technical Reference~38~Hardware Causes and Solutions:a Check if the Ethernet cable between the Async Concentrator andthe Control Boa
Technical Reference • • Appendix B39a In the UNIX system, C360 will check line status (CTS/DSR)before it sends data out if RTS/CTS flow cont
Appendix B • • Technical Reference~40~Hardware Cause and Solution:a Wrong IRQ setting. If the hardware and software IRQ setting donot match. MOXA
Technical Reference • • Appendix B41Appendix B Technical ReferenceB.1 Ethernet CablingAsync Concentrators' layout for C360 could be 10BAS
Appendix B • • Technical Reference~42~For 10BASE-2 with repeaters, the longest distance from C360 Control Board tothe last Async Concentrator is about
Technical Reference • • Appendix B43B.3 RS-232 Cable WiringOnly RS-232 interface with RJ-45 female connector is supported.C360 RJ-45 FemaleConnector
Appendix A Troubleshooting 37 ~ 42Problem Report Form 42Appendix B Technical Reference 43 ~ 48B.1 Ethernet Cabling 43B.2 Async Concentrator and Se
Appendix B • • Technical Reference~44~Type 1: To connect C360 to a DTE, e.g. terminal or PC COM1/2. (Pleasecheck the precise DTE pinouts, t
Technical Reference • • Appendix B45Type 3: To connect C360 to a DTE, e.g. terminal or PC COM1/2, with 3-pinwiring if [Hardware flow control] feature
~46~Appendix C Example Program/ ** Example C program for controlling MOXA serial/Non-TTY ports* using MOXA DOS/UNIX API-232 library* /#include &quo
Appendix C • • Example Program47if (count > 80)count = 80;/* Read data from port */if ((count = sio_read(port_no, data, count)) < 0) {printf(&qu
Problem Report FormCustomer name:Company:Email: Date:Tel: Fax:Moxa product: o C320 series o C218 series o C360o C102 family o C104 family o C168 f
WARRANTYMoxa guarantees its products against defective materials and workmanship for aperiod of one year from the day the original buyer receives the
~1~hapter 1Introduction1.1 OverviewThe C360 SuperPort System is a newly-designed 16 to 256 port serialcommunication solution, which featur
Chapter 1 • • Introduction~2~1.2 Features and SpecificationsFeaturesv ASIC-designed control board, compact sizev No switch, no jumper - easy configur
Introduction • • Chapter 13Control Boardv 16-bit ISA bus (EISA compatible)v I/O mapped address: 200H, 220H, 240H,260H, 280H, 2A0H,2C0H,2E0H,300H, 320H
Kommentare zu diesen Handbüchern