HI,
I am trying to write a program to read the timer up to 2 seconds, then use that time to calculate the frequency per hour the machine is running.
Could anybody point me in the correct direction to Read %TMx.V & store that value.
I have done this with Omron, but do not use SoMachine Basic very much, so am a bit lost, I used 2 timers, one 20Ms to collect the number of the 2 second timer, set read reset.
add the 20ms back on then do the calculation then multiply by 60, to got sheets per hour of a printing machine.
It was suggested count how many over 36 seconds then multiply x100, but that is slow, mine was close enough & instant.
Thank you.