klijo Posted November 16, 2015 Report Posted November 16, 2015 Hi, does anyone know: How is the response time of "immediate read physical input" ? V570 + V200-18-4XB Klijo
cantcliff Posted November 16, 2015 Report Posted November 16, 2015 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.
MVP 2023 Joe Tauser Posted November 16, 2015 MVP 2023 Report Posted November 16, 2015 Put the immediate read and whatever logic you immediately care about in an interrupt routine. If you use a 1.25 ms routine, your response time is 2.5 ms (the input has to be off for one scan). This is only good for inputs directly attached to the PLC, not expansion I/O. Joe T.
klijo Posted November 17, 2015 Author Report Posted November 17, 2015 Thank you, but I need a maximum of 0.2 ms, for the beginning and end of PTO or PWM outputs ??? (fast labeling machine)
MVP 2023 Flex727 Posted November 17, 2015 MVP 2023 Report Posted November 17, 2015 Maybe you need to use the high-speed counter input?
sunit Posted November 17, 2015 Report Posted November 17, 2015 Can you explain your appication more in detail
MVP 2023 Flex727 Posted November 17, 2015 MVP 2023 Report Posted November 17, 2015 Certain inputs can configured as High-Speed Counters that will count and/or measure frequency. Check the Help file and examples included with VisiLogic for more detail.
klijo Posted November 18, 2015 Author Report Posted November 18, 2015 I have the following situation in attachments:
sunit Posted November 18, 2015 Report Posted November 18, 2015 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now