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
Hi,
I am trying to read modbus data from a modbus slave simulator in codesys2.3 using Ethernet_Modbusmaster_TCP/UDP FB.
It is giving me error code 1 which is incorrect function code, I am using FC3 for this purpose.
But when I do modbus read from a Wago controller, it is working fine.
Please can anyone help me on this.
Hi,
I am trying to read modbus data from a modbus slave simulator in codesys2.3 using Ethernet_Modbusmaster_TCP/UDP FB.
It is giving me error code 1 which is incorrect function code, I am using FC3 for this purpose.
But when I do modbus read from a Wago controller, it is working fine.
Please can anyone help me on this.
also find the attached code for reference.