Is there a way to Connect Visualization to a web that the buttons can be used using a mobile phone?

  • hamalaw

    hamalaw - 2021-02-25

    We have chosen Codesys V3.5 for Modeling a Smart home, we have done everything and the visualization works as we want it to, we were wondering if we can connect the buttons of the simulation to a server that we can instead control the simulation from a mobile phone and not only the computer?

  • i-campbell

    i-campbell - 2021-02-25

    Hi hamalaw,
    This is exactly this feature of the Automation Server:;product=codesys_automation_server;version=
    When you say 'simulation', do you mean only that you are simulating a home? Or do you mean that you are using simulation mode?
    For web visualization your 'simulation' must be running in a PLC, even if it is the Control Win V3 which installs with the CODESYS Development System. Simulation Mode just runs in the IDE and has no connection to anything outside the IDE.


    Last edit: i-campbell 2021-02-25
    • hamalaw

      hamalaw - 2021-02-26

      We don't have a PLC its only on the program, will there be a way to do that?

  • eschwellinger

    eschwellinger - 2021-02-26

    hm.. is there really a webvisu in your project and the application deployed via server?
    if you call localhost:8080/webvisu.htm does it show the webvisu from your pc?


    Last edit: eschwellinger 2021-02-26
    • hamalaw

      hamalaw - 2021-02-27

      I made this video so that you can understand what I want to explain
      as you can see there is no web visualization
      and everything is in the way it should be I guess
      looking forward to hear from you
      and sorry i dont know what you mean by calling localhost:8080/webvisu.htm

      • i-campbell

        i-campbell - 2021-02-27

        There is a big red banner at 0:07 in your video which says simulation. (Towards the middle bottom of screen)
        Please turn off simulation at Menu >> Online >> Simulation.

        • hamalaw

          hamalaw - 2021-02-27

          thanks for replying
          I did turn off the Simulation mode and now i am able to access the device tab

          still it doesn't show any visualization

  • eschwellinger

    eschwellinger - 2021-02-27

    hm... should work please check if it works by executing:
    in the browser

  • eschwellinger

    eschwellinger - 2021-02-28

    write to CODESYS store - my question bug report - to check

  • cedric89

    cedric89 - 2021-04-22

    is the CmpWebServer activated in your runtime ?

    ;The handling of startup/shutdown of the webserver:
    ;0->automatically start, shutdown only on shutdown of the runtime;1->automatically start, could be shutdown on demand
    ;2(default)->start/shutdown on demand;3->start on demand, shutdown only on shutdown of the runtime
    ;The TCP port the webserver listens on


Log in to post a comment.