S
I am trying to use free driver from Sapia or mbServer to do a very easy application that must read some registers from a ModBus Device.
The address I have to read can be 408307 or similar, and the first 4 is the method 4 "read Input Register". I can use only that.
The problem is that the address is 8307 but my device, that is working perfectly with Modicon drivers, must work with a cheap driver.
How I can use the above mentioned drivers to do it?
Using Sapia :
SMRX1.MbReadInputRegs(1, 8307, 1, nRegData(0))
Don't works and give me Illegal Function Error.
Thanks to all who wants to help me.
Stblack
The address I have to read can be 408307 or similar, and the first 4 is the method 4 "read Input Register". I can use only that.
The problem is that the address is 8307 but my device, that is working perfectly with Modicon drivers, must work with a cheap driver.
How I can use the above mentioned drivers to do it?
Using Sapia :
SMRX1.MbReadInputRegs(1, 8307, 1, nRegData(0))
Don't works and give me Illegal Function Error.
Thanks to all who wants to help me.
Stblack