FSPT_Tech
Member
I'm using a SLC 5/03 with a PanelView 600 for an application that will require me to display the elapsed timed for certain functions of the operation (cycle times in lean manufacturing lingo).
I'm thinking of using timers to do this and displaying the accumulated values on my PanelView. These times will be used for information purposes only and will be reset periodically.
The problem I'm having (actually more of an inconvenience than a problem) is that RSLogix timers seem to only use 3 types of time bases:
1.0 - seconds
0.1 - tenths of a second
0.01 - hundredths o f a second
The certain cycle times I’m looking to display will be a bit long, eventually resulting in hours (around 4 to 6 hours of elapsed time). I want my PanelView to display these results in hours and minutes. But my timers are counting in seconds! I don’t want to display the accumulated time in seconds.
So do I have to create additional logic that uses timers and counters to convert these seconds to hour and minute values so that I can then display them on the PanelView?
Or is there an easier way to do this in RSLogix with other instructions I’m not familiar with. I’m trying to avoid having to incorporate some external timer hardware to achieve this as an alternative.
If converting the seconds to hours and minutes is the only way to do this in the logic, can someone send me a relatively easy example of doing this?
Thanks.
I'm thinking of using timers to do this and displaying the accumulated values on my PanelView. These times will be used for information purposes only and will be reset periodically.
The problem I'm having (actually more of an inconvenience than a problem) is that RSLogix timers seem to only use 3 types of time bases:
1.0 - seconds
0.1 - tenths of a second
0.01 - hundredths o f a second
The certain cycle times I’m looking to display will be a bit long, eventually resulting in hours (around 4 to 6 hours of elapsed time). I want my PanelView to display these results in hours and minutes. But my timers are counting in seconds! I don’t want to display the accumulated time in seconds.
So do I have to create additional logic that uses timers and counters to convert these seconds to hour and minute values so that I can then display them on the PanelView?
Or is there an easier way to do this in RSLogix with other instructions I’m not familiar with. I’m trying to avoid having to incorporate some external timer hardware to achieve this as an alternative.
If converting the seconds to hours and minutes is the only way to do this in the logic, can someone send me a relatively easy example of doing this?
Thanks.