Author Topic: RASPBERRY PI GIO  (Read 1714 times)

aquilmustafa

  • Full Member
  • ***
  • Posts: 121
    • View Profile
RASPBERRY PI GIO
« on: October 16, 2021, 01:25:15 PM »
Hi all,

I'm using AHMI to read data from Siemens PLC via Modbus-TCP in Raspberry Pi. That's working like a charm.
Now the issue is I also need to control the Rpi GPIO's. Anythying that could help me. I've been going through lots of data on google but could'nt find anything. Please help me guy's

bachphi

  • Hero Member
  • *****
  • Posts: 643
    • View Profile
Re: RASPBERRY PI GIO
« Reply #1 on: October 18, 2021, 01:17:45 PM »
relay?
codesys?
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================

aquilmustafa

  • Full Member
  • ***
  • Posts: 121
    • View Profile
Re: RASPBERRY PI GIO
« Reply #2 on: October 19, 2021, 12:44:27 AM »
Actually I've never used codesys. I've designed a card that has relay's as output and screen connected to Rpi3 B via HDMI which hosts AHMI. I need your guidance as to how can i connect to GPIO of RPi in AHMI.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5269
    • View Profile
    • AdvancedHMI
Re: RASPBERRY PI GIO
« Reply #3 on: November 03, 2021, 09:32:42 PM »
I believe you can control the GPIO directly in .NET code

https://docs.microsoft.com/en-us/dotnet/iot/tutorials/blink-led

aquilmustafa

  • Full Member
  • ***
  • Posts: 121
    • View Profile
Re: RASPBERRY PI GIO
« Reply #4 on: November 09, 2021, 09:59:15 PM »
Hey Archie,

Thanks a lot for the answer. I've been through it and tried it, but due to lack of knowledge I was unable to include it into AHMI. Any pointers/example from your side.