blueyedpeter
Lifetime Supporting Member
May i start with good morning noon and night
Yes i am back on the project again i am attempting to get a little more involved in programming.
I must admit that hard wiring is a little more common sense for me than programming .
So here is my problem its more about connecting the dots , if i were to say i had two inputs one is driven and would have a count rate no more than 130 beats a minuet and the other a count rate of no more than 500 beats a minuet . Now both inputs will be used to determine many things , so lets start with the speed of input two the 500 count input.
What i need is it explained for a dummy.
The ratio of the beats to each other will change at different gear ratios , but that's not important now getting a speed reference stored into a register and getting it updated for accuracy about every 2 seconds is .
The plc will probably be an rs500 5/03 with numerous cards but for simplicity i would like to keep it to bit logic , get and understanding of the hardware and number crunching and then use a counter card later.
For simplicity any examples of code would help and or any descriptions will greatly broaden my knowledge base on this subject thanks again for any help you might offer cheers peter
Yes i am back on the project again i am attempting to get a little more involved in programming.
I must admit that hard wiring is a little more common sense for me than programming .
So here is my problem its more about connecting the dots , if i were to say i had two inputs one is driven and would have a count rate no more than 130 beats a minuet and the other a count rate of no more than 500 beats a minuet . Now both inputs will be used to determine many things , so lets start with the speed of input two the 500 count input.
What i need is it explained for a dummy.
The ratio of the beats to each other will change at different gear ratios , but that's not important now getting a speed reference stored into a register and getting it updated for accuracy about every 2 seconds is .
The plc will probably be an rs500 5/03 with numerous cards but for simplicity i would like to keep it to bit logic , get and understanding of the hardware and number crunching and then use a counter card later.
For simplicity any examples of code would help and or any descriptions will greatly broaden my knowledge base on this subject thanks again for any help you might offer cheers peter