MOXA UC-7420/7410 Quick Installation Guide
Second Edition, August 2005
1. Overview
MOXA UC-7420/7410 features eight RS-232/422/485 serial ports, dual 10/100 Mbps Ethernet ports, PCMCIA, and a CompactFlash interface for wireless LAN communication and flash disk expansion, making UC-7420/7410 ideal for embedded applications.
2. Package Checklist
Before installing UC-7420/7410, verify that the package contains the following items:
- 1 UC-7410 or UC-7420
- Wall-Mounting Kit
- DIN-Rail Mounting Kit
- UC-7420/7410 Quick Installation Guide (this guide)
- UC-7420/7410 Documentation & Software CD
- Cross-over Ethernet cable
- CBL-RJ45M9-150: 150 cm, 8-pin RJ45 to Male DB9 serial port cable
- CBL-RJ45F9-150: 150 cm, 8-pin RJ45 to Female DB9 console port cable
- Universal Power Adaptor
- Product Warranty Booklet
Notify your sales representative if any of the above items is missing or damaged.
3. UC-7420/7410 Panel Layout
Note: UC-7420 (shown in the figures) has a CF slot, PCMCIA slot, and two USB 2.0 Host ports. UC-7410 does NOT have these three features.
Rear View
The rear panel includes:
- 12-48 VDC Power Input (DC 12-48V Terminal Block: V+, V-)
- PCMCIA Slot (PCMCIA x 1)
- CompactFlash Slot (CF x 1)
- Two 10/100Mbps Ethernet Ports (LAN1, LAN2)
- Console Port (RJ45)
- Two USB 2.0 Host Ports (Type A Connector)
- One USB 1.1 Client Port (miniB Connector)
Part Number: P/N: 1802074000200
Front View
The front panel features:
- Graphics LCM (160 x 64 Dots)
- Five Buttons (F1-F5)
- Eight RJ45 RS-232/422/485 Connectors (P1 to P8)
- Reset to Default Button
- Reset Button
4. Installing UC-7420/7410
Wall or Cabinet Mounting
Use the included metal brackets to attach the unit to a wall or inside a cabinet. First, attach the brackets to the bottom of the UC-7420/7410 using two screws per bracket. Then, use two screws per bracket to secure the unit to the wall or cabinet.
DIN-Rail Mounting
The package includes an aluminum DIN-Rail attachment plate. To attach the plate to the UC-7420/7410, position the stiff metal spring towards the top.
Step 1: Insert the top of the DIN-Rail into the slot just below the stiff metal spring.
Step 2: The DIN-Rail attachment will snap into place.
To remove the UC-7420/7410 from the DIN-Rail, reverse Steps 1 and 2.
5. Connector Description
Power Connector
Connect the 12-48 VDC power line to the unit's terminal block. The Ready LED will show a solid green color when the OS is ready, indicating proper power supply.
Grounding
Grounding and wire routing help limit noise from electromagnetic interference (EMI). Run the ground connection from the ground screw to a grounded metal surface before connecting power. This product is intended for mounting to a well-grounded surface, such as a metal panel.
SG (Shielded Ground): The SG contact is the leftmost contact of the 3-pin power terminal block connector (when viewed from the front). Connect the SG wire to an appropriate grounded metal surface.
Ethernet Port
The two 10/100 Mbps Ethernet ports (LAN 1 and LAN 2) use RJ45 connectors.
Pin | Signal |
---|---|
1 | ETx+ |
2 | ETx- |
3 | ERx+ |
6 | ERx- |
Serial Port
The eight serial ports (P1 to P8) use RJ45 connectors. Each port can be software-configured as RS-232, RS-422, or RS-485. The pin assignments are:
Pin | RS-232 | RS-422 | RS-485 |
---|---|---|---|
1 | DSR | ||
2 | RTS | TXD+ | |
3 | GND | GND | GND |
4 | TXD | TXD- | |
5 | RXD | RXD+ | Data+ |
6 | DCD | RXD- | Data- |
7 | CTS | ||
8 | DTR |
PCMCIA
The PCMCIA slot supports CardBus (Card-32) and 16-bit (PCMCIA 2.1/JEIDA 4.2) standards. It supports +3.3V, +5V, and +12V at 120 mA. Wireless LAN card expansion is optional, with Moxa providing cards supporting 802.11b and 802.11g.
CompactFlash
UC-7420 provides one CompactFlash slot for type I/II card expansion. Moxa offers a CompactFlash disk for plug-and-play expansion. Other computer supply outlets also offer compatible flash disks. The CompactFlash will be mounted at /mnt/hda.
Device Features
Console Port
The console port is an RJ45 RS-232 port, connectable to V90 or GPRS modems via PPP. Pin definitions match the eight serial ports (P1 to P8).
Reset to Default Button
Press and hold the "Reset to Default" button for at least 5 seconds to load factory default configuration. The system will reboot automatically. The Ready LED blinks for 5 seconds then glows steadily when the system is ready.
Reset Button
Activates the hardware reset function. Use only if software malfunctions. For Linux systems, rebooting the OS is recommended to avoid data loss.
LCM & Keypad
The UC-7420/7410 Series features an LCM screen and five input buttons. The LCM displays 16 columns and 8 rows of text (ASCII 0x20-0x7F). Keypad button functions are application-defined. Refer to the Moxa Device API for programming information.
USB
The USB 2.0 Host port supports USB storage device drivers. The USB 1.1 Client port is reserved for future enhancements.
Real Time Clock
The real-time clock is powered by a lithium battery. Replacement should only be done by a qualified Moxa support engineer. Contact the Moxa RMA service team for battery replacement. ⚠️ Caution: There is a risk of explosion if the battery is replaced with an incorrect type.
6. Powering on UC-7420/7410
Connect the "terminal block to power jack converter" to the DC terminal block (rear panel) and then connect the power adaptor. Ensure the Shielded Ground wire is connected to the rightmost pin of the terminal block. Boot-up takes approximately 30 seconds. The Ready LED will light up when the system is ready, and network settings will appear on the LCM display.
7. Connecting UC-7420/7410 to a PC
Connection can be made via the serial console port or Telnet over the network.
Serial Console Port Settings: Baud rate=115200 bps, Parity=None, Data bits=8, Stop bits=1, Flow Control=None. Remember to select "VT100" terminal type. Use the CBL-RJ45F9-150 cable.
Telnet Connection: Requires knowledge of the UC-7420/7410's IP address and netmask. Default LAN settings:
- LAN 1: IP Address = 192.168.3.127, Netmask = 255.255.255.0
- LAN 2: IP Address = 192.168.4.127, Netmask = 255.255.255.0
For first-time configuration, a cross-over Ethernet cable directly connecting the PC to the UC-7420/7410 is recommended. After power-on, the Ready LED will light up, and a login page will appear. Default login: root, Password: root.
8. Configuring the Ethernet Interface
For first-time network configuration via the console cable, edit the interfaces file:
#ifdown -a
//Disable LAN1/LAN2 interface first, before reconfiguring LAN settings. LAN 1 = ixp0, LAN 2=ixp1//
#vi /etc/network/interfaces
//check the LAN interface first//
After modifying the LAN interface settings, activate them immediately:
#sync ; ifup -a
Note: Refer to the UC-7420/7410 User's Manual for WLAN interface and other configuration details.
9. Developing Your Application
The application development process involves the following steps:
- Power on the target device and connect to PC Linux.
- Install GNU cross-compiler on PC Linux.
- Install Glibc on PC Linux.
- Install GDB client on PC Linux (optional).
- Set up cross-compiler and Glibc environment variables.
- Develop end-user application: Code program & Compile.
- If the program is not debugged, repeat step 6.
- Download to target to run and test.
10. Installing the UC-7420/7410 Tool Chain
The PC must have a Linux Operating System installed (Redhat 7.3/8.0, or Linux Kernel 2.4.18 and compatible versions recommended). The Tool Chain requires approximately 400 MB of hard disk space. Install from the UC-7420/7410 CD using the following commands:
#mount /dev/cdrom /mnt/cdrom
#rpm -ivh /mnt/cdrom/mxscaleeb-3.3.2-1.386.rpm
The Tool Chain will be installed automatically.
11. Compiling and Running Hello.c
The Tool Chain path is: PATH=/usr/local/mxscaleb/bin:$PATH
. The UC-7420/7410 CD includes example programs; Hello.c is used here.
On your PC, execute:
# cd /tmp/
# mkdir example
# cp -r /mnt/cdrom/example/* /tmp/example
# cd /tmp/example/Hello
#make
This compiles Hello.c. Run the generated executable to produce hello-release and hello-debug.
Note: Moxa also offers a Windows Tool Chain that simulates a Linux environment for developing applications on Windows. Refer to the UC-7420/7410 User's Manual for installation details.
Copyright © 2005 Moxa Technologies Co., Ltd. All rights reserved. Reproduction without permission is prohibited.
Tel: +886-2-8919-1230 | Fax: +886-2-8919-1231 | www.moxa.com | support@moxa.com.tw