Tecnoelectricas / simple-modbus

Automatically exported from code.google.com/p/simple-modbus
0 stars 0 forks source link

Slave device reported an exception - 1 - Illegal Function #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using ClearSCADA or ModScan as a Modbus master to the an arduino running a 
slightly modified version of the example Modbus slave programme to add a few 
more registers (only 5 in total).

What steps will reproduce the problem?
1. Configure a Modbus analogue output point in ClearSCADA/ModScan and configure 
it with a valid address.
2. Send a control request to modify the value from the master.
3. Arduino (slave) sends back command failed.

What version of the product are you using? On what operating system?
Windows 7

I can read this point fine from the master, it's just the control that is 
erroring.

Have control functions been implemented in this library?

Original issue reported on code.google.com by munchkin...@gmail.com on 17 Jun 2014 at 8:49

GoogleCodeExporter commented 8 years ago
Using V9 of the SimpleModbusSlave library

Original comment by munchkin...@gmail.com on 17 Jun 2014 at 8:50

GoogleCodeExporter commented 8 years ago
The library only implements function 3 & 16 as indicated on the main page.

Original comment by bester.j...@gmail.com on 20 Jun 2014 at 5:18