PAJ27
Hi
Is it possible to read this register, if I attempt to read more than 30 holding register (I assume its higher -as I see no change other than the register 0 (%IW0) - when I tweek in input pot value)
 
I'm using this simple python script :-
 
modbus no %QW0 question.png
Reply 0 0
thiagoralves
Holding register is QW0, not IW0. To read IW0 (which is probably what is connected to your pot) you must read Modbus Input Register
Reply 0 0
PAJ27
Yeap I see the issue, however tried this - no value is read, I have not altered the PLC code
 
Both of these give NO reading
 
modbus no %QW0 question v3.png
 
or
 
modbus no %QW0 question v2.png
Reply 0 0
thiagoralves
You must debug your python code to understand why read_input_registers is failing (returning None). Use Radzio, or some other Modbus TCP software to evaluate your implementation. With Radzio you will be able to read input registers on the Pico.
Reply 0 0
Reply