Post code example
Cheers
Roger
Hi all,
I have recently bought a redsail RS-6090 from hflaser.com, machine has arrived and seems to work, a bit disappointed I had to build an old windows XP 32bit machine to get the NC Studio software to run, the issue we are having is we make an "NC" g code with artcam then load file to NC Studio, the machine starts to engrave then z axis drives the end mill through the table, I don't think NC studio understands the machine parameters. has anyone set one of these up and could assist?
Many Thanks
Similar Threads:
Post code example
Cheers
Roger
%
:1248
N20G91G28X0Y0Z0
N30G40G17G80G49
N40T1M6
N50G90G54
N60G43Z5.000H1
N70G0X0.000Y0.000S30000M3
N80G0X90.085Y63.459Z5.000
N90G1Z-0.750F1000.0
N100G1Y63.219F2000.0
N110X90.246
N120X90.085Y63.459
N130G1Z-1.500F1000.0
N140G1Y63.219F2000.0
N150X90.246
N160X90.085Y63.459
N170G0Z5.000
N180G0X46.205Y66.452
N190G1Z-0.750F1000.0
N200G1X46.351Y66.598F2000.0
N210X46.520Y66.723
N220X46.705Y66.823
N230X46.902Y66.895
N240X47.104Y66.938
N250X47.486Y66.959
N260X47.868Y66.953
N270X48.102Y66.934
N280X48.332Y66.877
N290X48.550Y66.784
N300X48.748Y66.659
N310X49.056Y66.798
N320X49.378Y66.904
N330X49.709Y66.977
N340X50.045Y67.014
N350X50.348Y67.024
N360X50.652Y67.010
N370X50.954Y66.974
N380X51.300Y66.899
N390X51.796Y66.720
N400X52.038Y66.596
N410X52.267Y66.447
N420X52.481Y66.277
N430X52.676Y66.087
N440X52.790Y66.294
N450X52.940Y66.485
N460X53.122Y66.651
N470X53.329Y66.783
N480X53.552Y66.878
N490X53.782Y66.934
N500X54.200Y66.960
N510X54.619Y66.953
N520X54.824Y66.938
N530X55.032Y66.893
I thoroughly despise CAM programs which generate code looking like that. The stuff is incomprehensible (to humans).
They write:
N180G0X46.205Y66.452
N190G1Z-0.750F1000.0
N200G1X46.351Y66.598F2000.0
N210X46.520Y66.723
I would write:
G0 X46.205 Y66.452
F1000.0
G1 Z-0.750
F2000.0
G1 X46.351 Y66.598
G1 X46.520 Y66.723
That said, the code example you posted does not try to send the Z axis anywhere, other than up to Z=+5.0 and down to Z=-0.75 and Z=-1.5 , so I don't know what is happening.
Should I assume that you are working in metric AND that you have set the machine to metric? There are no g20/g21 instructions that I can see.
Also, I note the program starts with g91 but then goes to g90 - hardly obvious because of the revolting formatting, and a somewhat strange way of doing things.
Ah well, forgive my snarking about the generated code. It comes with age and the hot weather we are having. :-) You need someone with more experience of that machine and SW.
Cheers
Roger
Hi valleyengraving,
I'm pretty sure that either your Artcam toolpath parameters should be wrong or should your Z Zero origin be.
Be sure to double check the simulation in Artcam, then the Z origin zero on your workpiece.
I'd say the safest way to test run is to set a Z origin well above the job so it will only cut air. Then observe the co-ordinate readings to assess the fault.
Be sure to throw in some feedback
Kudos!
Guru
Hi Roger,
Yes, wise words. I agree.
Those CAM generated programs are an eye-sore if you read them through.
And, it has to switch to G90 mode as it programs in ABS mode. The G91 in the first line was unnecessary though