Page 1 of 1

MATL G-Code "Custom Syntax"

Posted: 14 Nov 2017, 06:17
by crpalmer
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.

Re: MATL G-Code "Custom Syntax"

Posted: 14 Nov 2017, 17:06
by hacker
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]

Re: MATL G-Code "Custom Syntax"

Posted: 14 Nov 2017, 19:11
by crpalmer
Thanks! I didn't think to try square brackets around the gcode. Doh.

Re: MATL G-Code "Custom Syntax"

Posted: 15 Nov 2017, 16:18
by hacker
crpalmer wrote:Thanks! I didn't think to try square brackets around the gcode. Doh.
Neither did I until I tried ;-)