• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PM - develope OPC UA Server using the Codesys
#1
Hello Armin,

I have a question about CODESYS, our customer said our netPI can develop an OPCUA Server through CODESYS. I think it should be developed in Container-CODESYS Control for Raspberry Pi, is it right? Is this container license necessary? Is this license purchased from Hilscher? Is there any necessary software and component tools need to order to the software upgrading? Please help me confirm these issues.

Thanks in advance.

Best regards

Lingyue
  Reply
#2
Hello Lingyue,

CODESYS OPC UA server is already integral part of standard CODESYS runtime. You do not need to develop anything. It is already present after you load the CODESYS runtime to the container.

CODESYS runtime supports by default PROFINET master, EtherNet/IP Master, EtherCAT Master, Modbus TCP and also OPC UA server.

CODESYS has a lot of videos showing how to setup the different networks and methods. One is the CODESYS OPC UA handling video https://www.youtube.com/watch?v=DV5PfdzbMfQ or this video that show how to use it with Raspberry Pi https://www.youtube.com/watch?v=nNEAiRywtT0

In order to use OPC UA you need to understand how to create "symbols" in CODESYS from PLC data first and then the data is available immediately as OPC UA values.

Thx
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
Dear Armin,

Thanks a lot for your timely reply and detailed explanation. Now I roughly understand how to achieve it. But I still don't konw the information about container license, can you give me some answers?

Thank you again.

Best regards

Lingyue
  Reply
#4
Hello Lingyue,

the CODESYS runtime that you can deploy in the container runs for two hours only if not licensed. This has nothing to do with the container, it is a restriction of CODESYS runtime itself.

If you want to let run the CODESYS runtime forever you need to license the runtime (in the container). This is done ordering a license in the CODESYS webshop and it is deployed using the Windows CODESYS programming tool.

There is a small "how to do licensing" explained in the containers README at https://hub.docker.com/r/hilschernetpi/n...sys-basis/. It is CODESYS licensing procedure and not Hilscher specific licensing. It is working the same with other platforms in the same manner if someone wants to let CODESYS runtime unlimited time.

Thx
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#5
Dear Armin,

Thank you very much! I will try to test.

BR Lingyue
  Reply
#6
During the deployment of the license, the key is stored in the container is bound to the serial number of the CPU in netPI. So please take care after licensing to save the license files to a separate location as explained in the container README. So even if the container is lost and you redeploy it again, you can copy the saved files back to the new container (...but on the same netPI. A different one with different serial number will not work).
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Codesys 3.5.14.0 MGharat 5 46 October-31st-2019, 12:50 PM
Last Post: Armin@netPI
  [INFO] CODESYS V3.5.15.0 compatibility confirmed Armin@netPI 5 34 October-13th-2019, 08:56 PM
Last Post: Armin@netPI
  Codesys RTE profinet echteler 2 29 September-25th-2019, 09:56 AM
Last Post: Armin@netPI
  New Container example "OPC UA server" Armin@netPI 0 25 April-12th-2019, 11:51 AM
Last Post: Armin@netPI
  CODESYS - Control for Raspberry Florian 1 32 March-18th-2019, 06:16 PM
Last Post: Armin@netPI
  [INFO]Docker DNS server Armin@netPI 0 20 March-7th-2019, 09:02 AM
Last Post: Armin@netPI
  [INFO] CODESYS V3.5.14.0 compatibility confirmed Armin@netPI 0 21 February-6th-2019, 01:20 PM
Last Post: Armin@netPI
  [SOLVED] Can't install Codesys License ffumagalli 4 156 November-22nd-2018, 10:58 AM
Last Post: Armin@netPI
  [SOLVED] Use netPi as a FTP server martech 1 106 October-18th-2018, 09:07 AM
Last Post: Armin@netPI
  [SOLVED] MySQL Container / Server in another Container? paubau 2 160 September-5th-2018, 08:00 AM
Last Post: paubau

Forum Jump:


Users browsing this thread: 1 Guest(s)