Hi.
I’ve got 2 pcs of S-PAR-02B and was trying to read data via modbus with no luck. It seems it doesn’t answer at all (I have timeout errors). I also tried broadcast message as per manual to change sensor address and this is the only command I can receive something from sesor but it still doesn’t answer when I try to read data.
If I send broadcast change device address to 1:
FE 06 00 00 00 01 5C 05
the answer is:
22 86 02 32 6b
My serial settings are:
client1.serial.baudrate = 9600 # baudrate
client1.serial.bytesize = 8
client1.serial.parity = serial.PARITY_NONE
client1.serial.stopbits = 1
Piotr