Dear friends,
I am using Micrologix 1500 for some machine control application. I have following questions.Please help:
1.How using less number of rungs,I can add the content of 30 integer file? The integer files contains time value in secs , total digit 6. e.g. the content of N7:0 to N7:29 have to be added and the result is to be stored at N7:30.
2.Can any one suggest a program for counting the number of product per minuite and displaying the same on the PV 600 ?
I am using a program where the count value is being inputted (after rising edge evolution) at an interval of 15 secs(using 15 sec pulse generatior)to a counter. The sample count for 15 secs is then multiplied by 4 and the value for 15x4=60secs is stored into an integer file for displaying on panel view 600. The counter is resetted after 60 secs to take fresh input.
This program works ok but inetially the count reading increases e.g 2,4,8,16- like this for 15 secs and then gives the total value for 1 minuite. I think ,if I decrease the sample time from 15 secs to, may be, 5 secs and then multiply by 20-will that give some flicker free reading on display.
Please suggest if there is any better method for such an application.
Thanks
Arup Basu
I am using Micrologix 1500 for some machine control application. I have following questions.Please help:
1.How using less number of rungs,I can add the content of 30 integer file? The integer files contains time value in secs , total digit 6. e.g. the content of N7:0 to N7:29 have to be added and the result is to be stored at N7:30.
2.Can any one suggest a program for counting the number of product per minuite and displaying the same on the PV 600 ?
I am using a program where the count value is being inputted (after rising edge evolution) at an interval of 15 secs(using 15 sec pulse generatior)to a counter. The sample count for 15 secs is then multiplied by 4 and the value for 15x4=60secs is stored into an integer file for displaying on panel view 600. The counter is resetted after 60 secs to take fresh input.
This program works ok but inetially the count reading increases e.g 2,4,8,16- like this for 15 secs and then gives the total value for 1 minuite. I think ,if I decrease the sample time from 15 secs to, may be, 5 secs and then multiply by 20-will that give some flicker free reading on display.
Please suggest if there is any better method for such an application.
Thanks
Arup Basu