Programming a production totalizer in RS Logics 500.

AB2005

Member
Join Date
Nov 2006
Location
Lahore
Posts
318
Hi;


When a machine runs, my SLC 5/05 receives an analog speed reference 0-10V which is equal to 0-300Meters/min (N7:1 in attached screen shot of sample program). I want to program a production totalizer to display the production of whole day for which I designed a sample program which screen shot is attached. But I have found that the totalizer doesn’t work accurately because of (for me) PLC scan time issues. Please check and suggest any other way by using speed ref 0-10V.

untitled.jpg
 
there are two ways to do this
1st add a ONS contact in series with the T4:1.DN contact
OR
delete the counter
use an ADD function
Add 1 to F8:1 ( floating point) higher range using the ONS as decribed
 
I think your method might be flawed. I am not sure your formula is correct. Usually the timer has a fixed preset, and for each fixed time period, the length measured by the analog input in meters is added to the totalizer. With a variable time, I don't know what the time is supposed to represent.

Your result may be affectd by rounding errors in the integer computation. You could reduce those by using a fixed time period and a floating-point calculation for the length in Meters for that fixed time period. For example, as Ian said, use F8:1 to contain your total length. Set the timer to a fixed preset, say "10" with the same time base of 0.01. The for every time the timer goes DONE, compute F8:1 = F8:1 + N7:1/600.
 
Last edited:

Similar Topics

Dear all, I have fx2n plc on my hand but I don't have the programming cable sc-09 and it would not be easy for me to get one. I need the cable...
Replies
3
Views
114
Hi all, i am the new controls guy at the plant and i have inherited a pc from the previous controls guy with Siemens tia portal version 16 and 17...
Replies
20
Views
882
I need to pull the program off of an old 90-30 so I can convert it to Allen Bradley. This is my first time messing with GE and I don't have the...
Replies
2
Views
84
New to vfds. I put in parameters. IP, but I get ethernet flashing and link solid. What did I do wrong?
Replies
9
Views
474
I'm been deciphering a program for a press here. I've gotten most of it deciphered using the manual to understand the instructions (first mitsu...
Replies
11
Views
292
Back
Top Bottom