How to Open files .PRG and .CHK

ghulamshoaib

Level-2
Beiträge
9
Reaktionspunkte
0
Zuviel Werbung?
-> Hier kostenlos registrieren
Hello Everyone,
I am very much new in WAGO PLC Family and i am not very much familiar with the platform of WAGO
One of my colleagues has shared PLC program but when I am browsing in CODSYS software then it is not showing any file to open
I have checked the folder completely and found 2 files with DEFAULT.PRG and DEFAULT.CHK
can anyone tell me which software to be used to open these files. I want to check PLC Program

waiting for reply
Thanks
 
There are different development system for WAGO which are incompatible to each other.
A WAGO could be programmed with Codesys 2.3 which for WAGO is called I/O-Pro, the Codesys 3.5 based e!COCKPIT and Codesys 3.5
So it depends which system you have installed and if the project is for this system. For Codesys 3.5 you need a certain version and must install additional files.
 
Zuviel Werbung?
-> Hier kostenlos registrieren
If this two files is everything you have, then I'm afraid, you have nothing. These files are default files of a new project and will probably contain nothing usefull.
The extension of the project file for Codesys 3.5 is project, for e!COCKPIT it is ecp and for I/O-Pro it is pro.
 
Zuletzt bearbeitet:
Can you please tell me how to upload the backup from a running PLC as we have another machine in which the same PLC is running
So I want to upload program from that PLC and download it to my new PLC
 
Can you please tell me how to upload the backup from a running PLC as we have another machine in which the same PLC is running
So I want to upload program from that PLC and download it to my new PLC
I'm afraid, but no. I'm working with Beckhoff TwinCAT. TwinCAT is also based on Codesys, but works with Windows. Hpefully someone else is reading this and could answer your question.
But if you expect to get the project with this backup, I must diaappoint you, that is not possible. It is possible to store the source code on the PLC, but this be activated in the development system. This sourcecode could only be downloaded with the development system.
 
Zuviel Werbung?
-> Hier kostenlos registrieren
Hi,

regarding your 1st question: The .PRG file is the binary file uploaded to the PLC, the so called bootproject. The .CHK file is a checksum file for the project.

If your colleague shared the complete project with you, you will find a .PRO file. This is your Project file with the coding. With which version it's programmed, your need to try. I would start with the latest CoDeSys 3.5 because it's free and might be able to open/import also older projects (not yet tried, only a guess).

There is a tool called "WAGOupload". With this one you can create backups from existing PLCs and deploy them back to other PLCs. Basically it's using FTP to access the PLC, which you can use as basic access way yourself also if it's enabled in the webbased management.
 
Zuletzt bearbeitet:
I'm afraid, but no. I'm working with Beckhoff TwinCAT. TwinCAT is also based on Codesys, but works with Windows. Hpefully someone else is reading this and could answer your question.
But if you expect to get the project with this backup, I must diaappoint you, that is not possible. It is possible to store the source code on the PLC, but this be activated in the development system. This sourcecode could only be downloaded with the development system.
Regarding my answer with WAGObackup/FTP: Those are only the binary files which you backup. Not possible to de-compile or change it. It's in this case just a "copy" of a PLC if you create a backup and deploy it to other PLCs.
 
If your colleague shared the complete project with you, you will find a .PRO file. This is your Project file with the coding. With which version it's programmed, your need to try. I would start with the latest CoDeSys 3.5 because it's free and might be able to open/import also older projects (not yet tried, only a guess).
I might be wrong, because I don't work with WAGO, but I had a demo version on my VM and there, the file extension for the project file created with Codesys 3.5 was project and not pro.
 
Zuviel Werbung?
-> Hier kostenlos registrieren
I might be wrong, because I don't work with WAGO, but I had a demo version on my VM and there, the file extension for the project file created with Codesys 3.5 was project and not pro.
In this case this might be an indication for the thread starter which version is used...
.pro is at least Codesys 2.3
.project as you say is Codesys 3.5
e!Cockpit I don't know either, might be also .project. I think it's based on Codesys 3.

In worst case contact the WAGO support. Maybe they can help you.
 
Hello JSEngineering,
I don't have a project file of the PLC. So is it possible to download the PRG and CHK files to new PLC? will it work normal?
if yes, How can I download PRG and CHK files to new PLC?
I don't have original backup or project file of the PLC program
 
Zuviel Werbung?
-> Hier kostenlos registrieren
Yes, you can "clone" a PLC. But the controler, the cards, the I/O connections must be all identical. Then it should work.

But if it's a colleague who worked in your company, on which device did he work? Did he use his own device? Otherwise you should be able to find something on his PC and also the development environment. Or did he delete everything? That would be criminal...

Can you make a screenshot of the files you have available?
 
we have the same controller 750-8204, but I think only difference is the firmware. our new CPU750-8204 has newer firmware
which software/tool should I use to download PRG and CHK files?
 

Anhänge

  • 1-Capture.PNG
    1-Capture.PNG
    19,5 KB · Aufrufe: 8
  • 2-Capture.PNG
    2-Capture.PNG
    26,4 KB · Aufrufe: 8
  • 3-Capture.PNG
    3-Capture.PNG
    16,4 KB · Aufrufe: 8
will it work if the firmware of the old 750-8204 is different than the firmware of new 750-8204 in which we will download the program from old PLC
 
Zurück
Oben