Hi again Paul,
Just want to add that the program in my attachment of the last post works, but When I send the result to my siemens touch panel display, it only display's my parts per min, every min, as I now have my timer set at 1 min.
I have tried to play with the timer times but then I just get silly results.
I just can't get the damn thing to constantly display the actual PPM in real time without waiting for one min befor sending data to my display.
So I wonder, how do I get S7 to calculate the time it takes the cam to turn 360 degrees to 0, then calculate how many parts I have produced in this time and constantly display the results in real time on my display, updating every 360 degrees.
Please forgive me if maybe I have over complicated things as I know the secret to good programing is keep it clean keep it simple.
I am sure there is a way of doing this, could you or anybody else out there please offer some guidence.
yours most sincerely Kevin.