How to solve scene 3 in Factory I/O | Part 2

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

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

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

    After watching your video, I have gained a lot. You have set up some thinking in it, which is great. Will some videos of closed-loop control system based on factoryio and openplc be released in the future? I think that's going to make me learn more.

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

      I will work on some Arduino projects for now. The next video for openPLC will be the machine center scene. You could also watch a video about PID and factori I/O with an other PLC system. The code should also be possible in factory IO... It takes a long time to make videos for me and there is not a lot of people who watch them 😀. But I will comtinue because it is a hobby and I'm glad people learn something from it, even if it where just a few.

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

      @@seafoxc that's cool!

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

    Do you know what adress I have to use if I want the display to be a float instead of int? I used Real as (data)type in openplc and in factoryIO I have the display config on [0, 10] V and in the drivers overview it shows as float, but I have no idea what adress I have to use in openplc. If I use %MD0 I can see the value changing in the openplc webbrowser but in factoryIO the display stays the same(It is connected in Driver overview to holding Reg 0). Not sure if you tried using float for display before?

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

      I will look into it the day after tomorrow. Make sure you add a point to a float. For example "8" will not be a good value for a float (in any PLC program). But "8.0" works well.

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

      So I also tried using the Real datatype. I'm pretty sure the problem has something to do with the addressing of modbus and OpenPLC => www.openplcproject.com/reference/modbus-slave/ OpenPLC Analog output (QW...) is only 16bit and is easy accessible in Factory IO. But with MD%... I was not able to get Factory IO to read the results (yet). I will try some more in my spare time 🙂

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

      @@seafoxc Alright thanks for checking it out! I was already expecting something like that, everything runs fine in openplc but factoryIO has a problem with the 32bit size adress which is basically just 2times a 16bit adress.
      Your tutorials really helped me out building some scenes and connecting everything with openplc, thanks for that!
      Greetings from the netherlands ;)

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

      @@enrico3769 Thanks! Alvast een goed nieuw jaar gewenst uit België!