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 RTU FC05

johndoe67
2022-07-18
2022-07-20
  • johndoe67 - 2022-07-18

    Hello,
    I'm looking for an example how to implement a Modbus RTU request FC05 Write Single Coil.
    Maybe someone has such an example? Maybe with other writing requests?
    Thanks in advance and best regards.
    John

     
  • johndoe67 - 2022-07-19

    Hello i-campbell,
    Thanks a lot for the link to the examples.
    But my problem is in the detail when using the FC05 Write Single Coil.
    Probably I haven't described it sufficiently. I have now attached some screenshots and a, I hope sufficient explanation.

     
  • i-campbell

    i-campbell - 2022-07-19

    here are two examples of ways you can access the coil. The 0xFF00 detail has been abstracted by the library.

     
  • johndoe67 - 2022-07-20

    Thanks again. I think I'm already that far.
    But it seems that not only the library abstracted the detail 16#FF00?
    I still don't know how to send with FC05 in one Byte...

     

Log in to post a comment.