Troubleshooting
Why Unity Pro reports Transfer Project from PLC failed
Short answer
Transfer Project from PLC failed at FB Instances 15% means Unity Pro cannot rebuild the running application, not that the trial license blocks uploads. Put the M340 in STOP, select the hardware catalog entry that matches the processor's actual firmware, and install the EDS or DTM file for every CANopen and network device the project references.
On this page
- Why does the upload die at FB Instances 15%?
- What do the status boxes at the bottom of Unity Pro mean?
- Does the CPU being in Run mode stop the upload?
- Why does the hardware catalog warning matter?
- Which processor part number does my catalog need?
- Why does the CANopen catalog report a missing Lexium 32A reference?
- Does the 21-day trial block uploads?
- What do I check when the upload still fails?
- Questions asked
The upload from a Modicon M340 stops at FB Instances 15% with Transfer Project from PLC failed because Unity Pro cannot rebuild the application from the controller's memory: the CPU is still in Run, the hardware catalog entry does not match the processor's actual firmware, or the EDS/DTM catalog is missing a field device the program references. The trial license is not the cause. Work through the four checks below in order; the first one alone fixes most cases.
Why does the upload die at FB Instances 15%? #
The failure at the FB Instances stage means Unity Pro received the data but cannot deserialize the function block instances into a project, and the three documented causes are CPU state, a catalog and firmware mismatch, or a missing device reference. Acknowledging the catalog warning and continuing without fixing the mismatch is what produces the failure at 15%. Treat the warning as the first symptom, not a formality.
What do the status boxes at the bottom of Unity Pro mean? #
Those five indicators read: HMI R/W Mode (an HMI has read/write access to controller variables), Different (the project in the PLC does not match the one open locally), Run (the CPU is executing logic), Upload Info OK (the upload information block is present in the controller), and USB:SYS (the USB link is up). Four green boxes and one red one are exactly what a healthy, connected, running controller looks like before an upload. The one that matters for your failure is Run: upload with it showing Stop instead.
Does the CPU being in Run mode stop the upload? #
Yes, and this is the first fix to try: stop the processor before uploading, because the rebuild needs the application memory exclusively and the running tasks block a complete transfer. The sequence is to connect, issue the PLC stop command, wait until the status box changes from Run to Stop, then start the upload again. One safety note: stopping an M340 halts every function the logic performs, so confirm the machine or process is in a safe state and follow your site's lockout procedure before you issue the stop.
If the upload now completes, you are done. If it still fails at the same stage, move to the catalog checks.
Why does the hardware catalog warning matter? #
The warning that the catalog used to produce the application differs from the installed one is the second root cause, and it becomes fatal when the processor has been flashed to a different part number than your catalog entry. The M340 family has paired revisions: a BMXP342010 that was re-flashed becomes a BMXP3420102, and a BMXP342030 becomes a BMXP3420302; the same pairing exists for the BMXP342020. A CPU wearing the older label can report itself as the newer part number after a firmware update, and if Unity Pro only has one of the two profiles installed, the rebuild fails.
When you create or open the project, enable Show All Versions in the hardware catalog filter and select the entry whose firmware version matches what the physical CPU reports. If both the old and new entries are installed, Unity Pro will ask you to choose during the upload: pick the one matching the CPU's actual firmware.
Which processor part number does my catalog need? #
Read the firmware version from the connected CPU first, then choose the catalog entry by that version, not by the label on the module. A worked example: the label says BMXP342010, the CPU reports it runs software version SV03.70 (the current firmware for the BMXP3420102 part), and Show All Versions is off, so only the BMXP342010 profile is visible. Turn Show All Versions on, select the BMXP3420102 entry, and rerun the upload. The catalog profile and the CPU firmware must agree exactly; a mismatch on either side fails the rebuild at the same 15% point.
If your Unity Pro installation has neither entry, install the matching hardware catalog update for your Unity Pro version before retrying. A project saved by a newer Unity Pro or EcoStruxure Control Expert release cannot be opened by an older one, so if the program was written in a newer version, update your development environment rather than hunting for catalog entries.
Why does the CANopen catalog report a missing Lexium 32A reference? #
When the failure message names a missing object, for example a required application object reference such as the Lexium 32A default device entry reported as MISSING, the DTM or EDS catalog is missing the device file for a slave on CANopen, Modbus TCP or PROFIBUS DP. Every drive, I/O island or starter the program references needs its Electronic Data Sheet installed in Unity Pro's device catalog before the rebuild can resolve the reference. Install the missing EDS or DTM, restart Unity Pro, and rerun the upload. If the message names a device you did not know was on the network, the error has just told you what the rack contains.
Does the 21-day trial block uploads? #
No: upload and download work normally inside the trial window, and the trial disclaimer does not disable them. What the trial cannot do is outlive its window, and setting the PC clock back to stay inside it is not a fix; the legitimate path is a licensed Unity Pro or a current EcoStruxure Control Expert installation. If your trial has expired, that, not the CPU, is why nothing connects.
What do I check when the upload still fails? #
Run this checklist in order and stop at the first step that changes the result:
- CPU state: status box shows Stop, not Run, before the upload starts.
- Catalog match: Show All Versions enabled, entry selected by the CPU's reported firmware, old and new part numbers both considered.
- Development version: your Unity Pro release is the same version or newer than the one that saved the application.
- Device catalog: an EDS or DTM installed for every CANopen, Modbus TCP and PROFIBUS DP device the program references.
- Controller memory: if Unity Pro reports the PLC has no room for the project, the application is too large for the CPU and unused variables and function block instances must be removed by whoever holds the source.
If every check passes and the rebuild still fails, remember what an upload can and cannot recover: an upload is not a full source recovery, and a program downloaded without complete upload information or written in a newer format may never rebuild cleanly. That is the point to weigh continuing with the M340 against rewriting; the decision path for that choice is covered in the article on starting to rework M340 logic as an AB programmer, and the limits of what an upload returns are covered in why uploading a PLC program is not full source recovery. When the recovered logic is incomplete, rebuilding the program from the recovered I/O and network configuration is the reliable route.
Questions asked
Does the trial version of Unity Pro disable uploading from the PLC?
No. The 21-day trial performs the same connect, upload and download operations as a licensed installation within its active window. If your trial window has expired, the fix is a current license or a current EcoStruxure Control Expert installation from the vendor, not a clock change.
How do I find the firmware version on a Modicon M340 processor?
Connect Unity Pro to the controller, open the Project Browser, right-click the CPU and read the firmware entry in its properties. Compare that software version against the catalog entry you picked; the entry and the CPU must carry the same version for the rebuild to succeed.
Can I upload the program while the M340 is in Run mode?
Uploads from a running processor are the most common cause of a failure partway through the rebuild. The documented, reliable procedure is to stop the CPU first, confirm the status box shows Stop, then run the upload. Treat the STOP as a production stoppage and verify the process is safe first.
What if the upload finishes but the logic is still incomplete?
An upload recovers what the controller holds, not the original source project: comments, some structure and symbolic information may be absent. For why that happens and what it means for documentation, the distinction between an upload and a real source recovery matters before you evaluate the recovered logic.