Specifications

9-66
Remote I/O Servers
Remote I/O Servers
www.m o x a . c o m e - m a i l : i n f o @ m o x a . c o m
9
Easy Addressing Using Slot Number + Channel Number
Intuitive and Easy-to-Use Function Calls
For small-scale data acquisition systems, you may consider developing
your own application in-house, rather than using an expensive
SCADA package. MOXA provides a powerful MXIO library for different
programming languages, including Visual Basic, Visual C++, and
Borland C++ Builder, so you can build your application quickly. You can
retrieve data in your application by using MXIO commands designed
for the traditional Modbus protocol. Direct I/O command sets are also
available for slot and channel-based commands. The MXIO library
supports different platforms, including Windows 2000, Windows XP,
Windows 2003, Windows CE 5.0 x 1 and Embedded Linux x 2.
1. Windows CE 5.0 ARMV4I support has
been verified for MOXAs UC-7408 and
UC-7420.
2. Embedded Linux is only supported for
MOXAs UC-7100 line.
1. System Conmmands
RS-485/RS-232 I/O Connect Commands
MXSIO_OpenCommPort
MXSIO_CloseCommport
MXSIO_Connect
MXSIO_Disconnect
Ethernet I/O Connect Commands
MXEIO_Init
MXEIO_Exit
MXEIO_Connect
MXEIO_Disconnect
MXEIO_CheckConnection
General Commands
MXIO_GetDLLVersion
MXIO_GetModuleType
2. Modbus Command Sets
MXIO_ReadCoils
MXIO_WriteCoils
MXIO_ReadRegs
MXIO_WriteRegs
3. Direct I/O Command Sets
Digital Input Commands
DI_Reads
DI_Read
Digital Output Commands
DO_Reads
DO_Read
DO_Writes
DO_Write
Analog Input Commands
AI_Reads
AI_Read
Analog Output Commands
AO_Reads
AO_Read
AO_Writes
AO_Write
RTD Commands
RTD_Reads
RTD_Read
Thermocouple Commands
TC_Reads
TC_Read
Special Commands for ioLogik 4000
Adp4K_ReadFirmwareRevision
Adp4K_ReadFirmwareDate
Adp4K_ReadSlotAmount
Adp4K_ReadStatus
Adp4K_ReadAlarmedSlot
MXIO DLL Library
The MXIO library is straightforward and easy to understand. Take a look at the following illustration to see just how easy it is. (MXIO library 1.0.0.1 only)
Traditionally, programmers had to include a calculation for the Modbus
address in their program. Now they only need to point out which slot
and channel they want to access. Working in this way is easier and
more intuitive.
Quick Programming—Only 5 Steps to Touch the Real World
VB
VC
BCB