1 Wire Increases my Task time by 1000 times

SirT
2019-04-24
2019-04-25
  • SirT - 2019-04-24

    Hello Members.

    I'm developing a program to control a Beer process.
    It's all complete right now with recipes, PID control, In/Out, and also created my own expansion board with shift registers.

    All it's working well... but If I put 1!!! one wire my cycles increase too much. Please check the examples below:

    With One wire:

    Without One Wire:

    My configurations on onewire: (Already tried the other options)

    Notes:
    My 3 tasks are all freewheeling.

    Any advice?? What should I do to decrease my cycle time again?

    IMG: Bild

    IMG: Bild

    IMG: Bild

     
  • eschwellinger

    eschwellinger - 2019-04-25

    Hi,
    see this example here:
    l viewtopic.php?f=23&t=6247&p=16920#p16920 (forum.codesys.com) l
    it is mandatory to access the onewire in an own task.

    BR
    Edwin

     

Log in to post a comment.