Software Installation

Loading the Driver

Having completed the setup, now you can load the driver BIN\DP-DRV.EXE at the DOS prompt. The driver will detect the board you installed automatically. If the board(s) is(are) detected, a message similar to below will show:

Smartio/Industio Family DOS driver Version 1.5

Setup driver …

CP-134U series (Bus= x ,Dev=y) : OK!

Device driver setup O.K.

It means that the CP-134U Series driver is installed properly. At this point, you are ready to execute applications that support API-232 functions, or start developing applications using API- 232 library.

Unloading the Driver

To unload (release) the driver from memory, type DP-DRV/Q at the DOS prompt.

Linux

The Linux driver for MOXA’s multiport serial boards supports the following products:

!Universal PCI Boards: CP-168U, CP-104UL, CP-104JU, CP-134U, CP-134U-I, CP-132UL, CP- 132UI

!PCI Boards: C168H/PCI, C104H/PCI, C104HS/PCI, CP-114, CP-114I, CP-114S, CP-114IS, CP-132, CP-132I, CP-132S, CP-132IS

!ISA Boards: C168H, C168HS, C168P, C104H, C104HS, C104P, CI-104J, CI-104JS, CI-134, CI- 134I, CI-134IS, CI-132, CI-132I, CI-132IS

!cPCI Boards: CT-114I

The following steps are using CP-168U as an example.

Follow the steps below to install the driver under Linux.

1.# mkdir moxa

#cd moxa

#tar xvfz mxser.tgz

2.#cd mxser

#make clean; make install

3.# cd /moxa/mxser/driver

#./msmknod

4.# modprobe mxser

(If you install ISA Boards, please type commend # insmod mxser ioaddr=0x???, 0x???, 0x???, 0x??? <- 1st ISA, 2nd ISA, 3rd ISA, 4th ISA)

Using /lib/modules/2.4.20-8/kernel/drivers/char/mxser.o

Smartio CP-104UL User’s Manual 3-39

Page 53
Image 53
Moxa Technologies CP-104UL user manual Linux, Loading the Driver

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.