Moxa Technologies CP-134U user manual Utilities, Verifying driver installation, Msdiag Diagnostic

Page 61

Software Installation

3.Insert the new major numbers into the driver’s source code.

Run vi to open /moxa/mxser/driver/mxser.c. Locate the line that contains "MXSERMAJOR", and change the content as below:

#define

MXSERMAJOR

40

#define

MXSERCUMAJOR

45

4.Run "make clean; make install" from /moxa/mxser/driver.

Verifying driver installation

You may refer to /var/log/messages to check the latest status log reported by this driver whenever it's activated.

Utilities

There are 3 utilities contained in this driver. They are msdiag, msmon, and msterm. These 3 utilities are released in the form of source code. They should be compiled, and then the executable files should be copied to the /usr/bin directory.

Before using these utilities, please load the driver (refer to Sections 3.4, 3.5, and 3.6) and make sure you have run the "msmknod" utility.

msdiag - Diagnostic

This utility is used to display which Moxa Smartio/Industio boards in the system can be found by the driver.

msmon - Port Monitoring

This utility gives the user a quick view of all MOXA port activity. You can easily see each port's total received/transmitted (Rx/Tx) character count from the time the monitoring was started. Rx/Tx throughputs per second are reported on an interval basis (e.g., the last 5 seconds), and on an average basis (since the time the monitoring was started). You can reset all ports' count by <HOME> key. <+> <-> (plus/minus) keys to change the displaying time interval. Press <ENTER> on the port, that cursor stay, to view the port's communication parameters, signal status, and input/output queue.

msterm - Terminal Emulation

This utility provides the ability to send and receive data through all tty ports (especially for MOXA ports). It is very useful for testing simple applications, such as sending AT commands to a modem connected to the port, or as a terminal for login purposes. Note that this is a dumb terminal emulation that does not handle full screen operations.

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

Image 61
Contents Fifth Edition, January Industio CP-134U Series User’s ManualTrademarks Copyright NoticeDisclaimer Following services are provided Moxa Internet ServicesTable of Contents Introduction Overview Operating System Support Universal PCIMoxa Serial Comm Tools Board ApplicationsPackage Checklist FeaturesHardware Installation CP-134U Series Block Diagrams CP-134U DIP Switch Settings Jumper SettingsJumper pins RS-422/485DIP Switch Port Settings S1-3 S2-3 RS-422 Installing the Industio CP-134U Series Board Page Software Installation Windows NT Installing the Driver Industio CP-134U Series User’s Manual Port Number Rx Fifo Trigger Software Installation Configuring the Board and Ports Updating the Driver Removing the Driver Windows 95/98See the Board and Ports Ready section Windows Click on Other Locations First Time Driver Installation StageWindows Windows Type E\Software\Win98\Windows.95 Software Installation Port Configuration Stage Industio CP-134U Series User’s Manual Software Installation Board and Port Ready Stage Configuring the Board and Ports Software Installation Industio CP-134U Series User’s Manual Software Installation Click OK to accept the changes Software Installation Click OK in the Add/Remove Programs Properties dialog box Windows Windows XP Windows 2000/XPSelect Specify a location and then click on Next to continue Software Installation Click on Next to continue Select Specify a location and then click on Next to continue Industio CP-134U Series User’s Manual Software Installation Device Manager How to Check the InstallationEvent Log Moxa PComm UtilityRemoving the Driver Click OK to proceed with the un-installation of the board Industio CP-134U Series User’s Manual Introduction LinuxSystem Requirements InstallationPCI board Obtaining Driver Files Device naming when more than 2 boards are installedDevice naming convention PCI IRQ SharingBoard sequence Module driver configurationSoftware Installation Copies boot image to the correct position # make clean make install Reboot Change Device name Custom configurationChange Major number Msdiag Diagnostic Verifying driver installationUtilities Msmon Port MonitoringError msg TroubleshootingSolution SetserialSolution Error msg Page Serial Programming Tools PComm Programming Library PComm InstallationRS-485 Programming Addc Automatic Data Direction ControlSolution Page Pinouts and Cable Wiring Connection Cables Cable WiringModel CBL-M44M9x4 Model CBL-M44M25x4 RS-422 Interface RS-232 InterfaceRS-485 Interface Individual Port Pinouts RS-485 4-wire RS-485 2-wire RS-422 Point-to-point RS-422 Broadcasting Cable Wiring-DB9Multidrop 2-wire RS-485 half-duplex Impedance Matching and Termination Resistors Page General Troubleshooting TroubleshootingSoftware Causes and Solutions Windows NT system panic blue screen System fails to find the Industio CP-134U Series board Technical Reference SpecificationsPCI Service Information Return ProcedureRevision History Under RS-422 Interface Wiring-DB9

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.