Wago 750-841 ->ModbusTCP.DLL addressing

bapetc

Member
Join Date
Mar 2009
Location
Genk
Posts
6
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);
 
see page 164 in the mnaual of your 750-841 markers start at 12288 dec = 3000 hex
please only use the markers if using a controller. this way you can also use it in excel with a dde coupling.
works great.
 

Similar Topics

Hello guys, I got a question. I have a Wago 750-841 with some modules. I try to control the PLC using Modbus TCP which is working great so far...
Replies
0
Views
1,272
Hi everyone! I have strange problem with my Wago device. After power supply restart the I/O led indicator was start flashing on red. And here is...
Replies
2
Views
3,996
I have 2 variable tags (DIGITAL) with modbus address 012288 and 012289, which is %MX0.0 and %MX0.1 in CoDeSys. I have no problem reading these...
Replies
2
Views
2,245
We are transfering some programs from one PLC to a bunch of others (using Codesys). Although much registers are of the "Sustained" quality, we...
Replies
5
Views
3,770
Hi, I need some help with a Wago 750-841. I am currently trying out this PLC controller to run a small application but for some reason when the...
Replies
6
Views
6,383
Back
Top Bottom