Ok
Thanks for the help so far. I am breaking the code into different pieces and I am going to test them 1 piece at a time and post them here for you guys to laugh over. This piece is the transmit chunk of the routine. It is hooked to my pc via a rs485 to rs232 converter which uses rts. This code works but do you see anything fishy in it. Its sole purpose is to put out known characters using the rts pin to talk on the 485 network. If you guys don't mind I am going to do this with the whole project and then at the end attach the whole code to the post for anyone looking for modbus rtu code.
Thanks
Shawn




Bookmarks