Jump to content

Recommended Posts

We have a problem with a PTO we use this to control a servomotor, in a bag maker machine, but when we use a sensor to stop it the PTO this take a little time to stop, then the machine stop few centimeters after the signal has been received. And when we increment the frecuency (speed) the distance of stop becomes higher. Somebody have any solution?

Link to comment
Share on other sites

Hi,

The result you receive is normal. PLC checks the input at the beginning of the scan and operates PTO/HSO Run bit at the end. In this case you have reaction up to 2 controller's scans.

How you can improve the sitation?

You can connect the sensor to HSC Input and set this input as HSC Reload with target 0. Then, you need ot define an interrupt subroutine related to this HSC Reload. In this interrupt subroutine (see Help for details) you will Reset PTO/HSO Run bit and will set another one MB/XB.

You will divide your application to relativelly short subroutines. In your Main routine, before calling the next sub, you will perform a simple net - N.O. contact of the bit you set in interrupt sub - reset this bit and jump to End.

With this procedure, performed properly, you will decrease delay from two scan times (I guess about 5-15 ms) to less than 1 ms.

Link to comment
Share on other sites

  • 3 weeks later...

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
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.