Codesys SP16 Modbus Serial Connection

grant32
2023-05-29
2023-05-29
  • grant32 - 2023-05-29

    Hello,

    I am having a little bit of trouble getting my serial modbus setup. I am using a GN9373 as the master and a M9273 as the slave connected via RS485. I keep getting an "Illegal Data Address" Error as seen in the screenshots. I'm starting with a simple switch and light program to try and get it going. I have tried programming these variables as bits in holding/input registers as well as Coils/discrete inputs. I have also switched the Master Bus Cycle Task to MainTask and always update slave variables. Hopefully someone can help me see something I'm missing!

     
  • grant32 - 2023-05-29

    Sorry this attatchment didn't add for some reason

     

Log in to post a comment.