rta53
Lifetime Supporting Member
I think I have asked about this before but here goes:
We have a PC setup in our office that dials out to a SLC 5/04 at one of our customers. Using RSLinx and Excel we are capturing about 30 analog readings so we can log the performance of the process. The modem dials out every 45 mins. The problem is that parts of the system runs intermittently and so about half the time we only get readings for some of the process. What I am doing now is programming a bunch of MOV instructions in RSLogix 500 to capture the data. I want to do this 4 times a day so it's going to take a lot of MOV instructions. I will set up Excel to read the addresses where I have moved the data. I will also capture the time and date with each set of MOVs. For example, I want to capture F8:0 to F8:30. At 8:00AM I will MOV these values into F16:0 to F16:30. At noon I will MOV F8:0-F8:30 to F16:31-F16:60, etc.
As I said the MOVs will occur about 4 times a day and also when the process is running. At the end of the day the PC will dial-in to capture the readings in Excel and then I will clear all the words in F16 after a programmed time. Setting up the conditions for when the MOV occurs is not a problem. My question is this. Someone suggested to me that I use indirect addressing for this. I have never used indirect addressing but I understand the way it works. Will this be a good shortcut? In Excel I would set up 4 columns that would each contain 30 references to the F16 words. Is there an easier way than doing 4 sets of 30 MOVs?
We have a PC setup in our office that dials out to a SLC 5/04 at one of our customers. Using RSLinx and Excel we are capturing about 30 analog readings so we can log the performance of the process. The modem dials out every 45 mins. The problem is that parts of the system runs intermittently and so about half the time we only get readings for some of the process. What I am doing now is programming a bunch of MOV instructions in RSLogix 500 to capture the data. I want to do this 4 times a day so it's going to take a lot of MOV instructions. I will set up Excel to read the addresses where I have moved the data. I will also capture the time and date with each set of MOVs. For example, I want to capture F8:0 to F8:30. At 8:00AM I will MOV these values into F16:0 to F16:30. At noon I will MOV F8:0-F8:30 to F16:31-F16:60, etc.
As I said the MOVs will occur about 4 times a day and also when the process is running. At the end of the day the PC will dial-in to capture the readings in Excel and then I will clear all the words in F16 after a programmed time. Setting up the conditions for when the MOV occurs is not a problem. My question is this. Someone suggested to me that I use indirect addressing for this. I have never used indirect addressing but I understand the way it works. Will this be a good shortcut? In Excel I would set up 4 columns that would each contain 30 references to the F16 words. Is there an easier way than doing 4 sets of 30 MOVs?
Last edited: