Solidworks CAM CAMWorks Postprocessor

More
29 Nov 2022 10:35 #257957 by piflixe
yes we tried using the P as text and that is what we did in the START_OF_TAPE. But then we could not make it modal. So if we want to make it switch between different settings for rapid and cut moves then it would appear in every line. Also tried putting it in the RAPID_DOWN / RAPID_UP moves but did not get a reliable behaviour.

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

More
29 Nov 2022 10:37 #257958 by Ralfh
Ah, i understand. Sadly i can't help in this case...

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

More
29 Nov 2022 10:45 #257959 by piflixe
Thanks for the quick reply. if the tool diameter needs to be smaller than half of the pocket diameter this would make sense. However, I understand the G41/G42 documentation that the coordinates from a G40 to a G41 move need to be at least R+dR away from each other to allow for the tool radius to fit in between. This would mean theoretically I could cut a hole with any tool that is smaller than the hole diameter (this is also what I would expect).

Example (with the numbers from above):
- we want to cut a hole that has a diameter of 10 around the origin
- we use a tool with diameter of 6
- we start in the middle of the whole

From what I understand the G-Code should look something like this:
<header>
G0 X0Y0
G41 D<tool-number>
G1 X0 Y5 ; straight approach 
<go in a circle>
G40
G1 X0 Y0 ; go back to the middle of the hole
<program end>

The leadin / leadout have the length of 5 so it should be possible to use them as leadin moves from G40 to G41 and vice versa.

What am I doing wrong?

(of course, with the code above I would get the bump as described in the documentation but I wanted to have a very simple example with no overlaps and such)

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

More
29 Nov 2022 10:59 #257960 by Ralfh
Yeah, ok, that is better math than i did 
With that straight approach it should work... You should try that as a leadin-move in CAM. In the code earlier  you had an arc entry move, it's possible that this fucked up the G41 move in that small hole? 

 

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

More
31 Jan 2023 16:31 #263369 by Commander0115
Hi everybody.

Thanks a lot for this renewed PP.
But can someboby tell me, why at the end of the Gcode the first tool will be loadet again?
I think this makes no sense.

Here a litte peace from the end of my code:


G01 Z-14. F2500.
G41 D05 X101.024 Y14.324
G03 X100.6 Y14.5 I-.424 J-.424
G01 X91. F2520.
G03 X88. Y11.5 I0 J-3.
G01 Y-11.5
G03 X91. Y-14.5 I3. J0
G01 X100.6
G03 X101.024 Y-14.324 I0 J.6
G40 G01 X103.23 Y-12.118
G00 Z3.
Z25.
M09
G91 G28 Z-1 M05
T03 M06
M30
(18 MIN.  57 SEC. )
*

Best regards Alex

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

More
31 Jan 2023 22:16 #263398 by Masiwood123
if you have solidcam installed, this post works great for me for the lathe (I found it here somewhere on the forum) 

File Attachment:

File Name: LinuxCNCSo...athe.zip
File Size:8 KB
Attachments:

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

More
02 Feb 2023 10:36 #263513 by Ralfh
Weird... I checked old code from that PP and it didn't load a Tool at the end.

examplecode with multiple tools used:
...
Y50.318
G03 X27.32 Y50.542 I-.318 J0
G01 X27.095 Y50.767
G00 Z5.
Z27.
M09
G91 G28 Z-1 M05
T14 M06  (3.3mm JOBBER DRILL)
S8000 M03
M08
G90 G54 G00 X53. Y103.
T14 G43 Z27. H14
( Drill1 )
G83 G98 R5. Z0 Q2. F719.2
Y88.
G80 G00 Z27.
M09
G91 G28 Z-1 M05
M30
(1 MIN.  44 SEC. )
*

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

More
23 Nov 2023 09:08 #286310 by Raban
the problem is your gcode here :

G41 D42 X.907 Y4.487 F225.

Your tool is 42mm diameter ?? i think no

Remove D42 from gcode

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

Moderators: Skullworks
Time to create page: 0.086 seconds
Powered by Kunena Forum