Moxa Technologies C360 Computer Hardware User Manual


 
Chapter 3 For DOS Users
~16~
3.3 DOS API-232 Library and Programming Languages
For DOS programming, API-232 includes powerful libraries supporting
languages like Microsoft C, Turbo C, Macro Assembly, QuickBasic, Turbo
Pascal, Clipper, etc. Sample programs for each supported language are
included. See the files in the sub-directory EXAMPLE\language of the API-232
directory.
For complete API-232 function description, see API-232 User's Manual or file
API-232.TXT in the API-232 directory for more details. The following
functions illustrated in C are for C360 only. Some language may vary in
function name and some does not support sio_getACs( ) due to its restriction.
1. sio_getACs( ) : Get C360 Async Concentrators' serial numbers
2. sio_ACstate ( ) : Get C360 Async Concentrator's status
3. sio_ACdiag ( ) : C360 Async Concentrator’s diagnostics
Function, sio_loopback(), is not available for C360. Function, sio_ACdiag( )
is recommended instead.
3.4 Administrations
The utility, BIN\SP-ADM.EXE, is for C360's status monitoring and hardware
diagnostics.
Async Concentrator Status Monitoring
This utility gives user a quick view about the status of all the Async
Concentrators linked with each Control Board. Status "Running" means the
Async Concentrator with corresponding serial number is working. Status "No
response" means the Async Concentrator is powered off or defective or the
Ethernet cabling goes wrong somewhere.