How to connect Open PLC with Factory I/O

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024

ความคิดเห็น •

  • @LorneGiles
    @LorneGiles 3 ปีที่แล้ว +3

    It is pronounced "data", great video and really useful bridge between OpenPLC and other devices/software.

    • @seafoxc
      @seafoxc  3 ปีที่แล้ว

      I'm pretty sure it is pronounced "data" but we will agree to disagree ;-).

  • @anderskrusell9463
    @anderskrusell9463 ปีที่แล้ว +1

    It's working...thanks to this vid :-D

  • @JoshLiu
    @JoshLiu 2 ปีที่แล้ว +1

    Thank you for the video - great tutorial!

  • @barbellbilly
    @barbellbilly 8 หลายเดือนก่อน +1

    Thank you so much! This is very educational!!!

  • @chrislanigan1359
    @chrislanigan1359 ปีที่แล้ว +1

    Great tutorial

  • @matteogiordano2300
    @matteogiordano2300 3 ปีที่แล้ว +2

    Great tutorial!

    • @seafoxc
      @seafoxc  3 ปีที่แล้ว

      Thanks :-)

  • @abhijeetgaonkar449
    @abhijeetgaonkar449 3 ปีที่แล้ว +2

    It was really great video🔥, nice explaination 💯

  • @McBadword
    @McBadword ปีที่แล้ว +1

    incredible, thank you!

  • @quanpower
    @quanpower 2 ปีที่แล้ว +1

    amazing,thank u!

  • @vitaliyleshchinskiy5043
    @vitaliyleshchinskiy5043 3 ปีที่แล้ว +1

    Thanks you!

  • @nathanbandeira5261
    @nathanbandeira5261 3 ปีที่แล้ว +1

    Tks bro

  • @josevaldesarcos4459
    @josevaldesarcos4459 3 ปีที่แล้ว +1

    thanks!

  • @andrewc7524
    @andrewc7524 ปีที่แล้ว +1

    I have enjoyed your work, is there a way to have the OpenPLC runtime running on the Arduino and connect Factory I/O to it? I see that you have written arduino code and interfaced with Factory I/O, and Open PLC, I was not sure if there was a way to do the combination.
    Id like to build a control cabinet to interface as a trainer for PLC students, arduino running the OpenPLC runtime, while also having a physical control cabinet that they have built and wired.

    • @seafoxc
      @seafoxc  ปีที่แล้ว

      Mmm, I will have a look at this challenge when I get back from vacation 7 days from now. The problem is that factory Io works with modbus TCP Ip and the Arduino works with modbus on serial. I once wrote a script that changed made the conversion but never tested it for this purpose.

    • @andrewc7524
      @andrewc7524 ปีที่แล้ว

      @@seafoxc I appreciate the quick response, I'll keep tinkering with it. I am lacking on programming skills outside of the controls world, but not scared to tweak some code. Id love to get it all working on a VM, so the students could take it home with them and study and explore outside of available lab hours.

    • @seafoxc
      @seafoxc  ปีที่แล้ว

      @@andrewc7524 that would be cool for students. I'm also in the first place a PLC technician/programmer. I also teach in a Belgium highschool (16-18 year olds). In wich country do you teach?

    • @andrewc7524
      @andrewc7524 ปีที่แล้ว

      @@seafoxc I teach at a community college in the US. We have traditionally taught only Rockwell LD logic, but have many international manufactures in the region that need students that are comfortable with all of the languages.

    • @seafoxc
      @seafoxc  ปีที่แล้ว

      @Andrew C, I tried it but then I came across the issue that makes this impractical. The inputs are added to the Modbus Input register but you can not write to a Modbus register. So it is not possible to write the data from a a factory IO Sensor to the Arduino Register. It is possible to read and write to Modbus Coils so you can do a whole workaround by using not used Outputs as Inputs in your program (I did the same in the Fuxa HMI video). But I guess this would be confusing to tach to students and it is better to make use of the OpenPLC runtime to simulate and then change the addressing to use it in the real world.

  • @abderrahmanesebaa7638
    @abderrahmanesebaa7638 3 ปีที่แล้ว +1

    Great tutorial! Thanks! Is there a software that can simulate an HMI and build its interface? if there is, can you please make a video showing how to connect it with openplc and factoryio?

    • @seafoxc
      @seafoxc  3 ปีที่แล้ว

      Thanks, T'm planning to make a video in the future about HMI an openPLC. The program that is mostly used is ScadaBR.

  • @erlo928
    @erlo928 2 ปีที่แล้ว +1

    maybe a bit of a weird question, but do know how to create a small infinite loop, to crash the fbd program?
    I had one before on accident and now I'm trying to simulate a crash with this and am not able to do it :(

    • @seafoxc
      @seafoxc  2 ปีที่แล้ว

      Is it possible that the error you did encounter was not in fact an infinite loop? I don't think it is possible in the FBD language (or you should wrote a custom FB ins STL). Maybe you encountered an overflow error? This can be don by adding 1 to a variable (CTU +1) each cycle. After the value is above 32767 you will get an overflow (most PLC go back to 0 or spit out an error). If you did find a way to make a loop with FBD-blocks, please let me know! :-). It was a good question either way.

  • @FreedomForKashmir
    @FreedomForKashmir ปีที่แล้ว +2

    its called "daita" not DATA