• 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
  netPI opc ua server pull image error wswitula 3 3,936 August-27th-2021, 10:47 AM
Last Post: wswitula
  OPC UA server with NetPi RTE DSongra 9 5,883 July-27th-2021, 12:01 PM
Last Post: Armin@netPI
  REST API server data communication MGharat 2 3,090 July-21st-2021, 07:01 AM
Last Post: MGharat
  [SOLVED]DHCP server not working m-yoshikawa 24 17,902 June-11th-2021, 07:04 AM
Last Post: tad
  how to pick up PROFINET data and store them to OPC UA server on Node-RED/netPI. tad 7 7,185 March-16th-2020, 10:21 AM
Last Post: Armin@netPI
  Codesys 3.5.14.0 MGharat 5 5,428 October-31st-2019, 12:50 PM
Last Post: Armin@netPI
  [INFO] CODESYS V3.5.15.0 compatibility confirmed Armin@netPI 5 6,341 October-13th-2019, 08:56 PM
Last Post: Armin@netPI
  Codesys RTE profinet echteler 2 4,059 September-25th-2019, 09:56 AM
Last Post: Armin@netPI
  New Container example "OPC UA server" Armin@netPI 0 2,811 April-12th-2019, 11:51 AM
Last Post: Armin@netPI
  CODESYS - Control for Raspberry Florian 1 4,377 March-18th-2019, 06:16 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)