hi, i am new here can anyone help me
-
HI,i am now to the Duet Family i have just upgraded my flsun to have a duet2
I want to ask I have seen that you can create conditions where you can use an if statement
like if !move.axes[0]
is there a list of the variables as i want to create an if statement
to detect if the level probe is still connected
so it can not start printing when it is still connectedas this will make the probe crash into the bed
when my probe is connected on the dashboard the Z-probe is read and reading 1000
is there a way of reading this and creating a condition using
something likeif sensor.in (what ever is the z-probe)
-
What you are looking for is called the object model, so searching for that might help.
If you have DWC 3.3.0 or later there's a built-in plugin called 'Object Model Browser' that lets you browse the list, that's quite helpful. in teh web control Settings - General - Built In Pluhgins tab and enable the browser.
If you are running SBC you can go to http://<insert your printers IP address>/machine/status and get a full dump, and if your browser has a JSON prettifying function that's even easier to work than teh browser (I find).
There's documentation at https://github.com/Duet3D/RepRapFirmware/wiki/Object-Model-Documentation#overview
-
@quicksilverstar also set https://duet3d.dozuki.com/Wiki/GCode_Meta_Commands for conditional gcode commands and variables.
Ian