Very broadly, the POUs must be exported from PC Worx in PLCOpen format (XML V101), and then imported into PLCnext Engineer. Due to differences between PC Worx and PLCnext Engineer, the PLCnext Engineer project will almost certainly have build errors - e.g. many system functions have changed name and/or functionality. All these build errors must be eliminated by manually replacing each PC Worx -specific feature with the equivalent PLCnext Engineer feature.
If you need any more support on this topic, please let us know.
Thanks for answering, and I followed your instructions and got the desired result. but I have 2 more concerns: 1) What happens with the input and output devices that were in the project. 2) OPC variables, in PLCnext engineer I can configure an external OPC variable (that I can use in all the POUs of the project). I tried to do it but when I select a variable type external it doesn't allow to be marked as OPC.
1) You will have to define the Axioline, Inline and/or Profinet I/O devices manually in the PLCnext Engineer project.
2) Each external variable is a reference to a variable of the same name in the global variable table. You can mark that global variable with the OPC attribute, as shown below.
Comments
Hi Carlos,
Very broadly, the POUs must be exported from PC Worx in PLCOpen format (XML V101), and then imported into PLCnext Engineer. Due to differences between PC Worx and PLCnext Engineer, the PLCnext Engineer project will almost certainly have build errors - e.g. many system functions have changed name and/or functionality. All these build errors must be eliminated by manually replacing each PC Worx -specific feature with the equivalent PLCnext Engineer feature.
If you need any more support on this topic, please let us know.
~ Martin.
Hi Martin,
Thanks for answering, and I followed your instructions and got the desired result.
but I have 2 more concerns:
1) What happens with the input and output devices that were in the project.
2) OPC variables, in PLCnext engineer I can configure an external OPC variable (that I can use in all the POUs of the project).
I tried to do it but when I select a variable type external it doesn't allow to be marked as OPC.
I really appreciate your help.
Hi Carlos,
1) You will have to define the Axioline, Inline and/or Profinet I/O devices manually in the PLCnext Engineer project.
2) Each external variable is a reference to a variable of the same name in the global variable table. You can mark that global variable with the OPC attribute, as shown below.
~ Martin.
Hello Martin,
thank you very much for your help.
Hi Carlos,
where do you define the OPC variable? Do you do it in the global variable list or in the local variable list?
I do my OPC variables in the global variable list (in a new variable group for better overview) and here you can mark it as an OPC variable.
When you declare a external variable in a local variable list, it will look for the definition exernally.
Peter Paul