Ok…so I hooked everything up and tried to make a simple oval and create the gcode with estlcam. I set the plasma activation along with a 2 second pause to be:

M42 M3 P70

G04 P2000

But no luck. I used the J20 connector pin22 (PA17 aka digital pin 70) Does this code look correct?

Interestingly enough, during my troubleshooting I found that if I tried to print my file, the contents of the file would be NULL after returning the SD card to my computer. I’m not sure if this is because of the file freezing and failing? (EDIT: I’m guessing that M30 code has something to do with the file being emptied?)

I did however take the same activation and dwell codes and paste them into the crown test file and the movements ran as expected. (But no activation of the relay.)

Thoughts?

Oval code:

;Project OVAL

;Created by Estlcam version 11 build 11.221

;Machining time about 00:08:36 hours

G90

G00 X0.0000 Y0.0000 Z0.0000 F2100

G00 Z2.0000 F480

;No. 1: Hole 1

G00 X180.0000 Y180.0000 F2100

G00 Z0.5000 F480

G01 Z-1.0000 F180

M42 M3 P70

G04 P2000

G01 X188.9512 Y183.8660 F480

G01 X161.4090 Y217.2194

G01 X161.1401 Y217.5243

G01 X160.8518 Y217.8109

G01 X160.5454 Y218.0780

G01 X160.2221 Y218.3246

G01 X159.8834 Y218.5494

G01 X159.5308 Y218.7516

G01 X159.1656 Y218.9304

G01 X158.7896 Y219.0848

G01 X158.4042 Y219.2143

G01 X158.0113 Y219.3184

G01 X157.6123 Y219.3965

G01 X157.2091 Y219.4483

G01 X156.8034 Y219.4737

G01 X156.3968 Y219.4724

G01 X155.9913 Y219.4446

G01 X155.5884 Y219.3903

G01 X155.1899 Y219.3098

G01 X154.7975 Y219.2033

G01 X154.4130 Y219.0715

G01 X154.0379 Y218.9147

G01 X153.6739 Y218.7338

G01 X153.3224 Y218.5294

G01 X152.9851 Y218.3025

G01 X152.6634 Y218.0540

G01 X149.6094 Y215.5321

G01 X149.3046 Y215.2632

G01 X149.0179 Y214.9749

G01 X148.7508 Y214.6685

G01 X148.5043 Y214.3452

G01 X148.2794 Y214.0065

G01 X148.0772 Y213.6539

G01 X147.8985 Y213.2887

G01 X147.7440 Y212.9127

G01 X147.6145 Y212.5273

G01 X147.5105 Y212.1344

G01 X147.4324 Y211.7354

G01 X147.3805 Y211.3322

G01 X147.3552 Y210.9265

G01 X147.3564 Y210.5199

G01 X147.3842 Y210.1144

G01 X147.4385 Y209.7115

G01 X147.5191 Y209.3130

G01 X147.6255 Y208.9207

G01 X147.7574 Y208.5361

G01 X147.9141 Y208.1610

G01 X148.0950 Y207.7970

G01 X148.2994 Y207.4455

G01 X148.5263 Y207.1082

G01 X148.7748 Y206.7865

G01 X203.8592 Y140.0797

G01 X204.1281 Y139.7748

G01 X204.4164 Y139.4882

G01 X204.7229 Y139.2210

G01 X205.0461 Y138.9745

G01 X205.3848 Y138.7496

G01 X205.7374 Y138.5474

G01 X206.1026 Y138.3687

G01 X206.4786 Y138.2143

G01 X206.8640 Y138.0847

G01 X207.2570 Y137.9807

G01 X207.6559 Y137.9026

G01 X208.0591 Y137.8508

G01 X208.4649 Y137.8254

G01 X208.8714 Y137.8266

G01 X209.2770 Y137.8545

G01 X209.6798 Y137.9088

G01 X210.0783 Y137.9893

G01 X210.4707 Y138.0957

G01 X210.8552 Y138.2276

G01 X211.2303 Y138.3843

G01 X211.5943 Y138.5653

G01 X211.9458 Y138.7697

G01 X212.2831 Y138.9966

G01 X212.6048 Y139.2451

G01 X215.6588 Y141.7670

G01 X215.9637 Y142.0359

G01 X216.2503 Y142.3242

G01 X216.5174 Y142.6306

G01 X216.7640 Y142.9539

G01 X216.9888 Y143.2925

G01 X217.1910 Y143.6452

G01 X217.3698 Y144.0103

G01 X217.5242 Y144.3864

G01 X217.6537 Y144.7717

G01 X217.7578 Y145.1647

G01 X217.8359 Y145.5637

G01 X217.8877 Y145.9669

G01 X217.9131 Y146.3726

G01 X217.9118 Y146.7791

G01 X217.8840 Y147.1847

G01 X217.8297 Y147.5876

G01 X217.7492 Y147.9861

G01 X217.6427 Y148.3784

G01 X217.5109 Y148.7630

G01 X217.3541 Y149.1381

G01 X217.1732 Y149.5021

G01 X216.9688 Y149.8535

G01 X216.7419 Y150.1908

G01 X216.4934 Y150.5126

G01 X188.9512 Y183.8660

G01 X180.0000 Y180.0000

M42 M2 P70

G00 Z2.0000

M30

Partial Crown Code:

;Project 0102

;Created by Estlcam version 10 build 10.039

;Machining time about 00:02:33 hours

G90

G92 X0 Y0 Z0

G00 X0.0000 Y0.0000 Z0.0000 F2100

G00 X0.0000 Y0.0000 Z5.0000 F500

;No. 1: Engraving 6

G00 X75.2682 Y15.5365 Z5.0000 F2100

G00 X75.2682 Y15.5365 Z0.5000 F500

G01 X75.2682 Y15.5365 Z-1.0000 F210 S20000

M42 M3 P70

G04 P2000

G01 X77.4366 Y15.4952 Z-1.0000 F720

G01 X79.6043 Y15.4295 Z-1.0000 F720

G01 X81.7712 Y15.3396 Z-1.0000 F720

G01 X83.9370 Y15.2253 Z-1.0000 F720

G01 X86.1013 Y15.0868 Z-1.0000 F720