Variable Text - Cut Setting option

Hi everyone, hope everything ok with you, not dead just very busy and without time for lasers.

My question is simple, what is the letter to index (think this is the correct term) to show the number of passes when I edit the code?
I have already consulted the software documents but it does not indicate the letter for this detail.
C00 - For layer “00”
S - to speed including unit of measurement
P - to max power including “%” symbol
But for number of passes I don’t find anything…
:thinking:

Or am I seeing things wrong?

I don’t intend to compete with the “Material Test” tool :grin:, but I want to do some specific tests on plywood and it would be useful to have the number of passes “automatically”.
P. S. - Yes, this has to do with my last two topics,… still.
https://forum.lightburnsoftware.com/t/material-thickness-cut-technics-suggestions/160443
https://forum.lightburnsoftware.com/t/laser-support-table/163687

To give you a hint, I created a simple test file with three squares: one with one
pass, one with two, and one with three… have a look at the code and see if that helps you

phases_test.gc (598 Bytes)
You can open gc-Files with any editor, e.g. notepad

Maybe it helps original poster, but it didn’t help me.

Thank you. I’ve try that approach too but no luck. G code doesn’t describe the codes needed for variable text.
What I need is something very close to this video (from the minute 7:15) from @thelmuth. But there is no mention to the number of passes letter code.

Since that information is available in the “Material Test” feature, I assume there is a code for that.

Hi @Dskall,
I am sorry but I don’t understood what you mean. Can you be more specific?

According to the documentation:

the number of passes is not supported. All the information that is supported is in the table on that docu page.

Expression Output
C Followed by a number, pulls settings from the numbered cut layer (e.g. C03) for the remainder of this string
s Speed, as a number in the current speed units
S Speed, including the current units (like mm/sec)
p Max Power, as a percentage
P Max Power, including the percent sign
m Min Power, as a percentage
M Min Power , including the percent sign
d / D DPI, as a number, always dots per inch
i Interval, in the current distance units
I Interval, including the current distance units (like mm)
L Displays the name of the laser. Can optionally be followed by a character index to start displaying from, and optionally, a comma and a 2nd number for the number of characters to display. For example, if L displayed Ruida 6442G, L6 would display 6442G, and L6,4 would display 6442 (without the quotes)
z Z Offset for the current layer, in the current distance units
Z Z Offset for the current layer including the units (eg, mm)
q Q-Pulse width
Q Q-Pulse width, followed by ns to indicate the units
k Frequency in kHz
K Frequency in kHz, followed by kHz to indicate the units

Number of Passes can be accessed with ‘n’. It’s possible this wasn’t added to the docs, so I’ll let the team know.

2 Likes

Oz Thank you very much. That’s it! :100:
If you let the team know to add that to the documents i’ll be appreciated, otherwise I would do it.

@misken
As I expected, if when using the “material test” feature the information on the number of passes exists, I immediately deduced that it was possible through variable text. To do this, you just need to know the code. :wink:

Can you guess now the number of passes selected on each layer? :wink:

(The word “Passes” must be between ’ ’ because the letter P is the code to display the power including the “%” sign.)

We don’t have all settings available through the variable text system, but many of them are there. I think the number of passes was initially omitted and then added when a user requested it, but I forgot to tell the docs team about it. They’ve now made the change as well.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.