Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - surukai

Pages: [1]
1
Support Questions / Re: DOUBLE WORD - WAGO PLC Modbus TCP
« on: March 24, 2017, 09:13:40 AM »
Sorry for necromancy but I thought I'd give a proper answer to the question

Since I implemented Modbus TCP in our library recently I can help

%MDx is located at 0x3000+x*2 and 0x3000+x*2+1 

0x3000 (or 12288 in decimal) is the offset for "M" area registers. That means MW100 is on address 12388.   MD100 is located on 12488 and 12489.

Hope that helps. Also make sure to be consistent with endianess so you don't swap the two words around. 

/Surukai

Pages: [1]