MATL G-Code "Custom Syntax"

Discuss general topics that don't suit another sub-forum
Post Reply
crpalmer
Posts: 3
Joined: 14 Nov 2017, 06:12

MATL G-Code "Custom Syntax"

Post 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.
hacker
Posts: 149
Joined: 20 Aug 2016, 18:25

Re: MATL G-Code "Custom Syntax"

Post 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]
crpalmer
Posts: 3
Joined: 14 Nov 2017, 06:12

Re: MATL G-Code "Custom Syntax"

Post by crpalmer »

Thanks! I didn't think to try square brackets around the gcode. Doh.
hacker
Posts: 149
Joined: 20 Aug 2016, 18:25

Re: MATL G-Code "Custom Syntax"

Post by hacker »

crpalmer wrote:Thanks! I didn't think to try square brackets around the gcode. Doh.
Neither did I until I tried ;-)
Post Reply