Different behavior in PLCnext 2020.3

1. When you double click on Function Blocks, they don’t open the code in a new window. It’s changed compared with all other versions. It’s working in debug windows but not in the code windows. 2. In the change note it say’s : – Choosing a global variable in an IEC 61131-3 POU editor– Choosing a global variable in an IEC 61131-3 POU editorresults now in the automatic declaration of the externalvariable. But it’s not working in NOLD, only in LD and ST! , Both faults are pretty annoying, and i’m hoping for a hotfix verry soon. :slight_smile: Emil

Hello Emil,

1. )
we are aware of this Problem and hope to solve it in one of the upcoming releases.( properbly with the 2020.6 release)

2.) I forwarded this issue thank you for mentioning this! I hope we will be able to solve it ASAP kind regards,
Oliver

3. Comments on Global variabels are not changed when they are changed local in a variable list, even that i’s possible to enter/change a text It the text is changed in Global/PLC list, the text isn’t changed in the local afterwards. -

First if the project are closed and opened again the new text are loaded… 3.1 First changed on program variable sheet: local 3.2 Check on Global/PLC variable sheet: global 3.3 Global text changed on Global/PLC variable sheet: global2 3.4 Check for changed on program variable sheet: local2

Hello Emil, this is the intended behavior.

When creating a Local Variable the Text of the External Variable is copied once.
If you modify the local Variable this has no repercussions on the External.
Also if you Modify the External it will not overwrite the local Variable.

This way you can add different comments in each POU to the same Global.

How would you prefer this feature to function?
Maybe sync the External and pou-local variables as long as the Local itself was not edited manually? kind regards,
Oliver

Hello Emil, About the NOLD Error.

It works for NOLD as well.
The problem seems to be just Contact and Coils.
We are working on fixing this in the next version

Thanks for reporting this. kind regards,
Oliver

Hi

How would you prefer this feature to function?
Maybe sync the External and pou-local variables as long as the Local itself was not edited manually?

i would like the global comment to be sync as long as it’s not edited localy. But at the moment, the comment from the global variables are not changed in the local variable list before the project are reloaded. - Emil

Hello Emil,

I can not repoduce the behavior you mentioned.

What I tried.
1. Create Global variable with comment.
2. Create Program and add external var.

→ Variable instantly gets created with the comment I created in the PLC.Variables list.

I dont see where the project needs to be reloaded.

I am currently using PLCnext Engineer 2020.3

Am I doing something wrong or is the behavior you mentioned fixed in PLCnext 2020.3.

Edit:
I was able to reproduce this behavior now.
Seems like it only happens to instantiated POUs.

kind regards,
Oliver