Software Installation

the source code if you modify the source code. For example, if you change the driver's major number (see Section 3.7), then you will need to redo this step.

Find "Makefile" in /moxa/mxser, and then run

# make clean; make install

The driver files "mxser.o" and utilities will be properly compiled and copied to system directories, respectively.

3.Load the MOXA driver

# insmod mxser <argument>

will activate the module driver. You may run "lsmod" to check if "mxser.o" is activated. If the MOXA board is an ISA board, the <argument> is needed. Please refer to section "3.4.5" for more information.

Based on the above description, you may manually execute "insmod mxser" to activate this driver and run "rmmod mxser" to remove it. However, it's better to have a boot time configuration to eliminate the need for manual operation. a boot time configuration can be achieved with an rc file. We offer one "rc.mxser" file to simplify the procedure under "moxa/mxser/driver".

But if you are using an ISA board, you must modify the "insmod ..." command to add the argument (see Section 3.4.5). After modifying the rc.mxser, try executing "/moxa/mxser/driver/rc.mxser" manually to make sure the modification is okay. If any errors are encountered, try modifying again. Once the modification is complete, follow the steps given below.

Run the following command for setting rc files.

#cd /moxa/mxser/driver

#cp ./rc.mxser /etc/rc.d

#cd /etc/rc.d

Check if the file "rc.serial" exists. If "rc.serial" does not exist, create the file using vi editor. Run "chmod 755 rc.serial" to change the permission. Add "/etc/rc.d/rc.mxser" in last line,

Reboot and check if moxa.o activated by "lsmod" command.

Static driver configuration

(for Linux kernel 2.2.14 or above, including 2.4.x)

Note: To use the static driver, you must install the Linux kernel source package.

1.Back up the built-in driver in the kernel.

# cd /usr/src/linux/drivers/char

Industio CP-134U Series User’s Manual 3-41

Page 57
Image 57
Moxa Technologies CP-134U user manual Software Installation

CP-134U specifications

Moxa Technologies CP-134U is a robust and versatile serial communication device designed to facilitate the connection between serial devices and modern computer systems. This product serves as a reliable solution for industries that require seamless integration of legacy serial equipment with newer digital architectures.

One of the key features of the CP-134U is its ability to provide four serial ports, allowing users to connect multiple devices simultaneously. This capability is particularly beneficial in environments where monitoring and control of various equipment need to happen in real-time, such as in industrial automation, telecommunications, and infrastructure management. Each port supports standard RS-232/422/485 communication protocols, making the CP-134U compatible with a wide range of devices.

The device utilizes high-performance USB technology, enabling quick and easy installation without the need for additional power supply. This plug-and-play feature translates into reduced setup time and a simplified user experience. The CP-134U is compatible with various operating systems, including Windows and Linux, allowing for versatile applications across different platforms.

Another noteworthy characteristic of the CP-134U is its durability and industrial-grade design. Constructed with robust materials, this device is engineered to withstand harsh environmental conditions, ensuring reliable operation in challenging settings. The built-in isolation protection enhances the safety of connected devices by protecting them from voltage spikes and current surges.

Moxa Technologies has incorporated advanced technologies into the CP-134U to enhance communication reliability. It features data flow control mechanisms to ensure error-free data transmission, reducing the chances of data loss during critical operations. Furthermore, the device supports various communication baud rates, providing flexibility and adaptability based on user needs.

In addition to its technical attributes, the CP-134U comes with comprehensive documentation and support services provided by Moxa, ensuring that users can maximize their investment in the technology.

In conclusion, Moxa Technologies CP-134U is an effective solution for organizations looking to bridge the gap between legacy serial devices and modern systems. Its multi-port capability, compatibility with various protocols, industrial robustness, and excellent support make it a top choice for many sectors seeking reliable and efficient communication solutions.