MATL G-Code "Custom Syntax"

Discuss general topics that don't suit another sub-forum

MATL G-Code "Custom Syntax"

Postby crpalmer » 14 Nov 2017, 06:17

I am trying to configure my Taz 6 for multiple materials. Ideally, each material has 4 material specific temperatures (soften, wipe, probe, part removal). I want to define these temperatures and then reference them in the printer's g-code sections, for example to have

M109 R<SOFTEN>

in the pre-fix g-code. I tried various forms of this and couldn't get anything to work. I tried specifying:

SOFTEN=175
<SOFTEN>=175

and reference it as

M109 R<SOFTEN>
M109 R<MATL_SOFTEN>
<SOFTEN>
<MATL_SOFTEN>

and none seemed to work.

Could anyone provide advice or point me to an example of someone doing something similar?

Thanks,
Chris.
crpalmer
 
Posts: 3
Joined: 14 Nov 2017, 06:12

Re: MATL G-Code "Custom Syntax"

Postby hacker » 14 Nov 2017, 17:06

If I understand you right, it took me a while to figure, though it's exactly what's written in the description (<TOKEN>=[G-code]). You should write

Code: Select all
<SOFTEN>=[175]
hacker
 
Posts: 137
Joined: 20 Aug 2016, 18:25

Re: MATL G-Code "Custom Syntax"

Postby crpalmer » 14 Nov 2017, 19:11

Thanks! I didn't think to try square brackets around the gcode. Doh.
crpalmer
 
Posts: 3
Joined: 14 Nov 2017, 06:12

Re: MATL G-Code "Custom Syntax"

Postby hacker » 15 Nov 2017, 16:18

crpalmer wrote:Thanks! I didn't think to try square brackets around the gcode. Doh.


Neither did I until I tried ;-)
hacker
 
Posts: 137
Joined: 20 Aug 2016, 18:25


Return to General

Who is online

Users browsing this forum: No registered users and 2 guests

cron