Mo_AB_4EVER Posted December 20, 2011 Report Posted December 20, 2011 Hi there I have a project with a PL7 micro. It is linked to a FactoryCast Card, which has a website in it for operator interface. On the IP network, there is also an Anybus module, connected to a modbus 485 rtu network. The problem is, the data from the Anybus module is sent to the PLC in words %MW200 to %MW215. There is a STL program that makes %MB400 to %MB429 roll around, one byte at a time. I am under the impression that when data is moved around in %MB400-%MB429, the data in %MW200 to %MW215 moves along, in the same orderly fashion. The question is: are those two memory area the same, linked together, or are they separate memory areas?. Also, is the boolean memory area (%M1 and so on) linked to %MB or %MW memory area? Thank you! Quote
Crossbow Posted December 21, 2011 Report Posted December 21, 2011 %MB is addressed in bytes... %MW is words... 8 bits to a byte or 16 bits to a word. So it stands to reason that byte 400 is word 200, as each word would be 2 bytes long. I haven't touched one of these in years, so I can't say with 100% certainty, but that is how I remember it. Per the IEC standard, %M (or %MX) is one bit long. As stated above, the B and W mean byte and word. So %M0 would be the first bit in %MB0, which would then also be the first 8 bits of %MW0. Quote
Mo_AB_4EVER Posted December 22, 2011 Author Report Posted December 22, 2011 From what I see in the project, it really looks like MB400 and 401 is bound to MW200, and so on. But the %M Memory seems (has to) be seperate, because the level setpoint is in %MW0, and most of the sequence bits are in %M0 to %M15, so changing the level setpoint would break havoc in the sequence. Anyone can confirm the bounding? Quote
aggattapauer Posted December 23, 2011 Report Posted December 23, 2011 objects %Mx are totally independent since that area is concerned to discrete signals only objects %MB-W-D-F are referred to the same memory instead %MF0=%MD0=%MW0+%MW2=%MB0+%MB1+%MB3+%MB4 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.