BK06. How to Retain Variables in Beckhoff TwinCAT3 via "PERSISTENT"

Поделиться
HTML-код
  • Опубликовано: 26 дек 2024

Комментарии •

  • @annives
    @annives 2 года назад +1

    Watching this to quickly learn what I need to know to set up persistent variables and saved recipes in my program. I love how straightforward and helpful the video is, with a step by step walkthrough. It's friendly for all levels of experience.

  • @yossig992
    @yossig992 Год назад

    What happened to the beckhoff playlist?
    it was amazing.

  • @CBakerDev
    @CBakerDev 3 месяца назад

    Does the 2nd method with the UPS module automatically handle saving persistent data if the PLC loses power or if someone clicks "Activate Configuration", "Restart TwinCAT System", or "Restart TwinCAT (Config Mode)", or do I have to manually trigger the START parameter of NT_Shutdown?

  • @luiggitello8546
    @luiggitello8546 2 года назад +1

    Hi! Thanks for your work, you are the only person on the planet that masters Twincat LOL. I have QUESTION: I tried to use the FB_WritePersistentData method, but at restart all my variables went to "0". What could be the problem? IDK where it went wrong

    • @electricalautomation
      @electricalautomation  2 года назад

      Hi My friend, Thanks for watching! Which controller you are using? Have you declare the variables under "PERSISTENT" 10:50? Also note, you need to trigger "write persistent" 18:24 if the controller lose the power.

  • @junlv-i3y
    @junlv-i3y Год назад

    Thank you, That's exactly what I want

  • @morezghodsi3838
    @morezghodsi3838 2 года назад

    Hi, Please teach Analog wiring for the potentiometer and in the Twincad. TNX a lot

    • @electricalautomation
      @electricalautomation  2 года назад

      Please view PID23 - Beckhoff TC3 PID03 - Analog Input Wiring, Configuration, and 'SCALE' programming ruclips.net/video/IyWnHCK2O5A/видео.html

  • @Tracks777
    @Tracks777 4 года назад

    lovely stuff

  • @industrialautomationkotttu8841
    @industrialautomationkotttu8841 10 месяцев назад

    Thank you

  • @industrialautomation3470
    @industrialautomation3470 3 года назад

    I think you should only trigger the START, when fb is not BUSY.

    • @electricalautomation
      @electricalautomation  3 года назад

      100% Agree. Thanks! Also I would recommend only use HMI and manual trigger button to turn ON (Trigger) the START, as shown at 14:20. Or use a cyclic main to call this PRG, properly 1s - 5s cycle time (not too short) to keep triggering the START.

    • @industrialautomation3470
      @industrialautomation3470 3 года назад

      @@electricalautomation Can you trigger it cyclically? Could there be an issue, with writing data too often, like if it using flash for storing the data?

    • @electricalautomation
      @electricalautomation  3 года назад

      @@industrialautomation3470 Cyclically calls at 'ms' level would be challenging, that is way at 14:20 I talked to recommend using HMI and button to trigger 'persistent' to save some setting parameters values. If you do need to store data frequently, then using the controller with UPS module.

  • @franciscocarlos8897
    @franciscocarlos8897 4 года назад

    Show top demais.Obrigado

    • @electricalautomation
      @electricalautomation  4 года назад

      If you are using CX9020, you could also view the video 'BK09. How to Retain/Persistent Variables using Beckhoff TwinCAT3 CX9020 U900 UPS' ruclips.net/video/rzf7AeuUCig/видео.html. The method is working in my projects.

  • @michagoralczyk2140
    @michagoralczyk2140 3 года назад

    Perfect

  • @mosadsallam3572
    @mosadsallam3572 2 года назад

    Thanks