Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

MODBUS TCP Slave

tpch
2017-10-19
2017-10-31
  • tpch - 2017-10-19

    Hello,
    I have Codesys 3.5 patch10 and a Berghof screen.
    I want to use Modbus TCP slave device but I don't know how to change the type of variable. Automatically the device sends WORD. Can we send DWORD or REAL?
    It's so weird that it's %IW and not %MW...
    Some idea?
    Thanks. [/color]

     
  • ksmyth - 2017-10-31

    Modbus is 16 bit words, you will need to split/combine multiple words on each end of the modbus path to get your DINTs and REALs.

     

Log in to post a comment.