Here's a weird one.
I have EMC2 configured for rigid tapping, so:
# Spindle Position Sensor
# Tapping back gear, 1:8 ratio.
# 4096 counts in revolution multiplied by 8 = 32768
setp ppmc.0.encoder.03.scale 32768
net spindle-pos ppmc.0.encoder.03.position
net spindle-pos motion.spindle-revs
net spindle-index-en motion.spindle-index-enable
net spindle-index-en ppmc.0.encoder.03.index-enable
It actually worked "in the air" (except the spindle was in back gear and was
rotating opposite to what was correct, subject of a separate post), but
after pressing F1 or smoething else, I started getting an error "spindle not
turning in g33.1", despite the spindle actually turning, as evidenced by Hal
Meter of spindle-pos.
Any idea why I would get this error message?
I found this code block:
+ } else if (move == G_33_1) {
+ CHKS(((settings->spindle_turning != CANON_CLOCKWISE) &&
+ (settings->spindle_turning != CANON_COUNTERCLOCKWISE)),
+ "Spindle not turning in G33.1");
+ START_SPEED_FEED_SYNCH(block->k_number, 0);
+ RIGID_TAP(block->line_number, end_x, end_y, end_z);
+ STOP_SPEED_FEED_SYNCH();
+ // after the RIGID_TAP cycle we'll be in the same spot
in
http://rs274.git.sourceforge.net/git/gitweb.cgi?p=rs274/rs274.git;a=commitdiff_plain;h=2291552c32b197f0e66587983846be1462a484ae
any idea what sets settings->spindle_turning?
i
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users