F
Hi!
I found some C source for Win DOS here, and I use it, it works, but... The only problem, that when I open the Com port, and try to communicate, it works only if I tested the peripherial with some other Modbus tester before I run my program. So If I use some free tester, and then close it, I can receive message from the Modbus devices, but if I don't do this first, and run my program, it opens the Com port and sends the message, but can't receive anything from the slaves. It's obvious, that I don't do something, what is required.
Please, help me.
I found some C source for Win DOS here, and I use it, it works, but... The only problem, that when I open the Com port, and try to communicate, it works only if I tested the peripherial with some other Modbus tester before I run my program. So If I use some free tester, and then close it, I can receive message from the Modbus devices, but if I don't do this first, and run my program, it opens the Com port and sends the message, but can't receive anything from the slaves. It's obvious, that I don't do something, what is required.
Please, help me.