Raspberry Pi HMI

From Axel Public Wiki
Revision as of 13:25, 25 January 2018 by Axelpwiki (talk | contribs)
Jump to navigation Jump to search

This article is intended to give some basic HMI support on the Raspberry PI runtime.

Requirements

  • An HDMI display capable to display resolution of 800x480.
  • A usb touch screen, or a usb mouse supported by the Raspbian distribution.

Target configuration

The steps to follow are simply to modify the LLExecLinux.conf file, under directory /data/plc
You have to uncomment out this section:

<runtime filename="./LLXRt_Linux_ARM_HMI.so" area="1" targetId="RaspPI_2p0" targetComm="RaspPI_HMI">
 <memory>
  
  <databit size="0x0"/>
  <dataret size="0x0"/>
  
  <debug size="0x400000"/>
 </memory>
 <tasks>
  <task name="Draw" id="0" period="20000" type="worker"/>
  <task name="Refresh" id="1" period="20000" type="worker"/>
  <task name="Trend" id="2" period="100000" type="worker"/>
 </tasks>
 <params>
  <param name="vnc_enable" value="false"/>
 </params>
</runtime>

then you must restart your Raspberry PI. = U