Arc no movement when spindle running

More
09 Dec 2019 17:38 #152385 by hanmon
Hi,

I'm desperate with the following code that is generated by a postprocessor for SolidCam:
%
(NUMMER1.TAP)
( MCV-OP ) (06-DEC-2019)
(SUBROUTINES: O2 .. O0)         
G92.1 (set to ZERO 5211-5219 - G92 offset X Y Z A B C U V W)
(################################)
(Tools used in this file)
(Tool Number=2 Tool Diameter=2.0 -  - Schaftfräser)
(Tool Number=1 Tool Diameter=1.5 -  - Schaftfräser)
G90 (Absolute Mode)
G80 G49 G40 (turn off canned cycle, Cancel Tool Length Compensation, turn cutter compensation off)
G54 (select coordinate system 1)
G92.1 (set to ZERO 5211-5219 - G92 offset X Y Z A B C U V W)
G54 (select coordinate system 1)
G30 (go to "tool-change"-position stored in  5181-5189 as the X Y Z A B C U V W)  (set with G30.1 before !!!!!)
(######################################################)
(DEBUG, Change to  - Schaftfräser with diameter 2.0 then click Resume)
N1 M6 T2
(TOOL -2- MILL DIA 2.0 R0. inches )
 G0 X5.2031 Y-3.4783 Z80.S2500 M3
M8
(----------------------)
(PR-FLAECHEN - POCKET-3D)
(----------------------)
   X5.203 Y-3.478 Z80.
   Z2.5
G2 Z1.961 I-0.287 J-0.937 F300

.....
.....

LinuxCNC stops on the line before G2 and does not show any error.
The position is correct (5.203/-3.478/2.5) the spindle is running but the line with the arc is not executed.

If I type that line in MDI while spindle is running it does not move either.
But it moves when spindle is off.
I tried G94/G95/G91.1 etc.... no change.

What am I doing wrong ?

Thanx !

Please Log in or Create an account to join the conversation.

More
09 Dec 2019 18:01 #152387 by hanmon
AAAhhh,

found out myself, I think.

forum.linuxcnc.org/21-axis/31786-motion-...indle-at-speed#82421
Yes, the machine will only pause to wait for the spindle at speed signal before a cutting move. It will still perform any G0 moves then wait at the start of the first G1,G2... until the pin goes true. All non auto movement is unchanged (jogging, MDI...) Once the at speed signal goes true the machine will not pause again if it later goes false, unless a spindle speed change or start is commanded.

Have to find out WHY the signal is false.

THX

Please Log in or Create an account to join the conversation.

More
09 Dec 2019 21:20 #152392 by Todd Zuercher
Normally, if the hal pin "motion.spindle-at-speed" is not connected to anything it is always true and therefore ignored. If you have it connected to something (even an unused signal in hal, It will be false unless driven true by something. If you are using a spindle at speed signal from your VFD make sure it is changing to true at the correct times. If you have it connected to a proper signal you may just need to invert it in hal for it to work correctly.

Please Log in or Create an account to join the conversation.

More
09 Dec 2019 22:01 #152396 by hanmon
Hi Todd,

thank you for the additional information about the default state of an unconnected "motion.spindle-at-speed".
I will try to connect it to an inverted "Main Spindle Stopped" signal tomorrow.
It should work then.

Please Log in or Create an account to join the conversation.

More
10 Dec 2019 10:30 #152424 by hanmon
Yep,

works!

Cheers

Please Log in or Create an account to join the conversation.

Time to create page: 0.133 seconds
Powered by Kunena Forum