dezsoe wrote:You didn't specify exactly what do you need. Probing may mean 3 different things in UCCNC: the actual G31 (LED 24), the M31 (use your own LED or output) or probing using the Probe screen (LED 310 since 1.3.4 which was released in UCCNC 1.2114). (Not to mention other plugins and/or macros that may probe, e.g. ProbeIt.) To cover all the cases you need an LED for the M31 and a macroloop to read all 3 LEDs and set an output if any of them is on.
dezsoe wrote:You didn't specify exactly what do you need. Probing may mean 3 different things in UCCNC: the actual G31 (LED 24), the M31 (use your own LED or output) or probing using the Probe screen (LED 310 since 1.3.4 which was released in UCCNC 1.2114). (Not to mention other plugins and/or macros that may probe, e.g. ProbeIt.) To cover all the cases you need an LED for the M31 and a macroloop to read all 3 LEDs and set an output if any of them is on.
dezsoe wrote:You can find the development releases here. The latest stable version is 1.2113 which you can find on the CNCdrive webpage.
The latest public version of the Probing plugin is 1.3.4.2 which has some bug fixes. LED 310 was not included in the LED list until UCCNC 1.2114, but if you update the plugin then it works. (1.3.4.2 requires UCCNC at least 1.2112.)
You don't need an output to check its state, simply use an LED. Use LED numbers above 350 to prevent conflict with any UCCNC functions. (In the next release 331 will be the last used LED, so 350 is far away now.)
As Gerry wrote you can use the status box or you can call Console.WriteLine() to write into the console window. Then you have to enable and show the Console plugin.
dezsoe wrote:You can find the development releases here. The latest stable version is 1.2113 which you can find on the CNCdrive webpage.
The latest public version of the Probing plugin is 1.3.4.2 which has some bug fixes. LED 310 was not included in the LED list until UCCNC 1.2114, but if you update the plugin then it works. (1.3.4.2 requires UCCNC at least 1.2112.)
You don't need an output to check its state, simply use an LED. Use LED numbers above 350 to prevent conflict with any UCCNC functions. (In the next release 331 will be the last used LED, so 350 is far away now.)
As Gerry wrote you can use the status box or you can call Console.WriteLine() to write into the console window. Then you have to enable and show the Console plugin.
Users browsing this forum: No registered users and 8 guests