I will like to have the hour be the indirect address, like this:

Are you just trying to make a table of values indexed (indirect) by the hour? You may not need to use the FFL command. Just use a MOV with an indirect destination.

Otherwise let the FFL command do its thing. If you trigger it once per hour then the pointer in the FIFO will adjust downward as it fills the FIFO. Unloading using the FFU command pulls off the top and shifts everyone up one.
 
Bernie:

I need to show on the HMI the total KWH consumption every hour for the last 24 hours. If time shows hour number 6 am then the KWH value should be stored on register N102:6. But!

What happens if there is not electric power and the PLC is down for two hours. Next time is turn back on, how would she knows where to store the next KWH value if the control word R6:2 is not synchronized any longer? The way I wanted to do it was using the S:40 to synchronize. Do I make sense?
 

Similar Topics

Hello, I am trying to setup on plc so If I enter 60 jph (job per hour) it will send the vfd hertz based on what jph is entered by...
Replies
2
Views
167
Hi team, I am setting up my first E200 overload unit. I came across parameter 205 StartsPerHour. The default setting is 2. I presume, the motor...
Replies
2
Views
502
Hello, I have inherited an old machine with a PLC unit that needs to be reset after a batter replacement. I don't know what I'm doing! Here's...
Replies
5
Views
1,034
We have 6 pumps for which we calculated running hours from run feedback. We need to start these pumps based on demand in auto sequence for a day...
Replies
4
Views
1,559
HELLO i am working on a logic in which i have to record number of hours a DI bit is enabled and record it to vijeo citect 7.4. in simple words i...
Replies
3
Views
2,282
Back
Top Bottom