Getting a system dump from a PLC without a PC

Copied from this article by moderator

https://community.br-automation.com/t/how-to-collect-a-system-dump-from-a-b-r-controller/10497/3

Very good information - Thank you.

Is there a way to get a system dump from a plc without a pc connected to it? For instance a plc with a Power Panel connected to it?

Hi,

theoratically, it could be done by using AsHttp and executing the webservice requests needed, but I think this could be a bit complicated especially when it comes to the download of the dump.

But you could execute the AsArSdm library locally on the PLC to create the system dump, and download the file after creation via FileIO FTP to you PLC (the PLC has to be in RUN mode to execute your function block call, and FTP server has to be enabled).

Best regards!

Maybe try to explain more details about your use case; I’m not sure what exactly you would like to achieve. Are you looking for a solution for your application? When and why you would need it? I can imagine different scenarios.

Hi,

in case your plan is to create systemdumps from your application as Alex mentioned:

I created a library around AsArSdm and ArEventLog.

This library allows you to create system dumps (‘MD_Dump’), and it also takes into account the storage limit for the files created on the disk (‘MD_LimitFileNumber’).

My application is an X20 PLC with a T50 panel as the HMI. To troubleshoot the machine, the customer can use the SDM we have built into the HMI application (VC4), but has no way of sending us a log file or system dump file.

An issue occurred just a couple of days ago, where the customer was experiencing drive faults. We walked him through the SDM in order to get more information. There’s, of course, the system dump button to generate the log files. But when you press that button, where is the file saved?

We, as the OEM, would like to do a little better and provide a means of exporting more diagnostic data from the PLC, for cases like this. Our customers don’t usually have a laptop to plug in to do troubleshooting. They would have a USB drive though, so I’d probably look into a way to copy diagnostics to that.

Thanks for your input!

yes, this is a very common situation we face on customers’ machines e.g. sporadic issues and difficult to catch.
And this is exactly why the using of the logger can become so crucial here.

You can store also ‘inner states’ of your machine e.g. steps of state machines, user input into the logger and in case of an ‘event’ get a snapshot of all by a systemdump.

There is just one problem to solve: how to get the dumps from the machine. Either use USB or network (FTP) to get the files.