AOI Help RS LOGIX 5000 - Bit On during certain hours

argetsad

Member
Join Date
Jun 2017
Location
Michigan
Posts
1
I'm looking for an AOI that I can import 2 different times (let's say 1:00 AM and 4:00 PM (12 hour format)). If the current time is between these two times then it turns on a bit, if not the bit is off. So the heater is active at 1AM and not active after 4PM for that day of the week only. The next day might be active from 5pm to 7 pm. The following day different again.

I am creating a 7 day Setup for a water heater. The heater needs to be active between hours X and Y and the heater element is on when the temp is lower than the max value. I know I could use some logic to do this but I'm looking for a cleaner approach.

I'm using RSLOGIX5000, 1769-L30ER, ver 24.01, and an automation direct HMI Cmore Ver 6.31

Thanks ahead of time.
 
Sometimes "some logic" IS the cleaner approach. If you are only going to use this AOI once to drive your one heater (but moving different times into it on different days, then you might as well just code the function. AOIs are best for reusable code.

Let's imagine this mythical AOI you're looking for:
- "1:00 AM" is a string. Are you planning on passing a string to the AOI and then parsing it out? Unlikely. That means that you'll have an Starting_HH input, Starting_MM, and Starting_PM (Bool). Same with Ending_HH, etc. The way you write you HMI interface to this will be how the PLC data will be.

- For outputs, do you just need a "BETWEEN" bit?

- For the logic, what if the Ending < Starting (i.e, Start at 11:00 PM, End at 1:00 AM)? Does the logic allow that or not?

With this, you can write your own AOI faster than it'll take to wait around for someone to hand it to. If AOI is where you want to go, which I doubt.
 
I would write the routine for operating the water heater, and use the clock in the controller. You could then enter the start time and stop time into your routine from your HMI , and when the time equals say the start time, then use a one shot to start and then the same with stop.
 
I wouldn't bother with an AOI, just read the wall clock and use LIM and EQU in a routine.
To go a step further, use a day of week AOI with the value as a pointer to elements of a start time & stop time arrays for your limit values.
 

Similar Topics

I am working with an L61 Contrologix controller, using Logix5000 V19. I recently purchased a communication module and some code that uses AOIs...
Replies
7
Views
4,186
Hello, I am trying the AOI provided by Rockwell to read Modbus TCP, the version is 2.04 The connection looks good to the modbus server. I...
Replies
4
Views
543
G'day Gents, Been given an opportunity to play with Logix designer and a Compactlogix controller to learn a bit more about Ethernet/IP CIP...
Replies
2
Views
1,552
Hi All i was wondering if any one would be able to help me. My version of studio5000 only allows ladder and FB. i have an AOI written in structure...
Replies
2
Views
1,523
I am trying to create an AOI block to count the number of starts a piece of equipment does in an hour. I have some of what I think will work...
Replies
1
Views
1,313
Back
Top Bottom