Page 1 of 1

MODBUS slave dont send data back

Posted: Fri Jan 10, 2025 11:53 pm
by forkshop
Hello

i have a problem with a little project, i want to have several slaves send a bit to the master, so the master , sends back all the bits to all the slaves to put them in sequence on a 7 segment display, the display work well, and the master send data to the slave, but i cant get the slave to send data to the master, this is the program for both, cand someone tell me what i am doing wrong? i am using the pic 16f18877

Re: MODBUS slave dont send data back

Posted: Sat Jan 11, 2025 9:46 pm
by forkshop
i was able to fix my problem, i did make so minor changes in the program, but the real problem was the baud rate, it was imposible to use 9600 bauds, i put 57600 and was instafix, is this some known bug or something?