Encoder wiring - Mesa 7i33
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23279
- Thank you received: 4933
25 Mar 2011 23:42 #8092
by andypugh
Replied by andypugh on topic Re:Encoder wiring - Mesa 7i33
Fordperf393W wrote:
You can zero the encoder (set the "reset" bit high through a HAL pin). Generally you don't, the encoders just hold their value and can count for about a milliion years before they run out of counts. (Seriously, the counts are held in a 64-bit number).
Normally you zero-out the axis using either "home" or "touch-off". The former says "this is zero in the absolute machine axis positions" and the latter means "for this job, I want zero to be here". Think of it as the difference between winding a manual machine to the end stops, or tweaking the micrometer thimble on the handwheel.
EMC2 has several coordinate sets available, so you can set up all 4 corners of a machine vice or whatever to suit. I suspect it is a bit early in your build to worry about it, but here is a page which explains: wiki.linuxcnc.org/emcinfo.pl?CoordinateSystems
Yes, in about three different ways, depending on what you are wanting to do.is it possible to zero out an axis at its current position?
You can zero the encoder (set the "reset" bit high through a HAL pin). Generally you don't, the encoders just hold their value and can count for about a milliion years before they run out of counts. (Seriously, the counts are held in a 64-bit number).
Normally you zero-out the axis using either "home" or "touch-off". The former says "this is zero in the absolute machine axis positions" and the latter means "for this job, I want zero to be here". Think of it as the difference between winding a manual machine to the end stops, or tweaking the micrometer thimble on the handwheel.
EMC2 has several coordinate sets available, so you can set up all 4 corners of a machine vice or whatever to suit. I suspect it is a bit early in your build to worry about it, but here is a page which explains: wiki.linuxcnc.org/emcinfo.pl?CoordinateSystems
Please Log in or Create an account to join the conversation.
- Fordperf393W
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
26 Mar 2011 00:15 #8095
by Fordperf393W
Replied by Fordperf393W on topic Re:Encoder wiring - Mesa 7i33
I assume this is because of the sample gcode loaded, i get a following error when i try to home an axis. or 'cant execute mdi command when not homed'
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23279
- Thank you received: 4933
26 Mar 2011 00:34 #8096
by andypugh
Replied by andypugh on topic Re:Encoder wiring - Mesa 7i33
just clicking the "home" button for each axis will make that problem go away.
(Or you can put the NO_FORCE_HOMING option in for testing)
linuxcnc.org/docs/html/config_ini_config...b:%5BTRAJ%5D-section
(Or you can put the NO_FORCE_HOMING option in for testing)
linuxcnc.org/docs/html/config_ini_config...b:%5BTRAJ%5D-section
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.074 seconds