Hello,
I've a Wago 750-841 IO system with IO cards.
For example input %IX0.0
output %QX1.0
memory %MX10.0
I want to read and write my IO's via an .NET Csharp application.
First question: difference between Coil and Register?
What is the startAddress of for exmample %MX10.0?
How can I set MX10.0 to 1 via the modbus dll?
LONG MBTWriteRegisters(
IN HANDLE hSocket,
IN WORD dataStartAddress,
IN WORD numWords,
IN LPBYTE pWriteBuffer,
OPTIONAL IN MBTWriteCompleted fpWriteCompletedCallback
OPTIONAL IN DWORD callbackContext);
I've a Wago 750-841 IO system with IO cards.
For example input %IX0.0
output %QX1.0
memory %MX10.0
I want to read and write my IO's via an .NET Csharp application.
First question: difference between Coil and Register?
What is the startAddress of for exmample %MX10.0?
How can I set MX10.0 to 1 via the modbus dll?
LONG MBTWriteRegisters(
IN HANDLE hSocket,
IN WORD dataStartAddress,
IN WORD numWords,
IN LPBYTE pWriteBuffer,
OPTIONAL IN MBTWriteCompleted fpWriteCompletedCallback
OPTIONAL IN DWORD callbackContext);