pycom / pycom-modbus

46 stars 44 forks source link

OSError: no data received from slave #11

Open StarkMaximus333 opened 2 years ago

StarkMaximus333 commented 2 years ago

hey, i tried this code to read values from energy meter which has rs485 port,with the modscan software i done the verfication to see if there is a problem in hardware converter (rs485 to rs232) and i got the correct values.. i have entered the parameters correctly to initialise the tx,rx pins and created an instance to call read_holding_function from uModBusSerial.py file..after running the program i'm getting OSError: no data received from slave error,can you please help to figure out the solution for this?

tsmladenova commented 2 years ago

+1 triple-checked the rx and tx and the response is always the same - no data received from the slave. Any ideas? @StarkMaximus333 did you manage to solve the problem?

StarkMaximus333 commented 2 years ago

no, i am still stuck at the same point.