- Configuring LinuxCNC
- Advanced Configuration
- Is it possible to change encoder scale and set an output high during rapid move
Is it possible to change encoder scale and set an output high during rapid move
19 Jun 2017 03:59 - 19 Jun 2017 04:01 #94689
by zoni
Hi I am using 7i52S + 5i20, I was wondering is it possible to change the encoder scale and set an out put pin high during G0 rapid mode we have separate error tolerances for rapid and linear moves. If we have separate encoder scales and an output during rapid the machine can go a lot faster and we can set high resolution for linear moves. E.g. We can move machine at 15mpm and at the same time we can set resolutions of 1um
Any possibility even using classic ladder
Any possibility even using classic ladder
Last edit: 19 Jun 2017 04:01 by zoni.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
19 Jun 2017 13:03 #94697
by Todd Zuercher
Replied by Todd Zuercher on topic Is it possible to change encoder scale and set an output high during rapid move
If you choose the right daughter card(s) (ones that don't mux the encoder inputs) those resolutions and count rates should be achievable with Mesa cards without resorting to any sort of trickery.
For example this is quoted from the 7i33 manual "In RS-422 mode, maximum encoder input frequency is 10 MHz, giving a maximum count rate of 40 million counts per second. Maximum count rate may be further limited by encoder counter limitations or rate filters."
Unfortunately the 7i52s does use muxed encoders (Using 10 pins to read 6 encoders rather than the 18 it would take to read them directly.)
For example this is quoted from the 7i33 manual "In RS-422 mode, maximum encoder input frequency is 10 MHz, giving a maximum count rate of 40 million counts per second. Maximum count rate may be further limited by encoder counter limitations or rate filters."
Unfortunately the 7i52s does use muxed encoders (Using 10 pins to read 6 encoders rather than the 18 it would take to read them directly.)
Please Log in or Create an account to join the conversation.
19 Jun 2017 19:03 #94708
by PCW
Replied by PCW on topic Is it possible to change encoder scale and set an output high during rapid move
1u resolution at 15 Mpm is only a 250 KHz count rate so easily handled by the 7I52S
The following error limit is already proportional to velocity (if ferror and min-ferror are setup properly)
so you may just need to set these to reasonable values to get the different error threshold feature you want
The following error limit is already proportional to velocity (if ferror and min-ferror are setup properly)
so you may just need to set these to reasonable values to get the different error threshold feature you want
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
19 Jun 2017 21:19 #94712
by Todd Zuercher
Replied by Todd Zuercher on topic Is it possible to change encoder scale and set an output high during rapid move
I must have miscalculated, for some reason I was thinking 15MHz.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- Is it possible to change encoder scale and set an output high during rapid move
Time to create page: 0.062 seconds