New to S7 and MP270

NetMan said:
Ahhhh ... now looking at the tag list ... I noticed MW230 is for F1 thru F6 and MW232 is for F7 thru F12. I typo'd a search for M231.0 and found it is located in the machine loader FC as a bit that seems to handle the Auto/Man load operation. This is also the description of the F2 key which has the tag "tasteF1_F6" using bit 0. Does this make sense?
- Tony
Yes. You have just experienced the wonderful concept of "byte swapping".
This is also what PeterW refers to when he says that MW230 is really MB230 and MB231, and MB231 is "the first" so to speak.
It has something to do with "little endian" and "big endian" and Intel vs. Motorola processors.
So if the function "set bit in tag" in Protool is used. Bit 0 in MW230 is really M231.0, not M230.0.
 
That explains it! ... sheesh! 16 bit MW230 and the LSB is M231.0
So ... M230.7 is the MSB?
How TOTALLY confusing! But then it's not my programming language.
This sheds some light.
THANKS PeterW! and Jesper and Grambrinus ... you guys ROCK!
- Tony
 
Last edited:
NetMan said:
Ahhhh ... now looking at the tag list ... I noticed MW230 is for F1 thru F6 and MW232 is for F7 thru F12. I typo'd a search for M231.0 and found it is located in the machine loader FC as a bit that seems to handle the Auto/Man load operation. This is also the description of the F2 key which has the tag "tasteF1_F6" using bit 0. Does this make sense?
- Tony
It seems yes.
 
Are you sure its MW230 though, as this is 16 bits. MB230 has 8.

for the word bits 15-8 would be MB230 and 7-0 would be MB231.

If its only MB230, then bits 7-0 (8 bits) would be MB230.


EDIT: Scrub all of the above I just wrote, just caught up on thread. :rolleyes:
 
Protool lists the tag as a word ... MW230 for "tasteF1_F6". The next word is listed as MW232 for tag "tasteF7_F12". However, I don't know why or if the unused bits serve any purpose. I mean ... M230.0 to M230.7 do not show up in an operand search. Thus my confusion. M231.0 does show up, right where I expected M230.0 should be ... the loader operation. I haven't tried the same for the M232 / M233 word ... but I will, for confirmation at the very least.
- Tony
 

Similar Topics

Hi I have a system where essentially i am connecting an HMI via a switch to the CP443 card. I've set an IP address in the PLC end and an IP...
Replies
4
Views
1,559
One of my client want to communicate MP270(sIEMENS Operator Panel)with ABB AC800M processor .Is it possible
Replies
0
Views
1,083
My new project is to get work instructions on the HMI. I am using a MP270. I have Pocket internet explorer installed on it. I have the files saved...
Replies
10
Views
3,276
Hi all, I have an existing application using a Siemens MP270 that has failed.The MP270 is connected to an S7300 over profibus. I want to try and...
Replies
3
Views
2,909
I currently have a trend graph on a MP270 to display 3 values of flow. I would like to view historical data, say going back a week. On a...
Replies
7
Views
3,139
Back
Top Bottom