Terry Woods
Member
- Join Date
- Apr 2002
- Posts
- 3,170
I did recognize that the question was asked in terms of an "AB" Sequencer...
HOWEVER....
Taken from "NEW HERE?"
5. Tips for Posting
When posing your question, remember that the various PLC’s use some terms and symbols that are unique to their product line. If you specify a question strictly in the unique terms used by your particular PLC you might be excluding some people from helping you. This is because some people won't recognize or understand the specific terms you are using.
...
So, try to be as general as possible so as to include all of the possible respondents, and yet be as specific as necessary to clearly identify the problem.
If questions are asked and answered in this manner, then many more stand to benefit! That is, after all, why we are here!
The intent of this Rule includes a certain implied "duality". That is, while petitioners are asked to pose their questions in as general a way as possible, respondents are also asked to provide answers which not only attempt to answer the specific question, but also to address the general concept.
The idea is to learn the various "concepts" which apply to logic in general, while still attempting to address the unique ways that a particular concept might be used/abused/misused in one PLC or another.
It is through the learning of the CONCEPTS that one can move more easily between the various platforms.
From Allen Nelson...
Gerry, you're right about how AB does it's masks.
Mask is not the same as an AND. That's why they use differnt words.
Which I know, when I think about it - that's why I use a mask, to leave the bits that don't correspond to the mask unchanged (OFF or ON).
I've seen Terry's description of MASK before, and I just didn't give it any critical thought. I should have. Even Terry Woods can make mistakes, and he did.
You said it yourself, Allen...
"Just to supplement what Terry said, the AB uses an AND mask in the SQO (and all other masks, such as MVM (MoVe with Mask) "
And later you said...
"Mask is not the same as an AND. That's why they use differnt words. "
As you said, the function is called "Move WITH Mask" ... doesn't that indicate more than one operation?
And, as you said, they use "different words". They have to use "different words" because they are doing more than performing a simple Masking Operation.
The function begins with a Masking Operation. In this particular case, they use the AND-Method. Then, going beyond the Masking Operation, the results of the Masking Operation are applied to something.
Each of the descriptions that were posted included an AND-Mask Operation followed by at least one other operation. The subsequent operations applied the result of the Masking Operation to something else.
I described the Orange; you described the Fruit Salad.
If you only think of Masking in terms of those functions that contain it, then, if there isn't a function containing a Masking Operation available, a Masking Operation can't be done! That's called Tunnel-Vision.
I will stick to, and continue to promote, my description of a mask - it is CORRECT.
MASKING is a logical concept! NOT just a part of an AB Function!
HOWEVER....
Taken from "NEW HERE?"
5. Tips for Posting
When posing your question, remember that the various PLC’s use some terms and symbols that are unique to their product line. If you specify a question strictly in the unique terms used by your particular PLC you might be excluding some people from helping you. This is because some people won't recognize or understand the specific terms you are using.
...
So, try to be as general as possible so as to include all of the possible respondents, and yet be as specific as necessary to clearly identify the problem.
If questions are asked and answered in this manner, then many more stand to benefit! That is, after all, why we are here!
The intent of this Rule includes a certain implied "duality". That is, while petitioners are asked to pose their questions in as general a way as possible, respondents are also asked to provide answers which not only attempt to answer the specific question, but also to address the general concept.
The idea is to learn the various "concepts" which apply to logic in general, while still attempting to address the unique ways that a particular concept might be used/abused/misused in one PLC or another.
It is through the learning of the CONCEPTS that one can move more easily between the various platforms.
From Allen Nelson...
Gerry, you're right about how AB does it's masks.
Mask is not the same as an AND. That's why they use differnt words.
Which I know, when I think about it - that's why I use a mask, to leave the bits that don't correspond to the mask unchanged (OFF or ON).
I've seen Terry's description of MASK before, and I just didn't give it any critical thought. I should have. Even Terry Woods can make mistakes, and he did.
You said it yourself, Allen...
"Just to supplement what Terry said, the AB uses an AND mask in the SQO (and all other masks, such as MVM (MoVe with Mask) "
And later you said...
"Mask is not the same as an AND. That's why they use differnt words. "
As you said, the function is called "Move WITH Mask" ... doesn't that indicate more than one operation?
And, as you said, they use "different words". They have to use "different words" because they are doing more than performing a simple Masking Operation.
The function begins with a Masking Operation. In this particular case, they use the AND-Method. Then, going beyond the Masking Operation, the results of the Masking Operation are applied to something.
Each of the descriptions that were posted included an AND-Mask Operation followed by at least one other operation. The subsequent operations applied the result of the Masking Operation to something else.
I described the Orange; you described the Fruit Salad.
If you only think of Masking in terms of those functions that contain it, then, if there isn't a function containing a Masking Operation available, a Masking Operation can't be done! That's called Tunnel-Vision.
I will stick to, and continue to promote, my description of a mask - it is CORRECT.
MASKING is a logical concept! NOT just a part of an AB Function!