Beckhoff Recovery

My coworker has a machine using Beckhoff for controls. For some reason, the PC controller died and the machine became inoperable.

The unit was swapped with a spare and apparently the machine program was stored on the SD card in the old unit. Luckily we still had it and the SD card was placed into the spare unit. The machine builder had to remote log in to load the program from the SD card to the spare unit. This was what I was told.

Isn't there a way for the unit to restore itself from the SD card? I think Omron PLCs can do this with setting DIP switches.

Can someone help with this in case it happens again in the future?

Thanks.
 
The SD card in a Beckhoff PLC is more akin to a hard drive than a mere storage unit.
(It might be a CFAST card, not an SD card, but for the purposes of this post, the difference doesn't matter)
(Some Beckhoff processors use M2 cards, another difference that doesn't matter right now, does the exact same job)

The operating system (Typically Win7 or Win10IOT) is a mirrored clone of all the others they ship.

So, like any hard disk, if you move it from one machine to another, any hardware differences will be noticed by Windows and may result in no observable effect all the way to total catastrophe.

99% Windows would be fine. But then you run into potential licensing issues, the on board license might stop working, but to my memory they are keyed to the CPU, so chances are they would need re-issuing from Beckhoff, in your stated case.

Like any other (unencrypted) drive, one could place the SD into another completely working system and extract the client project in isolation if one knows where it is stored. (From memory, C:\Twincat3\Boot\*)

To protect a Beckhoff system, in my opinion, having worked on them for 10 years, use the Beckhoff Service Tool to create full system backups - Windows and All. It is a prepackaged bootable USB drive that contains Acronis. They're somewhat overpriced, but, its fine, I guess. You're paying for their time testing that it does actually what a Beckhoff owner would need.

Those backups are good for restoration to the original machine (in the case where some joker alters the program and wrecks it) or to a new storage device when the SD card reaches End of Life.

So in your case, I am thinking the machine builder had to rebuild the licenses and probably nothing else. If you have the original license certificates from Beckhoff you could rebuild the licenses yourself the same way the machine builder does, it's not secret knowledge or selectively accessible. In fact it's a semi-automatic online system, you send an email with the License Request files and the cloud emails you back 5 minutes later with the License Response file and you copy them onto the PLC using the development tool. (Or manually copy them using Windows)
 
We will be getting another machine from this machine builder from Belgium. It will have another Beckhoff controller. For this new machine, should I be requesting a bootable USB drive with Acronis that you suggested? Can I take this to a spare Beckhoff controller and restore this to make the machine run again?

The last time that this happened, the machine was down for more than 24 hours. The machine builder is overseas in Belgium and the time difference plus the license rebuilding took a lot of time and back and forth.

Thanks.
 
I second the use of the BST (Beckhoff Service Tool). It's pretty straight forward to use, though I haven't had to restore from it yet.

On our newest system, we had an IPC fail that had the licenses on it. The failure was in the power supply section of the IPC, so moving the hard drive (SSD really) to the replacement IPC worked in all respects except for the licenses. Those we had to go back and forth with Beckhoff support to re-host but it ended up being ok. After the 2nd failure (the root cause was external to the IPC and has been resolved), we moved the licenses to a licenses host module in the IO rack.

We also have about 20 others from another single OEM. When a HD fails and we clone it from another "identical" machine, we end up going through the OEM to fix the licensing. They have a utility that pops up on the screen with a secret code that we send them. They send another code right back and it's activated. We just bought the BST, so we need to set up a schedule for backing up the other 20 as well...
 
We will be getting another machine from this machine builder from Belgium. It will have another Beckhoff controller. For this new machine, should I be requesting a bootable USB drive with Acronis that you suggested? Can I take this to a spare Beckhoff controller and restore this to make the machine run again?

The last time that this happened, the machine was down for more than 24 hours. The machine builder is overseas in Belgium and the time difference plus the license rebuilding took a lot of time and back and forth.

Thanks.
You only need, and ought to have, just one BST. Think of it as a bootable thumb drive, for that is exactly what it is. It works on "all" Beckhoff processors. (Historically, there has been some periods of time where it hasn't worked well on certain models but it's usually transient and Beckhoff were very responsive to understanding the problem and getting it resolved)

So you can take your BST to any Beckhoff PLC and boot up with it. (Maybe on some you have to change a BIOS setting to get it to boot from external USB first - again, some processor images from Beckhoff forgot to include this but it's trivial)

So a thing to know is that the BST has a size, like 8gb, 16gb or 128gb and they get stupid expensive as the size goes up. But you don't need all that size. Maybe you have a 5130cx processor and it has a 4gb CFAST card, or maybe you have something with a 64gb M2 drive.
The intended use case of the BST is to back up your PLC C: drive to the BST. (When you boot from the BST, the C drive is the BST and the PLC C drive is called Y:)

But the way I, in the end, used my BSTs (and I have literally owned/used more than 50 of them we usually bought one for each project) was to plug in the BST to boot from it, and also put in a *huge* thumb drive. It was getting silly money to buy a BST large enough to hold Windows10IOT images. Additionally the BST could only hold 1 PLC at a time, it would have to be put into a windows machine to copy it elsewhere (which you should be doing anyway! It's a backup! Back it up!)

So I would use the BST to backup the PLC to an external thumbdrive, using the BST. You can absolutely use a BST on any/multiple Beckhoff processors that you have in your factory. You can absolutely use one BST to make a backup and a different BST to restore that backup.

I am pretty sure that Beckhoff licenses are keyed to the CPU. If you make a back up of machine A, Machine A "SD" card dies, you put a new SD card in, boot from the BST, restore the image to the new card in the same machine, you would be back up and running in a couple of hours, with no license issues.

If you have to replace the whole base unit, this means a new processor and the licenses will need renewing because the key-tie to the CPU will mismatch. But! You don't have to be DOWN! Beckhoff will grant an eternal rolling 7 day license, you just need to type in a Captcha code every 7 days. Of course this could be abused eternally, but Beckhoff licenses are so cheap why would anybody even bother?

So in the scenario of a new base unit, restore the backup, try to run it (you might need to plug in a monitor, or remote desktop in), a popup will ask you for the license captcha, fill it in, and it works perfectly for 7 days. This gets you back up and running immediately while you wait for a convenient moment to properly license your machine.
 
we moved the licenses to a licenses host module in the IO rack.
I never used those, but I am pleased to hear they work well. I did once use the license dongle, but for the purpose of licensing my own tools for development (Static analysis, Scope Licensing etc)

Some day I will drag my current employer kicking and screaming out of the misery that is Eternal Siemens and Neverending Rockwell into the beautiful Blue Skies Beckhoff.
 
I second the use of the BST (Beckhoff Service Tool). It's pretty straight forward to use, though I haven't had to restore from it yet.

On our newest system, we had an IPC fail that had the licenses on it. The failure was in the power supply section of the IPC, so moving the hard drive (SSD really) to the replacement IPC worked in all respects except for the licenses. Those we had to go back and forth with Beckhoff support to re-host but it ended up being ok. After the 2nd failure (the root cause was external to the IPC and has been resolved), we moved the licenses to a licenses host module in the IO rack.

We also have about 20 others from another single OEM. When a HD fails and we clone it from another "identical" machine, we end up going through the OEM to fix the licensing. They have a utility that pops up on the screen with a secret code that we send them. They send another code right back and it's activated. We just bought the BST, so we need to set up a schedule for backing up the other 20 as well...
Is the BST something that you have to buy from Beckhoff?
What is a host module in the IO rack that holds the licenses? Something else that you have to buy from Beckhoff?
 
You only need, and ought to have, just one BST. Think of it as a bootable thumb drive, for that is exactly what it is. It works on "all" Beckhoff processors. (Historically, there has been some periods of time where it hasn't worked well on certain models but it's usually transient and Beckhoff were very responsive to understanding the problem and getting it resolved)

So you can take your BST to any Beckhoff PLC and boot up with it. (Maybe on some you have to change a BIOS setting to get it to boot from external USB first - again, some processor images from Beckhoff forgot to include this but it's trivial)

So a thing to know is that the BST has a size, like 8gb, 16gb or 128gb and they get stupid expensive as the size goes up. But you don't need all that size. Maybe you have a 5130cx processor and it has a 4gb CFAST card, or maybe you have something with a 64gb M2 drive.
The intended use case of the BST is to back up your PLC C: drive to the BST. (When you boot from the BST, the C drive is the BST and the PLC C drive is called Y:)

But the way I, in the end, used my BSTs (and I have literally owned/used more than 50 of them we usually bought one for each project) was to plug in the BST to boot from it, and also put in a *huge* thumb drive. It was getting silly money to buy a BST large enough to hold Windows10IOT images. Additionally the BST could only hold 1 PLC at a time, it would have to be put into a windows machine to copy it elsewhere (which you should be doing anyway! It's a backup! Back it up!)

So I would use the BST to backup the PLC to an external thumbdrive, using the BST. You can absolutely use a BST on any/multiple Beckhoff processors that you have in your factory. You can absolutely use one BST to make a backup and a different BST to restore that backup.

I am pretty sure that Beckhoff licenses are keyed to the CPU. If you make a back up of machine A, Machine A "SD" card dies, you put a new SD card in, boot from the BST, restore the image to the new card in the same machine, you would be back up and running in a couple of hours, with no license issues.

If you have to replace the whole base unit, this means a new processor and the licenses will need renewing because the key-tie to the CPU will mismatch. But! You don't have to be DOWN! Beckhoff will grant an eternal rolling 7 day license, you just need to type in a Captcha code every 7 days. Of course this could be abused eternally, but Beckhoff licenses are so cheap why would anybody even bother?

So in the scenario of a new base unit, restore the backup, try to run it (you might need to plug in a monitor, or remote desktop in), a popup will ask you for the license captcha, fill it in, and it works perfectly for 7 days. This gets you back up and running immediately while you wait for a convenient moment to properly license your machine.
So, it sounds like the BST is a thumb drive that I have to buy from Beckhoff. Correct?

Once I have it, what do I do with it? How do I backup the Beckhoff IPC at the line with this? Using TwinCAT?

The last time we had a failure, it was the IPC itself so it was a licensing issue. For this situation, we can use the BST to restore to a new spare unit, put in the old SD card, but this will still have the license issue. To overcome this, it sounds like we can get the rolling license going until our machine vendor can fix the licensing issue over the next few days? Correct?

Thanks.
 
Is the BST something that you have to buy from Beckhoff?
What is a host module in the IO rack that holds the licenses? Something else that you have to buy from Beckhoff?
From Beckhoff via your favourite middle man.

The host module for the IO rack is one of several options.

One can choose to place your license response files into a dedicated license holding device, rather than the SD card. This might *might* mean the license becomes more robust to hardware changes (equipment failure) as that is the only reason I could imagine wanting such a device, I would be amazed if it offered no other benefits.

From that web page I read this
The TwinCAT 3 license dongle means that the TwinCAT 3 license is independent of the industrial PCs used. This makes it easy to replace the industrial PC or simply use the licenses on different industrial PCs.

So yes, this should give you some form of protection against hardware failure. I will totally look into this if I am ever so blessed as to use a Beckhoff system ever again.
 
So, it sounds like the BST is a thumb drive that I have to buy from Beckhoff. Correct?

Once I have it, what do I do with it? How do I backup the Beckhoff IPC at the line with this? Using TwinCAT?

The last time we had a failure, it was the IPC itself so it was a licensing issue. For this situation, we can use the BST to restore to a new spare unit, put in the old SD card, but this will still have the license issue. To overcome this, it sounds like we can get the rolling license going until our machine vendor can fix the licensing issue over the next few days? Correct?

Thanks.
Yes, again from your favourite middle man vendor.

To use it, you shutdown your system completely and plug the BST into a USB and boot your system, it should automatically boot from the BST instead of internal hard disk. From there, follow the on screen prompts. It's surprisingly simple to use, they've made a good job of hiding the needless complexity.

Yes, from what you described, you could restore your latest back up to new hardware and then use the rolling license to get back up and running. (If the CPU inside the beckhoff plc processor has not changed - in the case of an SD card failure, the licenses will still be valid anyway, no need for the rolling license)
 
The big system we have originally came with 2 IPCs for different areas (we're in the process of consolidating them into one right now). The OEM didn't provide all of the licenses we needed, so we ended up getting a USB dongle when we bought the additional licenses we needed. The second (smaller) IPC didn't have enough USB ports, so we went with the license host module, which is installed first in the IO rack next to the EtherCAT bus module.

Both are hardware devices you purchase from Beckhoff. The license module was less than $100, but your pricing may vary. The dongle was much more, but it came with licenses too so I don't know what its price alone would be.
 

Similar Topics

AX8620-0000-0102 Firmware 01.02 b002 Machine was commissioned years ago and currently uses AX8206 modules. Can AX8620 firmware 01.02 b002...
1
Replies
152
Views
Hello, I have worked with several brands of “PLC” but, never Beckhoff and I am trying basic steps. The page says I need PC with “TwinCAT 2.11...
8
Replies
575
Views
Hello Again! I have a Beckhoff System that indexes a rotary motor between 16 positions. I understand that you can use Modulo movements and I am...
10
Replies
499
Views
Hey all, I'm very new to Beckhoff, I need to get my head around programming Beckhoff PLC's for work, I'm much more familiar with microchip...
13
Replies
853
Views
Hey all, I am a lifelong homebuilder and around 5 years ago I got tired of our framers screwing up every other house they built. So I started...
2
Replies
553
Views
Top