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

RPI2 and 7" Display

burger
2015-12-04
2015-12-15
  • jvondrus - 2015-12-04

    Make the visualization with resolution 800x480px.
    Install some distribution with Chromium, and make it as autostart (as kiosk mode in fullscreen) with webadress to 127.0.0.1:8080/visu.html

    I'm using for it distribution RWK from http://www.binaryemotions.com/web-kiosk ... -webkiosk/
    CODESYS works great too on this distribution, but remember make update and upgrade to last kernel and FW.

    It's realy great way, you will get 3 in 1
    PLC
    Visualisation
    Web server for visualisation at your LAN

     
  • Ledrunner - 2015-12-15

    Can Codesys directly to form an image without an Internet browser? Something like hardware visualization in industrial PLC with HMI?

     
  • jvondrus - 2015-12-15

    I don't think so, because CODESYS always create web visualisation.

    Another way s exporting your variables to some file or memory and make another program at nodejs or python for display it. (Nodejs and python graphics works with directly with framebuffer without any web client or another program.)

     
  • fixstuff555 - 2015-12-15

    Another way is to run a Python program that uses Tkinter and an open source Modbus client or server, and run a Modbus server or client in the Codesys.

    One Modbus version:
    https://code.google.com/p/modbus-tk/

    This would allow you to full screen, and be running without the visualization. Or Qt. I like Tkinter since it's simple, and part of the default Python install. https://wiki.python.org/moin/TkInter

    The non-web visualization is not available on the Pi - I wish it was, but if it was, Codesys's main customer base would probably have a full-on revolt. I wish it was even an option to buy like the runtime. It's not.

    I'd post a sample, but I never got around to using the Tk with a modbus interface. I have been just using the webvisu, but this is on my todo list.

     

Log in to post a comment.