Time Based Outputs

racbdlovr

Member
Join Date
Mar 2013
Location
Los Angeles
Posts
1
I am running RSLogix 5000 and I need to program outputs to trigger every 90 minutes. I have 7 production lines that stagger their start times. I need to write a program that reads the clock of the processor and triggers an output every ninety minutes after the production line starts. I have no idea where to start. Any help I can get on this will be much appreciated.
 
I personally wouldn't use the Wallclock time. It would involve math/conversions to handle second, minute, hour and day rollovers.

Why not just use a 90 minute timer (TON)? Pretty basic logic, where a starting event turns on a timer with a preset of 5400000 msecs. The timer can be latched in with the Timer.TT bit, and the .DN bit fires your output and starts the next timer if needed.
 
Go ahead and use the wallclock time.
Put a DTR instruction on the Minutes register, and use that to drive a counter (or just an ADD 1 SomeRegister SomeRegister), then use the counter current value to trigger your starts:
EQU SomeRegister 90 OTE GoOne
EQU SomeRegister 180 OTE GoTwo
etc.
 
I personally wouldn't use the Wallclock time. It would involve math/conversions to handle second, minute, hour and day rollovers.

Why not just use a 90 minute timer (TON)? Pretty basic logic, where a starting event turns on a timer with a preset of 5400000 msecs. The timer can be latched in with the Timer.TT bit, and the .DN bit fires your output and starts the next timer if needed.

I would have done the same
 

Similar Topics

I have a scenario (it's a game) where the player has a dozen phone jacks (think 1/4" headphone, not telephone) and a half dozen patch cables that...
Replies
16
Views
7,665
Gents, I am using an AB ML1200 to trigger some cameras once a photo eye detects a bottle. I am using an Interrupt based input to a IOM Instruction...
Replies
0
Views
2,805
Hi I have a ifix 5.5 application where the operator opens a valve by clicking on a screen object. I can trace from object to data base that it is...
Replies
2
Views
63
Hi, I wanted to ask is there a way to have a visibility expression use the IP address of the HMI (Dynics, not PV) to show certain elements? The...
Replies
3
Views
231
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
179
Back
Top Bottom