Python script for RTU Modbus Slave
问题 I am working on a automation test case for a system and need a automated modbus input device. My use case here is to implement a Raspberry pi based RTU modbus slave and connected to a modbus master. I want this raspberry pi based slave to populate and send a response to master when ever master requests for a register value. I am new to this protocol and environment, I am not able to find any python script or libraries where we have a modbus slave client. I came across this below Serial python