User`s manual

1
1
Chapter 1 Introduction
NPort Programmable Communication Gateway SDK 2 is designed for users who would like to run
their own proprietary application on NPort 5200-P Programmable Communication Gateway. PCG
SDK 2 comes with a Moxa embedded OS (Moxa OS), TCP/IP communication stack, and Software
Development Kit (SDK) and Windows utility that allow system integrators to create their own
proprietary solution that doesn’t use traditional PCs.
MOXA OS Ver. 2.x
Moxa PCG SDK 2 has an embedded, small footprint OS developed by Moxa Technologies Co.,
Ltd. It was developed originally for TCP/IP-based Terminal Server products starting in 1993. It is
a powerful and reliable software platform with a user-friendly SDK. The major features of Moxa
OS Ver. 2.0 are:
¾ 16-bit, Unix-like embedded operating system
¾ Small footprint (< 300 KB, including the TCP/IP protocol stack)
¾ Non-preemptive multi-thread system
¾ Stream I/O
¾ Standard BSD Sockets for TCP/IP programming with multi-TCP session support
PCG SDK 2
To assist in the development of PCG applications, Moxa provides a comprehensive and
easy-to-use SDK (Software Development Kit), designed for use on Windows
95/98/Me/NT/2000/XP platforms. The main features of PCG SDK 2 are:
¾ Borland™ Turbo C 2.01 compiler
¾ SDK libraries with more than 100 function calls
¾ SDK Manager and EXE2AP utilities for software download and troubleshooting
¾ PComm Terminal Emulator
¾ More than 20 example programs
¾ Documentation
PCG SDK V2 has the following programming features:
¾ Up to 192 KB of user program space (large mode in Turbo C)
¾ Up to 160 KB of flash memory access space
Other advanced features include:
¾ EXE2FRM utility for advanced application deployment
¾ PCGCI library for utility development