Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Web display based on html or php

szabi76
2020-07-22
2020-07-23
  • szabi76 - 2020-07-22

    Hello everyone, Can anyone help me if I want to paste the plc data into a web page on a modbus / tcp ip basis then where do I start? I haven't done this before, but I've seen it before.

     
    • Morberis

      Morberis - 2020-07-23

      You want to setup the PLC as a modbus tcp/ip slave/master?

      You can find the help file for that here.

      Basically you add it to your device tree and then set it up. You can Right click on your device in the device tree, add device, add an Ethernet Adapater. Not an EtherNet/IP adapater, that is an ethernet industrial protocol adapater. Then select that new ethernet adapter, your add device window will update, now add either a Modbus TCP Master or a Modbus TCP Slave device.

      The Codesys admin's will know better but an OPC UA client/server might be better? I have not personally done anything with OPC UA so I can't tell you much more than what google and the help file can.


      OPC UA is designed to be well-suited for connecting the factory floor to the enterprise. Servers can support the transports used in many traditional IT type applications. Servers can connect with these IT applications using SOAP (Simple Object Access Protocol) or HTTP (Hypertext Transfer Protocol).


       

      Last edit: Morberis 2020-07-23
  • eschwellinger

    eschwellinger - 2020-07-22

    ahh.. which plc do you want to connect with that?

     
  • szabi76 - 2020-07-23

    wago 750-842 type. PLC --> Local web server --> Local computer web browser: data. I don’t want to use webvisu because an html or php provides more options. PLC internal storage is not enough for a more serious web page if I want to use wago's internal web program.

     

Log in to post a comment.