Capturing data in RSLogix 500

rta53

Lifetime Supporting Member
Join Date
Feb 2003
Location
North Carolina
Posts
619
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?
 
Last edited:
First when you move floating points to integers you are going to loose precision. If that is alright the OK. Otherwise you might want to move the data to another floating point file.
You can use the COP command. It will copy a block of registers to another block of register. Example: COP N7:1 to N10:1 length of 10 would copy N7:1 to N7:11 to N10:1 to N10:11.
 
Depending on what kind of data and the relationship of the data a FIFO may be easier. Also there are some industrial modems (SixNet) that will allow the PLC to use a discrete output to cause the modem to call a number that is programed in one of the S registers in the modem.

Darren
 
Last edited:
First when you move floating points to integers you are going to loose precision

That was dumb on my part. I will be moving Floating Point to Floating Point. I fixed it in my post. :confused:
 

Similar Topics

My boss has instructed me to 'capture' whenever a valve opens and closes. The PLC is an SLC 5-04 run by Logix 500. I have found on the net how to...
Replies
13
Views
4,380
I have a SLC 5/05 that is talking to FactoryTalk ME. I am making large blocks of plastic. After the block of plastic is cast, I want to capture...
Replies
3
Views
1,430
While trying to setup a MSG in a MLX I was just wondering if it was possible to capture the data comming and going thru the serial porton my PC...
Replies
9
Views
6,129
Hi guys. Just like to find out whether PLC is capable of capturing data and displaying them at a later date. For example, the plc is able to note...
Replies
9
Views
3,644
Hello. I actually still have a customer that has a 486 running a DOS program controlling a press. My task, convert it to an AB PLC and PV+. I am...
Replies
24
Views
1,855
Back
Top Bottom