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

**URL:** <https://community.br-automation.com/t/how-to-get-plc-to-go-from-boot-mode-to-run-mode/5866>\
**Category:** Controls & Vision\
**Tags:** x20, plc\
**Created:** [February 14, 2025, 2:01am UTC](https://community.br-automation.com/t/how-to-get-plc-to-go-from-boot-mode-to-run-mode/5866 "2025-02-14T02:01:42Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![yjo](https://avatars.discourse-cdn.com/v4/letter/y/FF8800/32.png) [@yjo](https://community.br-automation.com/u/yjo)\
**Post date:** [February 14, 2025, 2:01am UTC](https://community.br-automation.com/t/how-to-get-plc-to-go-from-boot-mode-to-run-mode/5866/1 "2025-02-14T02:01:42Z")

</div>

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.

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/d/d783369feb0bd37c4cb64be71d5ad2beae001ae8.jpeg)

I have looked at this other community post below.

> [@Service Mode - What is it and how to collect diagnostics](https://community.br-automation.com/t/service-mode-what-is-it-and-how-to-collect-diagnostics/1613):
>
> What is Service Mode? Service mode means that no task classes are running on the PLC. The application program is not running; the PLC is halted. There are three reasons why a PLC goes into service mode: The Reset button is pressed on the PLC The “Stop Target” command is sent from Automation Studio A critical error occurred at runtime Points 1 & 2 are intentional actions by the user, so the reason for service mode is known. If a critical error occurs on the PLC which sends it into service mode…

#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).”

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/7/711b6d227e160c3d804ee26f754255181fab7d14.png)

I have also tried creating partitions using the threads below but was also unsuccessful.

> **[Reddit - The heart of the internet](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.)

> <https://superuser.com/questions/972646/unable-to-format-raw-sd-card>

(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?

---

<div class="post-metadata">

**Author:** ![alexander.hefner](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/alexander.hefner/32/111_2.png) [@alexander.hefner](https://community.br-automation.com/u/alexander.hefner)\
**Post date:** [February 14, 2025, 5:59am UTC](https://community.br-automation.com/t/how-to-get-plc-to-go-from-boot-mode-to-run-mode/5866/2 "2025-02-14T05:59:46Z")

</div>

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?

> [@CFast Card not recognised](https://community.br-automation.com/t/cfast-card-not-recognised/4788/2):
>
> Hi, is the card recognized by windows explorer (outside of RUC)? If no, I would recommend to check if the windows disk management shows a uninitialized disk if the card is plugged into the cardreader, and if yes trying to initialize this disk, adding a partition and format the partition. Disk management can be opened for example by: Step 1. Press Windows + R at the same time to open Run dialogue. Step 2. Input diskmgmt.msc and hit Enter to open Disk Management. Please be careful using disk…

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

---

<div class="post-metadata">

**Author:** ![yjo](https://avatars.discourse-cdn.com/v4/letter/y/FF8800/32.png) [@yjo](https://community.br-automation.com/u/yjo)\
**Post date:** [February 14, 2025, 8:28am UTC](https://community.br-automation.com/t/how-to-get-plc-to-go-from-boot-mode-to-run-mode/5866/3 "2025-02-14T08:28:15Z")

</div>

Hi,

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

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/c/c5390640b236395d78ee5b27198f9cf83810ba57.png)

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

---

<div class="post-metadata">

**Author:** ![alexander.hefner](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/alexander.hefner/32/111_2.png) [@alexander.hefner](https://community.br-automation.com/u/alexander.hefner)\
**Post date:** [February 14, 2025, 9:18am UTC](https://community.br-automation.com/t/how-to-get-plc-to-go-from-boot-mode-to-run-mode/5866/4 "2025-02-14T09:18:40Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![yjo](https://avatars.discourse-cdn.com/v4/letter/y/FF8800/32.png) [@yjo](https://community.br-automation.com/u/yjo)\
**Post date:** [February 19, 2025, 3:55pm UTC](https://community.br-automation.com/t/how-to-get-plc-to-go-from-boot-mode-to-run-mode/5866/5 "2025-02-19T15:55:24Z")

</div>

Hi,

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

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/8/8874175b0793aa3b02a033a825c3c9272ec16b2f.png)

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

> **[\[9 Free\]Best Disk/USB Format Tool for Hard Drive USB - Tested](https://www.icare-recovery.com/howto/best-free-disk-formatting-software.html#jump10)**
>
> Here are tested best free disk or usb format tools download for formatting hard drive or usb flash drive, hard disk format software, sd card format tool can reformat hard disk and also wipe usb pendrive or memory card smoothly for free.

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

Thanks

---

<div class="post-metadata">

**Author:** ![austin.carpenter](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/austin.carpenter/32/1196_2.png) [@austin.carpenter](https://community.br-automation.com/u/austin.carpenter)\
**Post date:** [February 19, 2025, 6:53pm UTC](https://community.br-automation.com/t/how-to-get-plc-to-go-from-boot-mode-to-run-mode/5866/6 "2025-02-19T18:53:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![yjo](https://avatars.discourse-cdn.com/v4/letter/y/FF8800/32.png) [@yjo](https://community.br-automation.com/u/yjo)\
**Post date:** [February 20, 2025, 3:18am UTC](https://community.br-automation.com/t/how-to-get-plc-to-go-from-boot-mode-to-run-mode/5866/7 "2025-02-20T03:18:56Z")

</div>

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.

> **[\[4 Free\]Convert/Format RAW to FAT32 for RAW SD USB Flash External Drive](https://www.icare-recovery.com/howto/convert-raw-to-fat32.html)**
>
> Format raw sd fat32 or format raw usb fat32, or Change usb external RAW to FAT32 without losing data for raw SD memory card USB and other digital devices if you do not want to erase data when formatting raw drive to fat32 file system since this page...

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

> **[\[9 Free\]Best Disk/USB Format Tool for Hard Drive USB - Tested](https://www.icare-recovery.com/howto/best-free-disk-formatting-software.html#jump10)**
>
> Here are tested best free disk or usb format tools download for formatting hard drive or usb flash drive, hard disk format software, sd card format tool can reformat hard disk and also wipe usb pendrive or memory card smoothly for free.

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

---

<div class="post-metadata">

**Author:** ![austin.carpenter](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/austin.carpenter/32/1196_2.png) [@austin.carpenter](https://community.br-automation.com/u/austin.carpenter)\
**Post date:** [February 20, 2025, 2:24pm UTC](https://community.br-automation.com/t/how-to-get-plc-to-go-from-boot-mode-to-run-mode/5866/8 "2025-02-20T14:24:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![yjo](https://avatars.discourse-cdn.com/v4/letter/y/FF8800/32.png) [@yjo](https://community.br-automation.com/u/yjo)\
**Post date:** [February 21, 2025, 11:31am UTC](https://community.br-automation.com/t/how-to-get-plc-to-go-from-boot-mode-to-run-mode/5866/9 "2025-02-21T11:31:29Z")

</div>

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!
