Ethercat Input not refresh

thomasri
2019-01-14
2019-02-27
  • thomasri - 2019-01-14

    Hello,
    I am using the Ethercat slave from Beckhoff (EK1100) and one Input device (EL1008).
    It seems the Ethercat bus is running but the Inputs are refreshed.
    I dont understand why. Any ideas??

    IMG: xx.jpg

     
  • thomasri - 2019-01-14

    Just a question, why current values are gray and not black?

     
  • thomasri - 2019-01-14

    I found the problem. Variables were not used inside the PLC...

     
  • mos89@yahoo.com - 2019-02-25

    thomasri hat geschrieben:
    I found the problem. Variables were not used inside the PLC...

    i have the same problem, i have mapped few input and it is still gray what is wrong?

    IMG: ethercat1.png

     
  • eschwellinger

    eschwellinger - 2019-02-27

    Hi,
    either use the variables in the POU's ( you just declare an map them but they are not used in any POU's)
    or set (for testing purpose) -> "2 always update"!

    Only variables which are used in Pou's will be updated ( due performance reasons - is this the Default behaveior in CODESYS for all IO's independet from the fieldbus you use)

    BR
    Edwin

    IMG: alwaysUpdate.png

    IMG: Used_in_pou_.png

     
  • mos89@yahoo.com - 2019-02-27

    Edwin Schwellinger hat geschrieben:
    Hi,
    either use the variables in the POU's ( you just declare an map them but they are not used in any POU's)
    or set (for testing purpose) -> "2 always update"!
    Only variables which are used in Pou's will be updated ( due performance reasons - is this the Default behaveior in CODESYS for all IO's independet from the fieldbus you use)
    BR
    Edwin

    Thanks for the explanation it works fine

     

Log in to post a comment.