siemens adressing..

Siemens Addressing

In addition to what Jesper have said, there is an overlap between MW1 & MW2

MW1= MB1+MB2
MW2= MB2+MB3
If you could notice MB2 is the upper byte of MW1 , in the same time it is the lower byte of MW2.

To avoid this overlap there is an offset of two bytes when dealing with words, & an offset of four bytes when dealing with double words

MW0,MW2,MW4, etc....
MD0,MD4,MD8,etc...


Hagos
 
Time to go back to basics :)
Siemens always uses even numbers as mentioned. You can use uneven, but is not advised unless you know what you are doing.

1 byte = 8 bits
1 word (word-int-bcd) = 2 bytes
1 dword (dint-real) = 4 bytes

Just fool around with it in a DB. You will see how things divide out.
 

Similar Topics

How can I know the bit memory adressing limit of a CPU ? I have this CPU: 6ES7 314-6CG03-0AB0 M600.0 gives errors, not in PLCSim, only when...
Replies
22
Views
7,005
Recently i encountered a very strange problem with a 314C-2DP cpu, the problem i have is with the internal inputs. Right now i have this cpu on my...
Replies
1
Views
4,683
Hello everyone, I've had this issue for the last 2 days where I try to assign the profisafe address to an IO block (6ES7 146-6FF00-0AB0) but when...
Replies
5
Views
125
Hello, good morning, I have been having two problems with the Tia Portal software. The first is that I have installed it on my computer and...
Replies
5
Views
167
Hello to all, I'm just starting with using CodeSys. Immediately, I have noticed that Codesys doesn't use data blocks like for example S7 does...
Replies
11
Views
175
Back
Top Bottom