2 posts in this topic

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.

 

Share this post


Link to post
Share on other sites

Could you show us your OMRON Ladder diagram to be convert them on SoMachine Basic?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now