dthc not working

cncnutz

CNCnutz
Staff member
The Post processor you have is correct and assuming you followed the instructions in the PDF that came with the Post processor regarding the rules it should work correctly.

If you save the Job file from Sheetcam and post it for the square you were cutting we will be able to see your job setup and rules.

Regards Peter
 

Bm2002

Member
N0010 (Bestandsnaam: vierkant.tap)
N0020 (Postprocessor: MASSO G3 Plasma met Scribe v2.1.scpost)
N0030 (Datum: 18/07/2024)
N0040 G21 (Eenheden: Metrisch)
N0050G17
N0060G90
N0070G80
N0080G94
N0090 T112 M6
N0100 M666 (---THC uit---)
N0110 (Deel: test)
N0120 (Bediening: Buiten offset, 0, T1: Plasma, 1,1 mm snede)
N0130 (Plasma, 1,1 mm snede)
N0140 T112 M06
N0150G92.1
N0160 M667 F10.0 (THC-toevoersnelheid instellen)
N0170M666
N0180 G200 F50 P6.5 D700 C4.6 V0 A0 O0 S0
N0190G00X0.4898Y0.4898
N0200 M03 (---Plasma, 1,1 mm snede Aan---)
N0210 M66 (Bij start)
N0220 G03 X3.0000 Y-0.5500 I2.5102 J2.5102 F1300.0
N0230G01X10.2118
N0240 M667 (Bij het starten)
N0250G01X97.0000
N0260 G03 X100.5500 Y3.0000 I0.0000 J3.5500
N0270G01Y97.0000
N0280 G03 X97.0000 Y100.5500 I-3.5500 J0.0000
N0290G01X3.0000
N0300 G03 X-0,5500 Y97,0000 I0,0000 J-3,5500
N0310 G01 J3.0000
N0320G03X0.4898Y0.4898I3.5500J0.0000
N0330 M66 (Voor einde)
N0340M666
N0350 M05 (---Plasma, 1,1 mm snede Uit---)
N0360G00Z28.4000
N0370 M30 (---Einde programma---)
 

breezy

Moderator
The problem lies here
N0160 M667 F10.0 (THC-toevoersnelheid instellen) <==== Turn ON and set THC speed
N0170M666 <==== Turn OFF THC
N0180 G200 F50 P6.5 D700 C4.6 V0 A0 O0 S0
N0190G00X0.4898Y0.4898
N0200 M03 (---Plasma, 1,1 mm snede Aan---) <==== Start plasma
N0210 M66 (Bij start) <==== Should be Turn ON THC but it is calling M66 Wait for input.
....
N0330 M66 (Voor einde) <==== Should be Turn OFF THC but it is calling M66 Wait for input.
N0340M666
N0350 M05 (---Plasma, 1,1 mm snede Uit---)
So somewhere the PP is outputting M66 instead of M667 or M666
You need to find what is causing the M66 for the Turn THC ON or Turn THC OFF call.

Can you upload the PP that you are using, I would like to compare it to the original PP, to see if it is corrupted.
 
Last edited:

Bm2002

Member
The problem lies here

So somewhere the PP is outputting M66 instead of M667 or M666
You need to find what is causing the M66 for the Turn THC ON or Turn THC OFF call.

Can you upload the PP that you are using, I would like to compare it to the original PP, to see if it is corrupted.
the post processor i uploaded is the original one because i didn't edit it
 

cncnutz

CNCnutz
Staff member
The post processor is not the problem and the rules look good. My guess is the Gcode snippet for DTHC on is wrong.
Posting the Sheetcam .job file will give the answer in seconds or we can spend another week getting nowhere fast.
Cheers Peter
 

Bm2002

Member
De postprocessor is niet het probleem en de regels zien er goed uit. Ik gok dat het Gcode-fragment voor DTHC op fout is.
Als u het Sheetcam .job-bestand plaatst, krijgt u binnen enkele seconden antwoord. Anders kunnen we weer een week bezig zijn en komen we nergens.
Proost Peter
you mean the gcode of the assignment, I have already sent this
 
Last edited:

Bm2002

Member
De postprocessor is niet het probleem en de regels zien er goed uit. Ik gok dat het Gcode-fragment voor DTHC op fout is.
Als u het Sheetcam .job-bestand plaatst, krijgt u binnen enkele seconden antwoord. Anders kunnen we weer een week bezig zijn en komen we nergens.
Proost Peter
Wat zou dan de oorzaak kunnen zijn?
 

cncnutz

CNCnutz
Staff member
In Sheetcam you can save the project as a .job file.
This contains all of the information including your setup, rules and Gcode snippets.
I have looked through this topic and do not see the Job file.
Cheers Peter


1722201739318.png
 

breezy

Moderator
ok en dan zou het moeten werken
ok and then it should work
Don't know.
I have tried to create a gcode file from your job file, I'm not a Sheetcam user so the result is garbage but the THC OFF command is correct now.
For some reason it generates two M666 commands at the finish of the job and doesn't insert G200 or M03.
Need someone who uses Sheetcam to look at your job file to point out what else is wrong.
 

lilow

Lilow
That took you a while.
It seemed to be there from the start.
I couldn't understand why there would be an M66 in a generated file.
Breezy and cncnutz, could you both get this guy to cut this file, Ohmic has been modified O1.

T112 M6
M666
G200 F1500 P10.0 D600 C2.75 V108 A0 O1 S0
G00 X50. Y50.
M03
M667 F200
G01 X72.913 Y49.999 F2300
G03 X74.905 Y52.173 I0. J2.
X75. Y49.999 I-24.905 J-2.173
G01 X70.905 Y52.867
M05
M666
G00 Z60
X104.95 Y99.95
M03
M667 F200
G01 X100.586 Y95.586
G03 X100. Y94.172 I1.414 J-1.414
G01 Y5.
G02 X95. Y0. I-5. J0.
G01 X5.
G02 X0. Y5. I0. J5.
G01 Y95.
G02 X5. Y100. I5. J0.
G01 X95.
G02 X100. Y95. I0. J-5.
G01 X104.95 Y90.05
M05
M666
G00 Z60

G00 X0 Y0

The shape is the same as breezy's square, but with a better aspect of cutting.

But, before doing, set the Arc OK in F1 screen to (on). Red.
Cheers.
 

Attachments

  • g200test.tap
    486 bytes · Views: 1
Last edited:

Bm2002

Member
That took you a while.
It seemed to be there from the start.
I couldn't understand why there would be an M66 in a generated file.
Breezy and cncnutz, could you both get this guy to cut this file, Ohmic has been modified O1.

T112 M6
M666
G200 F1500 P10.0 D600 C2.75 V108 A0 O1 S0
G00 X50. Y50.
M03
M667 F200
G01 X72.913 Y49.999 F2300
G03 X74.905 Y52.173 I0. J2.
X75. Y49.999 I-24.905 J-2.173
G01 X70.905 Y52.867
M05
M666
G00 Z60
X104.95 Y99.95
M03
M667 F200
G01 X100.586 Y95.586
G03 X100. Y94.172 I1.414 J-1.414
G01 Y5.
G02 X95. Y0. I-5. J0.
G01 X5.
G02 X0. Y5. I0. J5.
G01 Y95.
G02 X5. Y100. I5. J0.
G01 X95.
G02 X100. Y95. I0. J-5.
G01 X104.95 Y90.05
M05
M666
G00 Z60

G00 X0 Y0

The shape is the same as breezy's square, but with a better aspect of cutting.

But, before doing, set the Arc OK in F1 screen to (on). Red.
Cheers.
I'm going to try this afternoon to see if it works, if so, what should I change in sheetcam so that it generates the right code. And one more thing, I don't have arc ok, so I can't turn that on either
 

Attachments

  • C0EC817D-F580-415D-9058-7B09CACF3222.jpeg
    C0EC817D-F580-415D-9058-7B09CACF3222.jpeg
    1.7 MB · Views: 2

breezy

Moderator
could you both get this guy to cut this file,
Unfortunately that file will throw a Z soft limit error, because his Z length is only 53mm.
I'm going to try this afternoon to see if it works,
You need to edit it before using it.
Change Z60 to Z50. It appears in two locations.
M666
G00 Z60 <=== Z50
what should I change in sheetcam so that it generates the right code
Lilow's code is not from Sheetcam he hand codes his work.
As for Sheetcam wait until someone jumps in with instructions.
And one more thing, I don't have arc ok, so I can't turn that on either
In docs
  • There is an
    25eb70de4e3f0d3c8a2ca8e37e9089ea.png
    button that is used to calibrate the ARC Detect voltage.
Read through from ARC Ok on setting up Arc OK
 

lilow

Lilow
Unfortunately that file will throw a Z soft limit error, because his Z length is only 53mm.

You need to edit it before using it.
Change Z60 to Z50. It appears in two locations.


Lilow's code is not from Sheetcam he hand codes his work.
As for Sheetcam wait until someone jumps in with instructions.

In docs

Read through from ARC Ok on setting up Arc OK
Yes, it will need editing to users specifications.
Z travel, pierce height, dwell time, etc.
During all the testing done with the DTHC and the DT115, to enable the torch touch off, strike arc, then movement, I had to run a wire (yellow) to the input pin designated for the Arc OK, as shown in the photo.
This being pin 8, the Arc OK was then set to a (high) in F1 input screen.
(this high stays on all the time) (24 volt system)
This cleared the confusion of waiting for the Arc OK in the Masso G3.

As I do not use an Ohmic sense the G200 code would set this way below for my use only.
T112 M6
M666
G200 F1500 P10.0 D600 C2.75 V108 A0 O0 S0

The g-code is set through an early version of BobCadCam -17, it's a 16 bit program.
(has been in use since 1998)

Cheers.
 

Attachments

  • Print Screen-134.bmp
    3 MB · Views: 2
  • Input 8 - Arc OK.jpg
    Input 8 - Arc OK.jpg
    77 KB · Views: 2
Last edited:

cncnutz

CNCnutz
Staff member
As Arie noted you have the Plasma Off snippet wrong with M66 instead of M667 which explains the strange Gcode.

I corrected that and added rule for the corner arcs to turn off the THC off 5mm before and turn it back on 5mm after the corner which will stop the torch dropping as it goes around the corner. I don't know if it is needed but you can have a play. The blue areas are where the DTHC is turned off for the cut.

1722297382127.png

I also added leading and lead out arcs so you don't get a big hole at the start of your cut. You can see it at the bottom left of the image below.
I have included the Gcode generate in the zip file below as well as the modified Job file that you can load and look at.

Please run the test Gcode and video the entire MASSO F2 screen so we can see if the DTHC is working.
Then show a photo or show the finished cut in your video so we can see how it turned out.
I think you still have a problem with the Arc turning off. Are you using the MASSO relay module or a third party relay to turn on and off the Plasma source?
Cheers Peter

1722295934548.png
 

Attachments

  • vierkant.zip
    2.8 KB · Views: 2

breezy

Moderator
I think you still have a problem with the Arc turning off. Are you using the MASSO relay module or a third party relay to turn on and off the Plasma source?
The usual cause of this is electrical noise.
Where exactly is your DTHC mounted?

Is it in control cabinet with MASSO?
Is it mounted with the Plasma source?
Is is mounted somewhere else?
Here is a photo of his machine.
I suspect that the DTHC is in the Control cabinet near the G3.

masso.jpg
 
Last edited:
Top