Block Delete

Monday, 08 July 2024

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

 

Block Delete Plugins

There are three different ways to control the Block Delete function. Two of them require a dedicated plug-in to be installed, whilst the other is part of the Android tablet pendant plug-in.  Please only install one of these options at a time.  They will fight with one another if there's more than one on your system.

Trigger mode Download Description
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

trace = True

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

trace = False
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

trace = True

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

trace = False
Wireless tablet pendant   There's no special plug-in required for this option.  It's incorporated into the wireless tablet code.

.

Home | Up

 

This site was last updated 23/01/23