| MDI command |
BlockDeleteDO_plugin.py |
No hardware required. Just type
M64P15 to turn block delete on. Type M65P15 to turn it off.
You do not need a USB I/O board to be present to perform these commands.
This can be customised by changing the number of the
output that controls the block delete function. At line 25 in the
file, you'll find the line
DO = 15
The value, 15 in this case, is the number following the letter 'P' is
the command line. The default is 15, hence the command is M64P15.
Valid values are 0 to 15.
There's also a line
which controls the output of trace information to
the status screen. This can be useful for debugging purposes, but
once you're happy that the plug-in is functioning correctly, you should
change this to
|
| Toggle switch connected to USB I/O
board input |
BlockDeleteUSBIO_plugin.py |
If you have a USB I/O board with an
unused input, then you can hook up a toggle switch to the input and use
that to control the block delete function.
Like the MDI case, you can customise which signal to use. Have a
look in the plugin file and you'll find the line
DI = 0
This indicates that the toggle switch should be
connected to input 0. Depending on how many boards you have fitted
(PathPilot supports 4 boards on one machine) valid values range from 0
to 15.
There's also a line
which controls the output of trace information to
the status screen. This can be useful for debugging purposes, but
once you're happy that the plug-in is functioning correctly, you should
change this to
|