I had a problem where I want EXCEL to read data from RS Linx and record it at different intervals of the day and store all values.
This is what I did.
In Cell A1 Temp from plant
In a CELL B1 =now() This gives you the date and time of the day
In Cell B2 =Hour(B1) Hour number
In Cell B3 =Minute(B1) Minute Number
In Cell A2 =if(AND(B2=12,B3=0),A1,A2)
Notice that if the time is 12:00PM the date from Rslinx in A1 would be stored in A2 however when the time changed EXCEL looks back at A2 its own cell referance to get the value.
In Doing this EXCEL stores the data however you have to go to
Tools - Options - Calculations and enable Iteration
Now this is the question
Is there any way that using this repeaded calculation could affect the running of the PLC?
If this question sounds strange think about this.
When I ran the excel spreadsheet the PLC turned off all the equipment without indicating any faults.
This is what I did.
In Cell A1 Temp from plant
In a CELL B1 =now() This gives you the date and time of the day
In Cell B2 =Hour(B1) Hour number
In Cell B3 =Minute(B1) Minute Number
In Cell A2 =if(AND(B2=12,B3=0),A1,A2)
Notice that if the time is 12:00PM the date from Rslinx in A1 would be stored in A2 however when the time changed EXCEL looks back at A2 its own cell referance to get the value.
In Doing this EXCEL stores the data however you have to go to
Tools - Options - Calculations and enable Iteration
Now this is the question
Is there any way that using this repeaded calculation could affect the running of the PLC?
If this question sounds strange think about this.
When I ran the excel spreadsheet the PLC turned off all the equipment without indicating any faults.