Welcome! Log In Create A New Profile

Advanced

While loop in gcode

Posted by Arnix 
While loop in gcode
November 19, 2018 08:04AM
Hi.
Is it possible to repeat gcode process for some amount of times ?
While, IF loops ? Directly in gcode...

Arnix
Re: While loop in gcode
November 19, 2018 08:43AM
Threre is a loop but no conditional branching.

[reprap.org]
Re: While loop in gcode
November 19, 2018 05:37PM
Conditional branching and controlled loops are planned for the next major release of RepRapFirmware. Some of the preparatory work is included in the latest release e.g. variable substitution, but there isn't enough of it to be useful yet.

Edited 1 time(s). Last edit at 11/19/2018 05:39PM by dc42.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
VDX
Re: While loop in gcode
November 19, 2018 07:01PM
... I'm sometimes working with "macros" - the single macro segments (g-code or HPGL or DXF) are either combined to a single g-code file, or can be processed a single jobs -- then a program structure with loops and conditions can be made in the main program (mainly python, C# or VB ) and/or controlled by a script ...

Edited 1 time(s). Last edit at 11/19/2018 07:01PM by VDX.


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Sorry, only registered users may post in this forum.

Click here to login