You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old July 11th, 2018, 02:32 PM   #1
dbanks
Member
United States

dbanks is offline
 
Join Date: Nov 2017
Location: Tucson
Posts: 9
Best method of Hourly Production in Rs Logix 500?

I've been using 5000 primarily. I've been able to based on prerequisite bits firing make an hourly production tag looking something like HourlyProd[datetime.hour]

Is there anything similar in 500? I need to make hourly production counters for a 24 hour day, sectioned by shifts.
Someone had previously started it on this project, however it's rudimentary and pretty monotonous. It's as such: If time between x and x prodbit fires into a counter. It's done 10 times for the first shift. Instead of doing it 14 more times, there has to be a more direct (read as: less lines) route, right?

Thanks so much in advance.
  Reply With Quote
Old July 11th, 2018, 02:59 PM   #2
Bullzi
Lifetime Supporting Member
United States

Bullzi is offline
 
Join Date: Jun 2012
Location: Colorado
Posts: 1,313
I feel your pain. I do most of my work in 5K but every now and then I have to do a project with a MicroLogix. As long as it is just simple control I have no issues but when it comes to data manipulation I really miss 5K.

Unfortunately RSL 500 doesn't have arrays like 5K does. So you will have to store everything in single element files (N,L,F).

How long do you need to keep the data? How many items are made in a hour? lets say you have to keep the data for a month and the data will fit into a Integer file <32767. You could potentially create a new file for each day in the month. So say N1 - N31 and in each of the N files you can have 24 elements 1 for each hour. You could then move in the data into the proper file based on the date and hour.

Hope this will help.
__________________
There is never enough money to do it right but there is always enough money to do it again.
  Reply With Quote
Old July 12th, 2018, 06:29 AM   #3
Christoff84
Lifetime Supporting Member + Moderator
Canada

Christoff84 is offline
 
Christoff84's Avatar
 
Join Date: Jun 2006
Location: Cambridge, ON
Posts: 382
Quote:
Originally Posted by dbanks View Post
I've been using 5000 primarily. I've been able to based on prerequisite bits firing make an hourly production tag looking something like HourlyProd[datetime.hour]

Is there anything similar in 500? I need to make hourly production counters for a 24 hour day, sectioned by shifts.
Someone had previously started it on this project, however it's rudimentary and pretty monotonous. It's as such: If time between x and x prodbit fires into a counter. It's done 10 times for the first shift. Instead of doing it 14 more times, there has to be a more direct (read as: less lines) route, right?

Thanks so much in advance.
You can use indirect addressing, just make sure all the data files exist or you may cause unintended issues. This example uses a micrologix real time clock, but if you have a SLC, you can use the clock integers, s:37 to s:42 to do the same thing.
Attached Images
File Type: jpg 2018-07-12_6-27-56.jpg (56.7 KB, 30 views)
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
RS logix 500 activation key ???? mer LIVE PLC Questions And Answers 6 November 13th, 2010 12:25 PM
Rs logix 500 question !!!! mer LIVE PLC Questions And Answers 17 May 7th, 2010 02:07 PM
Rs Logix 500 And 5000 sanjay_snj LIVE PLC Questions And Answers 6 June 13th, 2005 11:49 AM
RS Logix 500 & 5000 totok supriadi LIVE PLC Questions And Answers 1 September 11th, 2004 01:50 AM
RS Logix 500 randy LIVE PLC Questions And Answers 14 January 23rd, 2003 08:12 PM


All times are GMT -5. The time now is 01:21 PM.


.