Codesys Webbrowser not working

dagi89
2022-02-05
2022-03-01
  • dagi89 - 2022-02-05

    I would lite to acquire a camera ip image and video and display in Codesys visualization.

    The main problems are with Codesys Webbrowser that is not working.

    System description:

    • Codesys for raspberry pi4
    • IP Camera

    Trials done:
    - Ip settings by variable PLC_PRG.sPath (see image var path and attached project)
    - IP settings manually : 'http://192.168.0.3/'(see image manual path and attached project)
    - IP settings manually : "http://192.168.0.3/" (see image manual path2 and attached project)
    - IP settings manually : http://192.168.0.3/ (see image manual path 3 and attached project)

    • IP accessible by RPI 4 Web browser (see Raspberry web browser image)

    Probems found:

    • Webbrowser not working in any case.

    I would like to know how to how to let Codesys Webbrowser works.

    Can someone help me please?

    Thanks you all

     

    Last edit: dagi89 2022-02-05
  • m.prestel - 2022-02-07

    Is it possible that CODESYS and the raspi are in different networks?
    Is 'http://192.168.0.3/' reachable by a browser on your desktop/laptop?

    Is it possible to show something different in the CODESYS webbrowser? E.g. this forum?

     

    Last edit: m.prestel 2022-02-07
  • dagi89 - 2022-02-15

    Dear m.prestel

    i hove done many tests using the same LAN

    Now i can access camera from PC and from Raspberry, all by stati ip.

    Even this the webbrowser is not working.

    Please dou you have an additional advice?

    Thanks a lot.

    dagi89

     
  • m.prestel - 2022-02-16

    I ask you again, is it possible to display other websites like this forum in the webbrowser?

     
  • dagi89 - 2022-02-16

    Yes i have tried with google and wikipedia and no way to see the web page.

     
  • m.prestel - 2022-02-16

    You are setting show to TRUE?

     
  • m.prestel - 2022-02-17

    Thats the webbrowser in the IDE not the webbrowser of the raspi.
    Please dont use google.com for your tests, they don't allow a browser to be included in a html site with the iframe tag.
    Please also check the browser developer console for any errors.

    Best regards,
    Marcel

     

    Last edit: m.prestel 2022-02-17
  • i-campbell

    i-campbell - 2022-02-17

    Hi @dagi89 ,

    Is your aim to access the visualization through the CODESYS Devlopment System?
    Or is your aim to access the visualization from the development PC, using the Web Visualization? So that means you open Google Chrome and type

    http://<raspberryIP>:8080/webvisu.htm
    

    For me, even after I fiddled with your CAMERA .project a bit, I was only able to get WebVisu to work.

    Cheers,
    i-campbell

     
  • dagi89 - 2022-02-28

    Dear all,

    after many trials i did not find a way to overcome the issue with https websites.

    I have done many tests with differents browsers, without any success.

    can you please help me in how to show the camera website in the webbrowser tool?

    I have attached some images.

    please take a look.

    the firefox windows translation is below:

    Cannot open this page in Firefox

    To protect your security, 192.168.0.3 does not allow Firefox to display the page when it is included within another site. To view this page you need to open it in a new window.

    Thanks you all,

    Best regards.

    Daniele.

     

Log in to post a comment.