Counting multiple outputs

Hakutsuru said:
And finally, why re-invent the wheel? If the folks at goodyear had an attitude like that, we'd all still be rolling around on rounded rocks.
And would somebody like Robert Thomson (credited in 1845, but at too great a cost) or John Dunlop (credited in 1888 for bicycle tires) have still tried to fill those rounded rocks up with air? (just curious)
 
imonline said:
I've got an archiving/historical program that picks data off our plc's. I've set this program to gather N9:50's data every 4 minutes. So even if I wait 2 minutes to get the count updated, it doesn't matter.

-Don

Using the counter and all those comparrison instructions (EQU) and one shots adds more to your scan time than just calculating a new result every scan would. However you want to do it is up to you, its your system and you have to maintain it, but thats a lot of extra unnecessary steps, and some time down the road someone else is going to look at that and scratch his head and wonder what you were trying to do.
 
Alaric said:
Using the counter and all those comparrison instructions (EQU) and one shots adds more to your scan time than just calculating a new result every scan would. However you want to do it is up to you, its your system and you have to maintain it, but thats a lot of extra unnecessary steps, and some time down the road someone else is going to look at that and scratch his head and wonder what you were trying to do.

Agreed. And with any luck, it'll be imonline himself that does it. Or am I the only one whose ever looked at some his old code and wondered why?
"What the heck is this? Some complete moron must have programmed this ..... wait a minute. Oh, nevermind" Good thing those thoughts remain unsaid (until I'm sure I wasn't the culprit).


-jeff
 

Similar Topics

Hello I am looking for tips on how to count the duration of a given function and then how to display it on the hmi panel in the hh:mm:ss format...
Replies
4
Views
1,716
Guys, I know it will be silly but can't get my head around it. I have 3 conveyors, every one on a separate servo drive, and 2...
Replies
25
Views
3,563
The 1734-IB8 has no hardware counting function correct? I am trying to find something to substitute in for a 5069-IB16F (since lead times are...
Replies
3
Views
1,443
Been scratching my head at what I thought should be a relatively simple task. I need to count how many rows a .csv file has, so I can later read...
Replies
6
Views
2,583
Hi All, I need to count my Contactor switching times. There are lots of them so I created a template logic with local variables in FC2000. Now I...
Replies
10
Views
2,150
Back
Top Bottom