dtesterman
Member
- Join Date
- Feb 2004
- Posts
- 1
Hello, I have been working on a production line upgrade and have ran across something that I am perplexed by. I cannot seem to find the explanation of the action that is being performed by the function, remember having it explained to me at some time, but that was by one of our Japanese counter parts that has now went back to Japan.
The issue I am having is when using a command as such: [MOV D350 K1L1210]. The programmer has set the program up so that the data of D350 is being indexed according to the product type on the production line at the time. By looking at the program, it appears that the data of D350 was being set to the word data for L1210. This would in turn set L1211, L1212, etc. by the data that is in the D350 location. What I am seeing is that if D350 is greater than 1, L1211 is turned on, no other bits derived from the word are being changed. If anyone can explain this to me, it would be greatly appreciated. I hopefully have explained the basics of the how the program is working. If not, I will try to do some posting of the actual code. This is on a A2s processor family.
The issue I am having is when using a command as such: [MOV D350 K1L1210]. The programmer has set the program up so that the data of D350 is being indexed according to the product type on the production line at the time. By looking at the program, it appears that the data of D350 was being set to the word data for L1210. This would in turn set L1211, L1212, etc. by the data that is in the D350 location. What I am seeing is that if D350 is greater than 1, L1211 is turned on, no other bits derived from the word are being changed. If anyone can explain this to me, it would be greatly appreciated. I hopefully have explained the basics of the how the program is working. If not, I will try to do some posting of the actual code. This is on a A2s processor family.