Moxa Technologies CP-104UL user manual Serial Programming Tools, PComm Installation, Utilities

Models: CP-104UL

1 69
Download 69 pages 61.94 Kb
Page 59
Image 59

4

Serial Programming Tools

Moxa supports a class of easy to use, yet powerful serial programming libraries and communication troubleshooting utilities under Windows NT/2000/XP/2003 and Windows 95/98. Use these MOXA Serial Programming Tools to decrease your software development time.

In the following sections, we describe the installation of the library, and the utilities supported for various programming platforms.

PComm, a professional serial comm tool for PCs, is a software package that runs under Windows NT/2000/XP/2003 and Windows 95/98. PComm provides:

!A powerful serial communication library for easy programming in the most popular programming languages. The serial communication library is useful for developing applications for data communications, remote access, data acquisition, and industrial control under Windows NT/2000/XP/2003 or Windows 95/98. It is an simpler solution compared to the more complex Windows Win32 COMM API.

!Useful utilities such as diagnostic, monitor, and terminal emulator.

!Illustrative sample programs,

!Comprehensive on-line documentation.

PComm Installation

To install PComm, run \Setup.exe from the diskette enclosed in the package. Please note that the PComm diagnostic and monitor utilities are for MOXA boards only; these two utilities will not work with other manufacturers serial boards.

After PComm is successfully installed, click on [Start], select [Program Files], and then PComm Lite group to select a list of utilities and documents.

PComm Programming Library

The serial communication library assists you in developing serial communications programs for any COM port that complies with Microsoft Win32 API. It facilitates the implementation of multi- process and multi-thread serial communication programs and hence remarkably reduces development time.

This serial communication library provides a complete function library and sample programs for Visual C++, Visual Basic, and Borland Delphi. To view detailed function descriptions and sample programs, click on [Start] " [Program] " [PComm Lite] " [PComm Lib Help], [PComm Porting Notes] or [PComm Programming Guide], or refer to the sample programs in the PComm directory.

Utilities

In this section, we give brief descriptions of each utility. For more information about these utilities, see the on-line help from the software diskette.

Diagnostic (for MOXA boards only)

A convenient diagnostic program, ONLY for MOXA boards and ports, provides internal and

Page 59
Image 59
Moxa Technologies CP-104UL user manual Serial Programming Tools, PComm Installation, PComm Programming Library, Utilities

CP-104UL specifications

The Moxa Technologies CP-104UL is a versatile and reliable serial-to-USB adapter designed for a wide range of industrial applications. This device aims to simplify the process of connecting serial devices to a USB port, making it an invaluable tool for engineers and technicians who need fast and effective communication with their legacy serial devices.

One of the main features of the CP-104UL is its ability to support four isolated RS-232 serial ports. This high level of isolation helps protect sensitive equipment from electrical noise and transients, which is critical in many industrial environments. The device supports a data rate of up to 921.6 kbps, allowing for high-speed communication and efficient data transfer. This feature is particularly useful in situations where quick data retrieval is essential, such as in real-time monitoring and control systems.

The Moxa CP-104UL utilizes advanced technologies, such as the use of Virtual COM Port drivers. These drivers provide a seamless interface between the USB adapter and the operating system, making it appear as if the serial ports are native to the system. This ensures compatibility with various applications without the need for significant configuration adjustments.

Another noteworthy characteristic of the CP-104UL is its robust construction and environmental ratings. The device is designed to withstand harsh industrial conditions, making it suitable for use in factories, process plants, and other challenging environments. Its wide operating temperature range of -40 to 75 degrees Celsius ensures reliable performance even in extreme temperatures.

Additionally, the CP-104UL supports various operating systems, including Windows, Linux, and macOS. This cross-platform compatibility provides users with flexibility, allowing them to integrate the adapter into their systems without worrying about compatibility issues.

The device is also equipped with features such as built-in surge protection, ensuring that the connected equipment remains safe from electrical interference. Furthermore, its compact design and lightweight form factor make it easy to deploy in various installation scenarios, including wall mounting or direct attachment to devices.

In summary, the Moxa Technologies CP-104UL is an essential tool for anyone working with serial devices in industrial settings. Its multiple features, advanced technologies, and robust characteristics make it an ideal solution for converting serial connections to USB, ensuring reliable communication in a variety of applications.