J
I use a Siemens CP341 Comms card running Modbus Master going through a Phoenix Modbus TCP Gateway to talk to Modbus TCP slaves. When I use Function 06 command I get errors from the PLC saying the reply is incorrect. (Error 0E 56H - Echo wrong) The command; change register 30 to 2:<pre>
I send =00 06 01 06 00 30 00 02
The reply =00 04 01 06 00 30 </pre>
I would have expected the reply to be the same as the command.
Both Phoenix and IDX have said that the reply is incorrect but when I use the modbus TCP simulator (Mod-RSsim) I get the same reply as from my TCP slave.
Which is the correct reply and how can I sort out this problem?
Thanks
I send =00 06 01 06 00 30 00 02
The reply =00 04 01 06 00 30 </pre>
I would have expected the reply to be the same as the command.
Both Phoenix and IDX have said that the reply is incorrect but when I use the modbus TCP simulator (Mod-RSsim) I get the same reply as from my TCP slave.
Which is the correct reply and how can I sort out this problem?
Thanks