toddp65
Member
I'm having some difficulty figuring out this code; It;s for our canning line and we're getting nuisance faults at startup with an in-out seamer error.
Part of this code determines what goes into the seamer must come out to identify a jam-up on the inside. There is a photo eye on the discharge.
I'm trying to figure out the bitwise instruction.
The description of the instruction translates to support variable. I'm assuming A is that variable of all ones in each location and B is the actual position of the can relative.
The examples I've seen all have Dest as a result of the two variables so if the only bit that had a 1 in both A and B then it would have a 1 in that sport of 0's in the ones that didn't.
I don't know was they're using the _Dint 512 for.
It seems to be just an array number but I don't see the result of the bitwise.And there.
Any help or insight is appreciated.
Part of this code determines what goes into the seamer must come out to identify a jam-up on the inside. There is a photo eye on the discharge.
I'm trying to figure out the bitwise instruction.
The description of the instruction translates to support variable. I'm assuming A is that variable of all ones in each location and B is the actual position of the can relative.
The examples I've seen all have Dest as a result of the two variables so if the only bit that had a 1 in both A and B then it would have a 1 in that sport of 0's in the ones that didn't.
I don't know was they're using the _Dint 512 for.
It seems to be just an array number but I don't see the result of the bitwise.And there.
Any help or insight is appreciated.