Jump to content

V570 Immediate read physical input


Recommended Posts

The response time should be the same as the response time of the input.

 

The main variation would come from the program scan time as the immediate read would update the value mid scan instead of waiting until the next scan cycle to update.

 

If your scan time is 20ms and your input updates 1 ms into that, after inputs are normally read, it would be 21 ms before the value changes (assuming logic doesn't affect it). 

 

With the immediate function all logic following after the update portion would use the new value, maybe just a few ms to update from the immediate read.   This could cause some interesting logic bugs though, with one rung using a different value than another rung than intended due to the update.

Link to comment
Share on other sites

I have the following situation in attachments:

For such application you actually require a hardware input interrupt subroutine, This type of subroutine trigers on every rising or falling edge of the input.  In unitronics we don't have such subroutine. You can use a read immediate input function but action will be taken as per scan time of PLC. Minimum time will be 1.25mS. 2nd profile is posible because the speed is very slow before stoping, But in 1st profile there may be some errors as speed is very high and it may miss the stop plus because it will be scaned every 1.25 mS. I had tried using a V130-J-TR20 for labeling application but i had problems while stoping plus.

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

Important Information

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