Page 1
This Manual describes the QUCM application for interfacing remote Modbus and PowerLogic slaves through dial- up modems via Modbus ASCII, Modbus RTU, and PNIM from a Modbus/TCP Ethernet system. Effective: 17 May, 2004 Niobrara Research & Development Corporation P.O. Box 3418 Joplin, MO 64803 USA Telephone: (800) 235-6723 or (417) 624-8918 Facsimile: (417) 624-8920 www.niobrara.com...
..........................9 QUCM Installation ......................9 Software Installation ....................... 9 Serial Connections to the QUCM-OE ................9 Port 1 (and Port 2) to 25-pin DCE Modem ............. 9 Port 1 to the Personal Computer ................10 Serial Connections to the MUCM-002 ................. 11 Port 1 to 25-pin DCE Modem ................
Page 4
Password ........................ 27 Add Device ......................27 Serial Port Configuration ..................27 Edit Title Page ....................... 28 QUCM TCP/IP Configuration ................28 Change Password ....................28 Store Configuration to FLASH ................28 ............................29 Statistics Pages ......................31 Help Pages ........................32 5 Examples ..........................
Page 5
Table 6-4 MUCM Serial Port Setup Registers ................39...
Modbus RTU or PNIM protocols to connect to the remote slaves. The QUCM con- figuration is accomplished by a built-in web page. The remote location includes a Niobrara MUCM to interface between the modem and the RS-485 network of slaves. This MUCM converts the Modbus ASCII messages to Modbus RTU or PNIM based upon the slave address of the Modbus ASCII message.
Page 8
25-pin modem. An MM1 cable is needed to load the IP Address into the QUCM. The Niobrara MU12 cable is used to connect the RS-232 port on the MUCM to a stan- dard 25-pin modem. The Niobrara METH-001 should be used to cover the option adapter on the MUCM.
Serial Connections to the QUCM-OE Port 1 (and Port 2) to 25-pin DCE Modem The serial ports of the QUCM-OE must be switched to RS-232. The Niobrara cable MM12 is used to connect to a standard 25-pin Modem. NOTE: Do not use the MM4 cable for this application.
A physical connection must be made from the personal computer to the QUCM in or- der to configure the Ethernet parameters of the QUCM-OE. This link may be a serial connection from a COM port on the personal computer to the RS-232 port on the QUCM-OE.
Serial Connections to the MUCM-002 Port 1 to 25-pin DCE Modem The RS-232 serial port of the MUCM is used to connect to the modem. The Niobrara cable MM12 is used to connect to a standard 25-pin Modem. NOTE: Do not use the MU4 cable for this application.
Figure 2-7 MUCM to RS-232 PC Port (9-pin) (MU1 Cable) Loading the Applications into the QUCM The QUCM-OE must use the qucmtcpl.fwl or qucmtcpl.qcc firmware included in the modem.zip file. This firmware is dated 28Oct2002 or later. There are two ways to upgrade the firmware of the QUCM-LE: QLOAD and FWLOAD.
Using ZAPREG32.EXE to set the IP Address It is recommended to use the Ethernet capabilities of QLOAD to load the firmware, APP!.QCC and APP2.QCC into the QUCM. Set up the IP parameters of the module by the following method: Figure 2-8 ZAPREG32 COM1:9600,E,8,1 255 -B Move Switch 1 and Switch 2 to Halt.
(leave this alone) Modbus Port 503 (this defaults to 502) After entering the IP parameters, attempt to ping the module to verify the settings. > ping 206.223.51.161 Verify a connection to the internal Modbus/TCP server with zapreg32. > zapreg32 206.223.51.161:503 255 Should connect to the QUCM on port 503 with Destination index 255.
Replace the module in the rack and apply power. Only the 3 light should be on. (The Link and RX E-net lights may be on if the E-net port is connected and there is traffic.) Connect the PC to QUCM Port 1 with a MM1 cable.. Make sure that Port 1 is set to RS232 mode with the slide switch below the port.
(3) The Modbus Drop is set to 255. Press the Start Download button. QLOAD will open a progress window to show the status of the download. Click on the Browse button and select the file qucm_modem_app2.qcc. Select the Application 2 Radio Button. Verify the following: a.
QLOAD MUCM Firmware Update QLOAD is a convenient method for upgrading the firmware of a MUCM. A direct serial connection to either port1 or port 2 on the MUCM is required. Application 1 and 2 Switches must be in HALT Start QLOAD.EXE Click on the Browse button and select the file mucm.qcc.
Remove the module from the rack and change the switch back to RUN. QLOAD MUCMAPP1 Figure 2-11 QLOAD of MUCMAPP1 Application 1 and 2 Switches must be in HALT. Start QLOAD.EXE Click on the Browse button and select the file mucm_modem_app1.qcc. Select the Application 1 Radio Button.
Page 19
Select the Application 2 Radio Button. Verify the following: a. Status Register = 3. b. Run Pointer Register = 33. c. Auto Start is NOT checked. d. Erase Flash is checked. e. Load File is NOT checked. f. The Modbus Serial tab is selected. (1) The COM port of the PC is selected in the pull-down.
Operation A web browser is used to configure the QUCM. The serial ports must be configured to set the default modem dialing strings, configuration strings, baud rate, etc. Each remote slave must also be entered into the QUCM’s look-up table and associated with a particular Modbus/TCP destination index.
Non-Priority Write Remote Operation without an MUCM Niobrara recommends that Modbus ASCII be used to communicate across standard 10-bit dial-up modems. Modbus ASCII requires a minimum of special configuration of the modem pair. Modbus RTU or PNIM absolutely require modem configuration of 8 data bits and the modem pair must be set for no error correction, no software flow control, and no hardware flow control.
Web Server Navigation Bar The left side of each page includes a set of navigation links. This list changes dynami- cally based on the current page displayed. The root links are Home, Configuration, Statistics, and Help. Home The Home link displays a page similar to figure 4-1. It gives a brief summary of the number of devices configured, the settings on the two QUCM serial ports, and the status of the modem connections.
Figure 4-3 Test Dial Page Configuration Page The Configuration Page link will enter a set of pages for configuring the QUCM. A table is shown with the currently configured devices with links to Edit or Remove each device. Additional links are provided to Add Device, Serial Port Configuration, Change QUCM Titles, Change QUCM TCP/IP Address, Change Password, Store Configuration in Flash, and Home.
Password These pages are password protected based on a 3 minute activity timer. If the pass- word timer has expired the user will be prompted to enter the password. Some con- figuration parameters require the password to be entered before the action is taken. The default password is "master"...
The Modem Init String is used to send the modem general configuration. The modem must be configured for active DCD and active DSR hang-up. Normally these are set with the &C1 and &D2 values. Consult the modem manual for more information. The default string is for a Multitech modem: AT&FX4&C1&D2&E1&E3&E14$EB1$BA0&W0 The Dial Prefix is prepended on every dial string.
Statistics Pages There are two links for statistics: QUCM and Device stats.. (See Figure 4-6 for the QUCM stats sample page) The QUCM stats page shows a variety of information about the QUCM itself including the MAC address, IP settings, firmware revisions and downloaded application revisions.
Help Pages There are a number of help pages to assist in understanding how the QUCM and MUCM work together, serial cable pinouts, and links to support from Niobrara’s web site. Figure shows the help page for the MUCM. Figure 4-7 MUCM Help Page...
Examples Example 1 Figure 5-1 displays an example system with a QUCM-LE with a modem connected to Port 1. Two remote systems are included with a local modem at PBX extension 55 and a remote modem at a long distance phone number. The local modem has a PM-620 connected to the MUCM speaking Modbus RTU at slave address 1.
Troubleshooting Module Lights The QUCM-SE has several lights that indicate the status of the module. Table 6-1 shows the meanings of these lights. Table 6-1 Module Lights Light Meaning Fault The module has a catastrophic fault.. Call the factory. Active This light will be on if the module is in a traffic copped slot in a Quantum PLC system and the PLC is in RUN.
Table 6-2 QUCM User Light Definitions Light Meaning Flashes quickly when no devices are configured. Toggles as the QUCM steps through the devices for port 1. Toggles as the QUCM steps through the devices for port 2. Comes on when the Modem on port 1 has DCD. Comes on when the Modem on port 2 has DCD.
Page 39
Table 6-4 MUCM Serial Port Setup Registers Register Description Default Value Port 1 Baud 9600 Port 1 Parity 1=EVEN Port 1 Data Bits Port 1 Stop Bits Port 2 Baud 9600 Port 2 Parity 1=EVEN Port 2 Data Bits Port 2 Stop Bits QUCM Modbus ASCII Modem Application Manual Troubleshooting 39...