Bit not enabled in modbus tcp read

alverman
2017-10-08
2017-10-09
  • alverman - 2017-10-08

    Good evening,
    do you think bit5 is not active?
    What can be caused?
    Thank you, Alberto

    IMG: D1.png

     
  • Anonymous - 2017-10-09

    Originally created by: scott_cunningham

    Do you use the variable linked to bit 5 anywhere in your code? I have seen the compiler "compile out" the update over bus systems when the variable I have mapped is not used at all. You need to at least just have a line in PLC_PRG with your variable and a semicolon.

     
  • teichhei - 2017-10-09

    Agreed, I'd say you are not using the variable in the application.

    Sent from my SM-G935F using Tapatalk

     
  • alverman - 2017-10-09

    Is true !!

     

Log in to post a comment.