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
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
https://forge.codesys.com/prj/codesys-example/modbus/home/Home/
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.
here are two examples of ways you can access the coil. The 0xFF00 detail has been abstracted by the library.
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...