Lolopas

GX Works3 Projectlib Locked

12 posts in this topic

Hello,

I have a problem that I need to solve in a PLC program has it's projectlib locked. 
I work for a company that contracted a PLC programmer before my time to program their new version of their control cabinets.
The company did not write any specific contract with the contractor and just relied on his work. The guy later delevered a buggy software that is kind of functional (the bugs came up at the commissioning after the guy was paid and now he refuses to help or to provide more consultations).
I have as a task to freshen this up and make it work without bugs, the problem is that the Projectlib is locked and I cannot access the source code. 
The only thing that I can changes that I can make to the code is to put some logical circuits between the I/O of the already existing function blocks, which solved some problems, but not all and it keeps one of the most important ones as well.

Anyways, that's my story, so now my question is, is there and possible way of unlocking the projectlib?
Any feedback would be highly appreciated.

Thanks in advace!

Share this post


Link to post
Share on other sites

What do you mean by "locked" (is it like password protected)?

If it is password protected we cannot help you, discussing hacking/cracking passwords on the forum is also against the terms you agreed on when you registered.

If it is "locked" (like won't open normally) then we might be able to help you.

Share this post


Link to post
Share on other sites

Hi,

I do not know if it is password protected.
I have attached some pictures. 
What I want to do is to connect the D108 signal to the alarm function in a way so that it will generate an alarm after every 3 faild attempts (alarm signals). 
What I tried doing was to connect a counter before the OR circuit and then just let the alarm signal enter the OR after 3 signals. 
I am kinda new in plcs, have mostly coded on C and that is why I wanted to use the library so that I could write something in ST instead. 

Any help is welcomed and if is possible to acces the source code, that would be great :)

Thanks in advance

value field.PNG

value field 2.PNG

value field 3.PNG

value field 4.PNG

global vars.PNG

Skärmklipp.PNG

alarm module.PNG

Share this post


Link to post
Share on other sites

I'm sorry but you're not making any sense.  You said something is locked, but then you post screen shots of code and HMI settings.  What is locked?  What can you not get to?

And you can write in both ladder and ST in the same program, there are no restrictions on that.

D108 is a numeric register.  What do you mean by bad attempts?

Share this post


Link to post
Share on other sites

Sorry, I will try to make myself more clear.

I would like to access the ST code of the modules located in the projectlib to change some stuff and see what the signals I want to use depend on and the rest of the places that they are used.

That I cannot do.

What I am trying to do though is to use some kind of delay logic such as a counter in order change the behaviour of the alarm handling. 

I want the alarm output (the output of the OR circuit) to be generated after I have received 3 alarm signals internally (that for every input signal to the OR circuit). I also want this value to be changeable from my HMI.

In the picture with the OR circuits the inputs are each unit's alarm signal, that is where I am trying to implement this delay/counting logic.

That's basically all I want to do at the current time. 

I hope that you will understand me better now.

Share this post


Link to post
Share on other sites

You can write an OR feeding into a counter, and when the counter reaches the preset value of your choice (3 or a data register value), the counter complete output will turn on.

You can't look inside the factory built-in functions and function blocks, no PLC vendor allows that.  The manual explains clearly what all of the inputs and output do, as well as the operation performed by the function.  But if you make your own functions, you can decide if they are locked or not.

Share this post


Link to post
Share on other sites

It's a bit hard to see from the pictures regarding "Infrafone_IatekProjectLib" (the picture from GW3) but it looks to be password protected. If you try double-clicking on a POU in the library and get the following message then it is password protected and you are currently in "read-only" mode. Then you will need the original password to be able to open the POU's inside the libraries to edit.

If you want to alter the behavior of your code, but cannot access the libraries then you need to do it outside the library (e.g. use temp variables from the library and then use the temp to do some other code you want to).

passwordProtected.png

Share this post


Link to post
Share on other sites
On 11/18/2016 at 0:57 AM, kaare_t said:

It's a bit hard to see from the pictures regarding "Infrafone_IatekProjectLib" (the picture from GW3) but it looks to be password protected. If you try double-clicking on a POU in the library and get the following message then it is password protected and you are currently in "read-only" mode. Then you will need the original password to be able to open the POU's inside the libraries to edit.

If you want to alter the behavior of your code, but cannot access the libraries then you need to do it outside the library (e.g. use temp variables from the library and then use the temp to do some other code you want to).

passwordProtected.png

Hi,

I am getting the above error. I am not able to open my GX works 3 file its read protected I know the pass word but I am not getting option to authonticate.Attached screen shots for your reference please help me to open.When I click for file password communication error is popping up . The project is copied from old to PC to Hard disk and hard disk back to my new PC is it something related to that.

error popup1.PNG

File passworderror.PNG

No option for authonticate.PNG

Security management.PNG

Share this post


Link to post
Share on other sites

I have same problem, i upload program from PLC FX5U without problem but i can't read or showing the Main program with message pop "Unable to display the specified data because it is read-protected".

anyone's can helpe me please? 🥺

Edited by FX-Zohir

Share this post


Link to post
Share on other sites

You will need to get the code from the author.  Breaking protection is against the rules here.  And illegal in many (most?) places around the world.

Share this post


Link to post
Share on other sites

thank you but if i have password, how and where i can do it please ?

I have same problem, i upload program from PLC FX5U without problem but i can't read or showing the Main program with message pop "Unable to display the specified data because it is read-protected".

everyone can helpe me please? 🥺

Share this post


Link to post
Share on other sites

Hi FX-Zohir,

you should have a look at the GX-Works 3 manual, see chapter 15.1 and 15.2 (PROTECTING DATA)

https://www.omniray.ch/data/Downloads/20_Automation/210_Steuerungen_SPS/02_Kompaktsteuerungen%20iQ-F-Serie%20(FX5)/02_Handb%C3%BCcher/01_Englisch/20_Software/GX-Works3_OperatingManual_SH-081215-P.pdf

if the library is protected by a password, then you have to authenticate the POU you want te edit (see page 458):

Operating procedure
1. Select the POU to authenticate the block password, and click the [Authentication] button.
2. Enter the password on the "Password Authentication" screen, and click the [OK] button

 

if your project is secured by a key, you need to import the key-file inside the security-key-management window.(see chapter 15.2)

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now