Probe Wake

Monday, 08 July 2024

Home
Up
Plugin controller
Probe Guard
Turn off outputs
Traffic lights
Block Delete
Probe Wake
Messaging
SubZero

 

ProbeWake_plugin.py

Add this plugin if you have a wireless probe that goes to sleep when not in use and that has to be woken up before performing any probe operation.  You'll need a USB I/O board (either XoomSpeed or Tormach) and you need to conect one output to the probe's controller to perform the wake up function.

Note that the XoomSpeed wireless conversion for Tormach passive probes and ITTP probes does not require this function as it is always awake whenever your mill is turned on.

Customisation.

At line 25 in the file, you'll find the code

# the tuple of tool numbers to protect from spindle on
PROBE_TOOL_NUMBERS = (99,)

If you have multiple probes in your tool library, then you can protect them all by editing this line.  For example, to protect tools 99, 100 and 101, edit it to read

# the tuple of tool numbers to protect from spindle on
PROBE_TOOL_NUMBERS = (99, 100, 101)

 

At line 27, you'll see the following

# the output pin number to activate when the probe is loaded
# valid numbers are 0 .. 15
# 0 is the first output on the first USB I/O) board.
OUTPUT_PIN = 0

The value following 'OUTPUT_PIN =' is the number of the output pin that will turn on when a probe is loaded.  If you have a single USB I/O board, the pin numbers are 0..3.  If you have multiple USB I/O boards, then the numbers can extend up to 15.

Latest download

Version history

Version Date Description
1 13/02/23 First release

Home | Up

 

This site was last updated 13/02/23