USING A MPG
The WoodPecker interface allows for the use of an external Manual Pulse Generator (MPG) by checking the Use MPG checkbox in the SETTINGS page.
A separate HAL file is used to define I/O pins that connect to the MPG and the woodpecker_postgui.hal is used to make the connections to the WoodPecker HAL pins.
AXIS SELECT
Four HAL input pins are created to connect the MPG selected axis signals to the Jog joypad highlight segments to indicate which axis is being jogged with the MPG.
SCALE SELECT
A HAL float input pin is created to allow the handler file to display the currently selected jog scale setting of the MPG. Connections from the MPG to a mux4 HAL component are made in a mpg.hal file and the output of the mux4 is connected to WoodPecker in order to display the currently selected MPG scale value.
MPG DISABLE
A HAL output pin is created to disable the MPG encoder if the Use MPG checkbox is unchecked. This will also hide the MPG Scale display from the WoodPecker screen.