Question; read_holding-registers()

112 views
Skip to first unread message

Vic Schme

unread,
Aug 2, 2021, 5:04:44 PM8/2/21
to pymodbus
Is there a method available to read non-contiguous set of registers from a modbus slave?
Thanks,
Victor

SACHIN MISHRA

unread,
Aug 10, 2022, 11:58:49 PM8/10/22
to pymodbus
sir u got this code? 

Sanjay KV

unread,
Aug 11, 2022, 12:25:10 AM8/11/22
to pymo...@googlegroups.com
You should be able to use the same `read_holding_registers` or `read_input_registers` to get the registers. The response depends on slave and how it handles non contiguous registers.

--
You received this message because you are subscribed to the Google Groups "pymodbus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pymodbus+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pymodbus/0275a267-da76-4ff9-8bb4-3220d0589e39n%40googlegroups.com.

SACHIN MISHRA

unread,
Aug 11, 2022, 1:12:51 AM8/11/22
to pymodbus
sir i tried to connect with modscan but my code showing error -> no communication with the instrument(expecting 185 bytes back)

SACHIN MISHRA

unread,
Aug 11, 2022, 1:28:10 AM8/11/22
to pymodbus
Capture.PNG

SACHIN MISHRA

unread,
Aug 11, 2022, 3:14:28 AM8/11/22
to pymodbus
invalidResponserrorminimalmodbus.PNG

Sanjay KV

unread,
Aug 11, 2022, 4:39:23 AM8/11/22
to pymo...@googlegroups.com
You are using minimal modbus, this a user group for pymodbus. We cannot help sorry.

ಗುರು, ಆಗ 11, 2022 12:44 ದಿನಾಂಕದಂದು SACHIN MISHRA <sachinm...@gmail.com> ಅವರು ಬರೆದಿದ್ದಾರೆ:

SACHIN MISHRA

unread,
Aug 11, 2022, 6:50:19 AM8/11/22
to pymo...@googlegroups.com
i written in pymodbus too 

SACHIN MISHRA

unread,
Aug 11, 2022, 6:52:52 AM8/11/22
to pymo...@googlegroups.com
pymodbus error sir
Screenshot 2022-08-11 161817.png

SACHIN MISHRA

unread,
Aug 16, 2022, 5:53:47 AM8/16/22
to pymo...@googlegroups.com
please help i struck here and i am beginner in python and pymodbus too
Capture16.8.22.PNG
Screenshot 2022-08-16 143916.png

Paras Togadiya

unread,
Aug 30, 2022, 5:36:12 PM8/30/22
to pymodbus
how to send minus value in modbus tcp?
Reply all
Reply to author
Forward
0 new messages