Hello ppl.
I'm makeing a machine that slit's metal into several lines.I am working with a C7 635 OP.
And ofcourse I measure how much metal was slit. I use an incremental encoder with 512 impulses per revolution for this measurment. But the problem is that the measrument isn't correct. My program doesn't register all the signals that are comeing from the encoder. I know this beacouse I connected an external counter of impulses to the encoder. The diference beatwen the external counter and my counter is over 10000 impulses!!!!
This is how I made the counter of Impulses:
I've made a counter with an ADD_Real function with posivite edge detection. And then I devide the whole amount of impulses by 487.6 to get the distance in meters. But unfortunatley this method doesnt work, beacouse the loss of the impulses.
So I'm thinking:
This OP has an onboard counter but I don't know how to implement it in to the program... Could someone please give me some pointers on how to do this...
Any advice would be great!!!
Thank you.
Regards
>Ales<
I'm makeing a machine that slit's metal into several lines.I am working with a C7 635 OP.
And ofcourse I measure how much metal was slit. I use an incremental encoder with 512 impulses per revolution for this measurment. But the problem is that the measrument isn't correct. My program doesn't register all the signals that are comeing from the encoder. I know this beacouse I connected an external counter of impulses to the encoder. The diference beatwen the external counter and my counter is over 10000 impulses!!!!
This is how I made the counter of Impulses:
I've made a counter with an ADD_Real function with posivite edge detection. And then I devide the whole amount of impulses by 487.6 to get the distance in meters. But unfortunatley this method doesnt work, beacouse the loss of the impulses.
So I'm thinking:
This OP has an onboard counter but I don't know how to implement it in to the program... Could someone please give me some pointers on how to do this...
Any advice would be great!!!
Thank you.
Regards
>Ales<