How to get PLC to go from boot mode to run mode?

,

I have connected my PLC to Automation Studios however, it is in BOOT mode. I have tried the following methods to get it to RUN mode but had been unsuccessful.

I have looked at this other community post below.

#1: B&R Service Utility: my plc and my laptop has no RS232 connection.
#2 System Diagnostics Manager: tried going to 10.0.0.220/sdm but no response so I assume that SDM has been disabled on my PLC.
#3 CF / CFast card: I receive an error after trying to back up my files from my Compact Flash. It says “The specified disk or image file contains invalid partitioning data (partition count=0).”

I have also tried creating partitions using the threads below but was also unsuccessful.
https://www.reddit.com/r/PLC/comments/hp78qi/compactlogix_compact_flash_card_trick_i_learned/

(where I had downloaded HDD LLF to reformat and use disk mangement to reformat. However, disk management was unable to reformat.)

(where I tried to create partitions in the disk by using the command diskpart in cmd and the command “clean all” and “create partition primary”. But I was still unable to create partitions and unable to format.)

Any suggestions?

Hi,

if the PLC stays in boot mode after setting the switch to RUN an CF card plugged in is an indicator that CF is not recognized or does not contain the operating system.
Also the message from RUC (partitions = 0) points into that direction.

Can you please check the partition data of the CF using Windows disk management?

Use disk management to create one FAT16 partition on the disk. If that works, Windows should assign a drive letter to the CF after partitioning is done, and the drive should be empty.
After that, keep the CF in your cardreader connected to Windows and perform an offline installation with Automation Studio to prepare the card for use inside the PLC.

If partitioning with disk management or the offline Installation does not work, it’s hard to say what’s the reason, but in most cases it’s a hardware issue with the reader or the CF itself.

Hope that helps, best regards!
Alex

Hi,

Here’s a screenshot of my CF card in disk management:

I have tried every option in the “Format Z” menu and each results in "The format did not complete successfully. "
I will try to get a new CF card and see if that works.

Thanks!
I will purchase a new CF

Hi,

it looks like that the partition is already formatted with raw file system.
So you could try to delete the raw file system partition first with the disk management (right click - delete volume) - if it works, after deleting the volume, the device should be shown as “unallocated”. After that, create a primary partition and format it to FAT16.
Finally, perform a offline Installation with Automation Studio.

Best regards!

1 Like

Hi,

Just received the new CF card and it still isnt working.
Deleting the volume also doesnt work.

Tried using these softwares on this website and it also doesnt work.

Any other suggestions apart from getting a new CF card reader?..

Thanks

Hello Yanjie,

Have you transferred your project to the X20cCP1586, or performed an offline installation to the Compact Flash card from Automation Studio? The CF cards look blank in your Disk Manager, so it doesn’t look like there is a valid project already on those cards.

The PLC will boot into BOOT mode from it’s internal flash if there is no valid project on the storage medium (Compact Flash card). You would need to place a project, even one running no tasks, on the CF card/PLC to boot into RUN mode.

-Austin

Hi,

Yes, I have gotten a card reader and tried to do an Offline Installation on Automation Studios and it gives me the following error “One or more partitions of USB Mass Storage Device - Z:\ do not have assigned drive letters. Aborting installation”

I’ve tried all the methods listed here.

which includes using diskpart on CMD (using the “clean all” function then “create partition primary”) and disk manager (tried to delete volume and format)

I’ve also tried to install softwares to format my CF card

No matter what I do with these softwares, my CF card turning back into a RAW file type.

Hello Yanjie,

I was able to reproduce the AS Offline Install issue by deleting existing partitions and creating an unformatted (RAW) partition on a CF card. You should be able to delete the RAW volume and create a new partition on the CF card, OR format the volume FAT. I was also able to get AS to write over a RAW volume card, although I did receive the same error pop-up (it didn’t seem to stop the partitioning/offline installation).

If you can’t remove the RAW volume or format, contact your IT department about those errors. These operations should be able to be performed on the CF card in Windows 10/11.

If you are still having issues with AS and you are using a B&R CF card, please contact your local support department. Until the CF card has a valid project, the X20CP1585 will continue to boot into BOOT mode. If you can’t partition the CF card for some reason in Windows, I don’t think the AR partitioning setup (ex. during Initial Install transfer through BOOT mode) would work either.

-Austin

Hi,

I must have the worst luck at picking out equipment. I bought a new CF card reader and everything is working smoothly now.

Thanks!

1 Like