In short
The Mitsubishi MELSEC iQ-R R04CPU is the foundational controller for modern high-speed industrial lines. This technical guide outlines compatibility specs, upgrade modules, and a step-by-step swap procedure.
Overview
The Mitsubishi MELSEC iQ-R Series represents the pinnacle of Mitsubishi Electric’s programmable logic controller (PLC) design, engineered to minimize total cost of ownership (TCO) while maximizing throughput, reliability, and security. At the foundational tier of this automation platform is the R04CPU processor. Capable of handling typical medium-scale production lines, complex motion integration, and distributed field I/O, the R04CPU is a common workhorse in manufacturing facilities worldwide.
However, as production requirements expand, facility networks transition to Industrial IoT (IIoT) protocols, or hardware components reach their wear-and-tear thresholds, engineers must execute system replacements or upgrades. This document provides an exhaustive, field-ready reference for technical experts, system integrators, and plant engineers tasked with replacing or upgrading the Mitsubishi R04CPU. It covers target electrical profiles, drop-in mechanical equivalents, software migration protocols, and step-by-step procedures to minimize plant downtime during maintenance cycles.
Legacy Product Information
The R04CPU is a high-performance central processing unit within the MELSEC iQ-R product group. Positioned as an entry-level CPU within the iQ-R bracket, it provides a cost-effective option for applications requiring fast processing speeds but moderate memory size.
Key Technical Specifications
- Part/Catalog Number: R04CPU
- Program Capacity: 40,000 steps (approximately 160 KB memory footprint)
- Basic Instruction Execution Speed: 0.98 nanoseconds (LD instruction)
- Program Memory (Flash): 160 KB (used for operating system parameters, program storage, and unit configuration)
- Device/Label Memory: 500 KB (RAM allocation for variables, timers, counters, registers, and localized tracking)
- Onboard Interfaces:
- 1 x USB (Mini-B) port for direct engineering connection (GX Works3)
- 1 x RJ45 Ethernet port (100BASE-TX / 10BASE-T) for network-wide programming, variable monitoring, TCP/IP communication, and SLMP routing
- Expansion Slot: 1 x SD/SDHC memory card slot (supports up to 32 GB cards for data logging, diagnostic dumps, and automatic boot loads)
- Internal Current Consumption: 0.67 A at 5 VDC (supplied directly via the iQ-R main backplane)
- Lifecycle Status: Active (Currently manufactured and supported, but frequently upgraded when manufacturing footprints expand or require specialized safety/network protocols).
Recommended Replacements
When upgrading or choosing an alternative for a damaged or resource-bound R04CPU, engineers can choose between standard direct compatibility upgrades or network-enhanced variations. The table below outlines the three primary replacement and upgrade paths for the R04CPU.
| Upgrade Option | Part Number | Program Capacity | Device Memory | Primary Advantage | Backplane Compatibility |
|---|---|---|---|---|---|
| Direct Capacity Upgrade | R08CPU | 80,000 steps | 1,000 KB | Doubles program capacity and data memory; uses identical backplane and wiring configurations. | 100% Drop-in Compatibility |
| High-Tier Capacity Upgrade | R16CPU | 160,000 steps | 2,000 KB | Quadruples memory ceiling; supports highly complex math algorithms and extensive recipe tables. | 100% Drop-in Compatibility |
| Network-Integrated Upgrade | R04ENCPU | 40,000 steps | 500 KB | Integrates dual onboard RJ45 ports with built-in CC-Link IE Field Network and TSN (Time-Sensitive Networking) capabilities. | 100% Drop-in Compatibility |
Compatibility Considerations
Before replacing or upgrading an R04CPU, verification of key hardware and software parameters is required to prevent mismatch errors or runtime faults during initial commissioning.
1. Backplane and Rack Layout
The R04CPU mounts onto standard iQ-R main base units (R35B, R38B, R312B, or extension racks using RQ transceivers). Any of the recommended replacements listed above fit onto these exact backplanes. The physical dimensions (98 mm H x 27.4 mm W x 115 mm D) and base-locking pins are identical across the R04CPU, R08CPU, R16CPU, and R04ENCPU.
2. Power Supply Budgeting
The R04CPU draws 0.67 A from the 5 VDC internal power bus. While the R08CPU and R16CPU share this exact consumption profile (0.67 A), upgrading to the R04ENCPU network-processor increases current consumption to 0.83 A due to its dual-channel network chipsets. Ensure that the system’s Power Supply Unit (such as the R61P or R62P) has sufficient headroom to supply this increased load alongside existing I/O and communication modules.
3. Software Environment
The iQ-R platform requires Mitsubishi's GX Works3 engineering software (Version 1.000 or higher). If converting an R04CPU program to an R08CPU or R16CPU, the project file must be processed using the platform migration wizard in GX Works3. This modification redirects system-level memory addresses, changes variable allocations, and compile-checks program blocks automatically.
Upgrade Benefits
Upgrading from the R04CPU to a higher-capacity module yields immediate operational benefits that improve process reliability and future-proof production assets:
- Elimination of Online Change Restrictions: Smaller CPUs like the R04CPU have tighter memory execution boundaries. When engineers perform "Online Changes" (editing logic while the machine is running), the CPU requires temporary allocation pools. Upgrading to an R08CPU or R16CPU ensures ample headroom, preventing "Memory Capacity Exceeded" errors during live runtime updates.
- Network Consolidation (R04ENCPU transition): Upgrading to the R04ENCPU integrates CC-Link IE Field and TSN networks directly onto the CPU head. This eliminates the necessity of purchasing an external RJ71EN71 network module, saving backplane space and reducing overall hardware costs.
- Enhanced Diagnostics and Logging: The larger data registration allocations on the R08CPU and R16CPU allow engineers to write extensive trace/data logging buffers directly to the CPU's memory or SD card without slowing down the core logical execution thread.
Common Migration Challenges
System integrators face distinct challenges during a CPU migration. Aware and proactive management of these points prevents extended commissioning windows:
- Latch Range Discrepancies: When upgrading to a higher-class CPU, keep in mind that the default Latch (keep-on-power-loss) ranges for variables and registers may shift. Always double-check "CPU Parameter -> Memory/Device Settings" in GX Works3 to ensure variables like retention relays (L) and data registers (D) correspond precisely to the original R04CPU setup.
- IP Address Mapping on Dual-Port Units: If replacing a standard R04CPU paired with an external network module with an R04ENCPU, the host IP address and routing parameters must be systematically migrated to the CPU’s integrated network ports. Ensure subnets and gateway routing tables are accurately entered to avoid broken links to HMI panels, SCADA systems, or corporate databases.
- Firmware Version Alignment: Newly purchased replacement modules contain newer firmware revisions. Ensure that your local installation of GX Works3 is fully updated so that the developer's hardware catalog contains the firmware profile of the clean replacement CPU.
Step-by-Step Replacement Procedure
Follow this systematic process carefully to replace or upgrade your R04CPU controller safely and efficiently.
Step 1: Back Up Existing Program and Parameters
Never begin a structural hardware swap without an active, verified backup.
- Connect an engineering PC to the R04CPU via USB or Ethernet.
- Launch GX Works3 and select
Online -> Read from PLC. - Check all parameter components: Program, Parameter, Intelligent Function Module parameters, Device memory values (specifically checking "Latching" ranges to preserve current production metrics/counters), and Global Labels.
- Execute the read command and save the project as a recovery master (
.gxw3file).
Step 2: System Isolation and Power Down
- Safely halt machine motion. Place the controller system in "STOP" status using the physically accessible slide switch located on the front bezel of the R04CPU.
- Isolate and disconnect the primary power source feeding the R61P / R62P power supply unit on the backplane.
- Verify that all status indicators (POWER, RUN, ERR) on the power supply and CPU are completely dark.
- Use a digital multimeter to confirm the absence of dangerous voltage spikes on any adjoining high-density terminal blocks.
Step 3: Hardware Removal
- Unplug the RJ45 Ethernet communication line and the Mini-B USB programming cable from the R04CPU front panel.
- Pull open the memory card cover door and gently push the SD card inwards to release it, then extract and set it aside in a static-safe container.
- Push down the unit-release lever located at the top block of the CPU casing, and pivot the R04CPU forward and upward to unhook it from the bottom alignment pin of the backplane slot.
Step 4: Hardware Integration and Parameter Check
- Unbox the new module (e.g., R08CPU). Check the side label for physical part validity and structural integrity.
- Position the bottom hook of the new CPU into the corresponding base unit slot. Push the top portion of the system inward until the lock lever clicks securely into position.
- Insert the original SD card back into the slot if historical alarm logs or recipe data must be preserved.
- Connect the RJ45 communicating Ethernet cable into the newly installed housing port.
Step 5: Parameter Remapping and Program Upload
- Turn on power to the main backplane. Confirm that the power supply's LED glows a steady green. The new CPU will likely show an "ERR" light (flashing or solid) because its memory is clean and unprogrammed.
- Open the saved R04CPU project in GX Works3.
- If upgrading the hardware type (e.g., going to R08CPU), select
Project -> Change GP/PLC Type. Set the Target Series toMELSEC iQ-R Seriesand Target Model toR08CPU. PressOKand allow the compiler to rebuild the variable lookup trees. - Navigate to
Online -> Transfer Setupand configure your PC-to-PLC communication path (USB is recommended for initial configuration). - Select
Online -> Write to PLC. Under the selection page, check "Select All" to transfer system parameters, CPU configurations, programs, and initialized variable lists. - Once write procedures conclude, cycle power to the PLC rack to execute memory registration. Ensure the CPU’s hardware switch is toggled back into the
RUNposition. - Verify that the "RUN" LED shows green and the "ERR" indicator is completely off. Run dynamic system tests to ensure logic runs cleanly.
Frequently Asked Questions
Q1: Can I run an older Q-Series IO module on a backplane with an iQ-R CPU?
Yes. By using the RQ Extension Base Unit (like the RQ38B or RQ312B), Q-Series modules can be seamlessly integrated and controlled directly by an R04CPU or its recommended upgrades.
Q2: Is a specialized backup battery compulsory for memory preservation during a replacement swap?
No. The iQ-R Series CPUs utilize integrated non-volatile program flash memory. Device configurations, parameters, and application programs are stored without power requirements. A battery (Q6BAT or FX3U-32BL type) is only required if you use local volatile register files or need to sustain internal real-time clocks during long shutdowns.
Q3: My replacement CPU has an active flashing "ERR" LED. What does this mean?
A flashing ERR light indicates a configuration mismatch, parameter error, or empty main memory bank. Connect GX Works3 to the controller and open the Module Diagnostics tool (Diagnostics -> PLC Diagnostics). The system will provide an alphanumeric error code pointing directly to the missing parameters or invalid logic structures.
Q4: Can I use an SD card from an old Q-Series CPU in the replacement R04CPU or R08CPU?
No. The iQ-R CPU line uses a different disk formatting scheme and directory structure compared to older Q-series cards. Format the card inside the new iQ-R module using the GX Works3 formatting tool before writing application structures to it.
Related Products & Families
To construct or upgrade a complete, functional iQ-R automation architecture, the R04CPU relies on these complementary modules:
- Main Base Units: R35B (5 slots), R38B (8 slots), R312B (12 slots)
- Power Supply Modules: R61P (100–240 VAC input, 6 A output), R62P (Redundant tracking supply)
- Digital Input Modules: RX40C7 (16-point DC input), RX41C4 (32-point high-density DC input)
- Digital Output Modules: RY40NT2P (16-point transistor sink output), RY41NT2P (32-point output)
- Network Modules: RJ71EN71 (Multi-protocol Ethernet interface), RJ71GP21-SX (CC-Link IE Control network interface)
Need Help?
Whether you are executing a critical production recovery or proactively scheduling your next line modernization, choosing the correct Mitsubishi components is essential for plant uptime.
Palm Parts Solution stocks a comprehensive selection of original Mitsubishi MELSEC iQ-R hardware, including new, refurbished, and certified surplus units. All parts are backed by our comprehensive warranty and verified by system engineers to ensure seamless operation. Contact our technical team today to source your replacement R04CPU, R08CPU, or R16CPU components.
