CODESYS: OPC UA - Using CODESYS PLC as an OPC UA Server

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • If you want to watch the videos in order, download the up-to-date version of the road map from the pinned comment of the corresponding video: • CODESYS: A road map fo...
    -------------------------------------------------------------------------------------------------------------------------------------
    In this video, I am showing you how to configure and use CODESYS PLC as an OPC UA server and UaExpert from Unified Automation as an OPC UA client and exchange data between the two.
    I hope you enjoy watching the video. Please don't forget to subscribe to my channel and share it with your network.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 46

  • @PersecutedPursuer
    @PersecutedPursuer 10 หลายเดือนก่อน +7

    Thanks again, Mr. Alizadeh! Much appreciated! 🤩

    • @TohidAlizadeh
      @TohidAlizadeh  10 หลายเดือนก่อน +5

      Thanks for your comment. I am glad you liked it 👍

  • @fashionworld2
    @fashionworld2 10 หลายเดือนก่อน +5

    Great tutorial, thanks for your efforts 💯💯💯

    • @TohidAlizadeh
      @TohidAlizadeh  10 หลายเดือนก่อน +2

      Thanks 🙏🙏

  • @user-vf3wl2fc2c
    @user-vf3wl2fc2c 9 หลายเดือนก่อน +4

    Thank you very much, you are helping a lot!😀

    • @TohidAlizadeh
      @TohidAlizadeh  9 หลายเดือนก่อน +2

      Thanks for your comment 👍. I am glad you find my video tutorials useful 😊

  • @ricardosolanofadul2541
    @ricardosolanofadul2541 3 หลายเดือนก่อน +2

    Mr. Alizadeh, help me a lot, thank you very much

  • @amywilliams1021
    @amywilliams1021 6 หลายเดือนก่อน +2

    Very clear, thank you!

    • @TohidAlizadeh
      @TohidAlizadeh  6 หลายเดือนก่อน +1

      Thanks for your comment 👍

  • @user-cx9jt2ej9x
    @user-cx9jt2ej9x 10 หลายเดือนก่อน +4

    Thank you for posting a good video.
    Thanks to you, I learn a lot

    • @TohidAlizadeh
      @TohidAlizadeh  10 หลายเดือนก่อน +2

      My pleasure! Thanks for your comment 👍

  • @iran_siemens
    @iran_siemens 10 หลายเดือนก่อน +9

    🌷

  • @stefanAH97
    @stefanAH97 10 หลายเดือนก่อน +5

    Thank u very nuch for the useful session.
    How or where to add user/pw to the target device?

    • @TohidAlizadeh
      @TohidAlizadeh  9 หลายเดือนก่อน +2

      Hi, thanks for your comment. To encrypt data and exchange it with the client safely,, you would need to create a certificate which would require installing CODESYS Security Agent add-on. I may demonstrate this in another short video later.

  • @leejinhong2977
    @leejinhong2977 10 หลายเดือนก่อน +5

    Hi Mr Tohid,
    Thanks for the information they are so useful.
    I am facing one problem at the moment. Can you do some sort of tutorials to teach us how to manage multiple PLCs at one time ? And implement the data resource manager instead of MODBUS for the communication between them. I am using 3 PFC200 WAGO and 1 WAGO Touch Panel 600 at the moment. However, the screen can't mirror the information from the PLC which I am trying to use the data resource management.
    I will appreciate so much if you can help us out with this.

    • @TohidAlizadeh
      @TohidAlizadeh  10 หลายเดือนก่อน +2

      Hi, thanks for your comment and suggestion. I am considering to use multiple PLCs and demonstrate how to share data among them. It will take some time though to do it and publish the video tutorial. Stay tuned!

    • @leejinhong2977
      @leejinhong2977 10 หลายเดือนก่อน +2

      Thank you very much !@@TohidAlizadeh

    • @tomas111video
      @tomas111video 10 หลายเดือนก่อน +2

      What are the challenges of managing multiple PLCs? You have a bus and devices. Who is your online master? Panel or PLC? What is the operating logic of the PLC and the panel? Do you know all this?

  • @darshans7056
    @darshans7056 22 วันที่ผ่านมา

    thank you so much..but one question..do we have to install opc ua server before doing the connection with ua expert..if so , is it not available for free.
    I'm not getting connected once i type the url and my server is not showing in the add server box

  • @lildavide221
    @lildavide221 4 หลายเดือนก่อน +2

    Hello my friend, great video! I have a little question. How can I apply the values in CoDeSys, to change them ( OPC UA-Server)?

    • @TohidAlizadeh
      @TohidAlizadeh  4 หลายเดือนก่อน

      Hi, thanks for your comment. I didn't understand your question fully, but if you mean that how to change the values f the variables on the CODESYS side, while the project is running, you can do it through visualization or by forcing values to the variables.

  • @kaizokudc
    @kaizokudc 7 หลายเดือนก่อน +3

    Hello, thank you very much for the video. It is very helpful. I got a question. How can we configure codesys plc as an opc ua client? Is there a resource for this?

    • @TohidAlizadeh
      @TohidAlizadeh  6 หลายเดือนก่อน +1

      Thanks. There is one example in CODESYS store to use CODESYS as the OPC UA client. Though I have not checked it myself.

  • @manasavamshidhar2607
    @manasavamshidhar2607 5 หลายเดือนก่อน +2

    Hello sir, thank you for sharing this video. In my application , i want to send acsii data (string) from raspberry pi to a scada software. Maybe with opc ua and codesys as common platforms. Is it possible? And to include raspberry pi as upc server what should be done?

    • @TohidAlizadeh
      @TohidAlizadeh  5 หลายเดือนก่อน +1

      Thanks for your comment. Yes, I think it is possible. You can use CODESYS runtime for your Raspberry Pi, then use your Raspberry Pi as an OPC UA server, like what I did here, and then read the data using an OPC UA client on the other end.
      I hope this helps. Let us know if you succeed in doing it.

  • @user-kv2cl5xl5s
    @user-kv2cl5xl5s 2 หลายเดือนก่อน +1

    What software u use for editing opc?

  • @tomas111video
    @tomas111video 10 หลายเดือนก่อน +4

    Thanks for the video, but I would be interested in how to create an OPC server with a password? This is a more difficult task.

    • @TohidAlizadeh
      @TohidAlizadeh  9 หลายเดือนก่อน +2

      Hi, thanks for your comment. For this, you would need to create a certificate which would require installing CODESYS Security Agent add-on. I may demonstrate this in another short video later.

  • @abdodabour4306
    @abdodabour4306 10 หลายเดือนก่อน +4

    2:53
    Hi .. i got this message ( The selected target system 'CODESYS Control Win V3' is
    different from the connected device 'CODESYS Control Win V3
    x64'.
    ID mismatch: Selected=0000 0001, Online-0000 0004 )
    Also i don't know what user name and password i should enter at 2:48

    • @TohidAlizadeh
      @TohidAlizadeh  10 หลายเดือนก่อน +3

      Hi, thanks for your comment.
      It seems that the device that you are using in your project is different than the virtual PLC running. Try to update your device in the project and make it the same as the virtual PLC.
      There is a way to remove the username and password and setup new ones. This is done by deleting some files on your PC. You can look it up ( I may also make a video explaining this soon).
      I hope this helps.

    • @abdodabour4306
      @abdodabour4306 10 หลายเดือนก่อน +3

      @@TohidAlizadeh i solved this problem .. thanks .. i have other questions and i need help .. can i mail you ?

    • @abdodabour4306
      @abdodabour4306 10 หลายเดือนก่อน +3

      @@TohidAlizadeh i solved this problem .. thanks .. i have other questions and i need help .. can i mail you ?

  • @Time4yes
    @Time4yes 10 หลายเดือนก่อน +5

    Is the port number always 4840?

    • @TohidAlizadeh
      @TohidAlizadeh  10 หลายเดือนก่อน +2

      This is the default value, so it may be changed if you change the settings of the PLC.

    • @Time4yes
      @Time4yes 10 หลายเดือนก่อน +3

      @@TohidAlizadeh Alright, thanks

    • @TohidAlizadeh
      @TohidAlizadeh  10 หลายเดือนก่อน +3

      You are welcome 🤗

  • @rodrigueroland
    @rodrigueroland 6 หลายเดือนก่อน +1

    I've got this error:
    Used UserTokenType: Anonymous
    The server returned no certificate, all certificate checks will be skipped.
    Error 'BadIdentityTokenInvalid' was returned during ActivateSession
    Connection status of server 'OPCUAServer@PCNAME' changed to 'Disconnected'.

    • @TohidAlizadeh
      @TohidAlizadeh  5 หลายเดือนก่อน +1

      What version of CODESYS do you use?

    • @rodrigueroland
      @rodrigueroland 5 หลายเดือนก่อน

      @@TohidAlizadeh I installed the last version: 3.5 SP19 Patch 6+ (64-bit). I don't know really know what it's wrong.

    • @jaceksieradzki1505
      @jaceksieradzki1505 5 หลายเดือนก่อน +5

      @@rodrigueroland I also struggled with this. Solution is very simple - go to Communication Settings -> drop down menu: Device -> Change Runtime Security Policy... -> tick the Allow anonymous login box. Works fine for me. Thank you @TohidAlizadeh for great video.

    • @phamminhtri16
      @phamminhtri16 4 หลายเดือนก่อน

      @@jaceksieradzki1505 thank you very much.

    • @braismartinez8558
      @braismartinez8558 3 หลายเดือนก่อน

      @@jaceksieradzki1505 thanks a lot

  • @darshans7056
    @darshans7056 22 วันที่ผ่านมา

    could u plsss.. clarify my doubt in detail sir..