Modbus Slave Device issue

PrivSPS
2020-06-11
2020-07-07
  • PrivSPS - 2020-06-11

    Hi all,

    I found an issue withe the modbus slave device in Codesys 3.5.16 and the Codesys Control for Rasberry 3.5.16.0.
    I currently connect with a nodered modbus master to collect and push data from/to the Codesys Raspberry SPS. The Codesys Raspbery is controlling an old Wago 841.

    That means Codesys is master for the Wago and Slave for the nodered.

    After updating from Codesys 3.5.15 to 3.5.16 the slave doesn't work anymore. I have not been able to add the Unit-ID, because the box is no more longer available. The Master is working fine.

    I now imported the old ModbusTCP Slave Device Version 3.5.15 into the Device Manager and added this as new slave device into my project (updating the existing device to old version doen't work). Now I'm able to add the Unit-ID and everything works now fine.

    Does anybody know if this is a Bug or if it is wanted?

    thanks
    regards

     
    πŸ‘
    1
  • PrivSPS - 2020-07-07

    Hello again,

    does nobody has the same issue or has information on this.

    thanks

     
  • i-campbell

    i-campbell - 2020-07-07

    Can you make node red use address 0xFF? Or 0x00?
    https://modbus.org/specs.php

    Modbus TCP

    "On TCP/IP, the MODBUS server is addressed using its IP address; therefore, the
    MODBUS Unit Identifier is useless. The value 0xFF has to be used."
    0x00 is the broadcast address, so also works.

     

    Last edit: i-campbell 2020-07-07

Log in to post a comment.