cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Turn off the spindle between each sequences

RJ_FR
9-Granite

Turn off the spindle between each sequences

Hello,

 

I try to find a way to desactivate the spindle (or set it to 0) between two sequences with the same tool.

Example between 2 engraving sequences at the end of the first, spindle Z return to a safe plan, rapid  move to the second sketch and engrave but all with the spindle at the same speed.

 

For the moment I tested with inserting CL data but i think it's not very clean and risky.

2024-07-31 08_10_58-.png

 

Is there a more professional method ?

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
RJ_FR
9-Granite
(To:KenFarley)

I tested several solutions thanks to your suggestions. The most effective is to insert CL command in sequence. On the other hand I agree it is one of the most dangerous at the risk of forgetting to modify other parameters.

But it is only for one specific case between 2 sequences. A solution to avoid forgetting parameters that I am going to use will be to define a machining method .xml and reuse it for each case. It save the "manually add" CL commands fot the sequence.

 

Thanks for the help.

View solution in original post

8 REPLIES 8
KenFarley
21-Topaz I
(To:RJ_FR)

I guess it would depend on exactly what you want to do.

Are you wanting to

(a) Execute a sequence

(b) Stop the spindle

(c) Move to the next sequence start position

(d) Start the spindle

(e) Execute the sequence

...

If I had to do this I would likely do it by adding CL commands to the end of one sequence and the beginning of the next sequence.

You have to remember to turn off everything that should, like coolant, etc. I'll use something like this often if I'm running a sequence that I need to stop and check. For example, to make sure I've engraved to a sufficient depth.

The possible trouble with this approach is forgetting something, like turning the spindle back on, if you edit the sequences in the future. Or forgetting to turn the coolant back on.

Another approach is to use an auxiliary sequence, an old style type of sequence that you need to activate via some config.pro editing:

https://community.ptc.com/t5/Manufacturing-CAM/To-Create-an-Auxiliary-NC-Sequence-in-Creo-7-0/m-p/687177#M4682 

This type of sequence was very helpful in the past. You can use it to group together the things you want to do in a nice single sequence. Something like Turn off spindle -> Move to start point of next sequence -> turn on spindle. You can put an optional stop in there for checking on things, a hard stop if you need to add clamps for the next sequence, etc.

I always preferred the auxiliary sequence because it is a sequence and shows up in the model tree. I don't have to remember that I've got CL data insertions hidden within my sequences.

RJ_FR
9-Granite
(To:KenFarley)

Ok thanks, i add the option, but i don't find how to turn off spindle. I try with an OPSTOP (modify parameters of the Auxiliary sequence), it works, the code is convert in M05 in my program but not with the spindle...

KenFarley
21-Topaz I
(To:RJ_FR)

If you add an auxiliar sequence, you can then use the "customize" (I'm sorry I don't know the French) to add CL commands, GOTO points, etc. It would be like you had in your first post, with SPINDL/ OFF before and spindle off after your engraving.

It's a way to have all these things you could add to the beginning or end of sequences but put them in a self-contained sequence. The difficult thing for what you want to do is to move the tool from the end of one sequence to the beginning of the next one. You might have to define a datum point to use as a GOTO point, or you can input X, Y, and Z distances to move, or whatever you can come up with.

RJ_FR
9-Granite
(To:KenFarley)

I try to add it everywhere in the sequence to be sure 😄

 

2024-07-31 19_00_42-LASER_FLASQUE_ROUE (Actif) - Creo Parametric.png

The Goto works but the spindle still spin !

 

2024-07-31 19_00_56-C__Users_jaccazr_Desktop_000 sortie post pro_op010.tap - Notepad++.png

KenFarley
21-Topaz I
(To:RJ_FR)

One possible thing that might be causing it to be ignored: did you specify a tool for the auxiliary sequence? If you did, and it is the same as your engraver, that might be why your spindle commands are being ignored. If the post sees you are using the same tool for a sequence that is already in the spindle, it might be ignoring the SPINDL/OFF commands...

If it will let you, you should change the tool to "nothing" and see if that fixes things.

 

BenLoosli
23-Emerald II
(To:KenFarley)

Won't a tool callout, even to a null tool, cause the post to generate a tool change sequence, which would stop the spindle, send the spindle to the tool change position and then need another tool callout to put the engraving tool back in before returning to the goto point.

I don't think it interprets the null tool as a tool change, but it seems to trigger the output of a SPINDL/OFF. I think this is what is causing it to subsequently "pay attention" to the auxiliary sequence SPINDL/OFF and SPINDL/ON commands.

I don't know, though. I never just turn off the spindle unless I am going to do other stuff between the on/off toggling. Like moving away so I can get in there and measure a critical feature, or put some different clamps in place, etc. So I always have other "activities" before I have to turn the spindle back on. I don't like doing this stuff because there are a lot of things I have to remember to do, like coolant, that can be annoying if I forget them. Have I forgotten to even turn the spindle back on and had a conniption while running the program? Maybe.

RJ_FR
9-Granite
(To:KenFarley)

I tested several solutions thanks to your suggestions. The most effective is to insert CL command in sequence. On the other hand I agree it is one of the most dangerous at the risk of forgetting to modify other parameters.

But it is only for one specific case between 2 sequences. A solution to avoid forgetting parameters that I am going to use will be to define a machining method .xml and reuse it for each case. It save the "manually add" CL commands fot the sequence.

 

Thanks for the help.

Top Tags