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
1) If i change the master transmission setting from RTU to ACSII, do I have to convert word arrays to char arrays manually as send buffers? Or Modbus Serial Master library automatically convert word buffers to chars buffers?
2) Does Codesys Modbus Serial Slave (Server) determine type of transmission automatically depending on incoming packet? (RTU or ASCII)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
With help of Codesys FAQ below, i was able to implement Modbus RTU feature dynamically with IEC Code.
https://faq.codesys.com/display/CDSFAQ/Modbus+RTU%3A+Dynamic+Configuration
1) If i change the master transmission setting from RTU to ACSII, do I have to convert word arrays to char arrays manually as send buffers? Or Modbus Serial Master library automatically convert word buffers to chars buffers?
2) Does Codesys Modbus Serial Slave (Server) determine type of transmission automatically depending on incoming packet? (RTU or ASCII)