Jump to content

Recommended Posts

Posted

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.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...