Tecnoelectricas / simple-modbus

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

ERROR OUTPUTS FUNCTION TO ENABLE 16 SIMPLEMODB USSLAVEV8 #30

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi all, are doing a great job!!

We are testing with SimpleModusSlaveV8 library and are not able to activate 
outputs in Arduino, I explained in detail that happens to us:

What steps will reproduces the problem?

1. SimpleModbusSlaveV8 library with Arduino UNO.

Two. Conexion CI MAX485.

Three. PCs with XP operating system.

April. Windmill Software used for testing, Cas Modbus Scanner
ModBusPoll ...

May. Arduino program is loaded in the example of the library, 
SimpleModbusSlaveExample.

6. Plot script is generated to activate the arduino output 13 with the function 
... 16 

0A 10 00 0D 00 01 02 00 01 CRC

7. Arduino response occurs with the following frame 

 00 0A 90 02 BC 03 00 and the output is not active

8. Works perfectly with analog and digital readouts, function 3.

What is the expected output? What do you see instead?

The expected value would have to be the first 6 bytes of the frame costs, 0A 10 
00 0D 00 01, and change the output to arduino.

The value obtained is 00 0A 90 02 BC 03 00  and the output does not change 
state.

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

SimpleModbusSlaveV8 in arduino IDE 1.0.5-R2 and Windows PC with XP operating 
system.

Please provide any additional information below.

Know the origin of the problem, all readings are correct but we can not change 
the status of the outputs.

My email account is amesa@ajpsystem.es.

Thank you very much for everything!!

Original issue reported on code.google.com by ArturoMe...@gmail.com on 17 Jun 2014 at 10:39

GoogleCodeExporter commented 8 years ago
Use v9. See the arduino forum thread.

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