Checked the instructions in the user manual for setting up for
M100 to M199 User Defined Commands. Copied the examples
and tweaked them for the port and pin I wanted.
M101 contains
#!/bin/sh
# file to turn on parport 1 pin 09 to open the collet closer
halcmd setp parport.1.pin-09-out True
exit 0
M102 contains
#!/bin/sh
# file to turn off parport 1 pin 09 to open the collet closer
halcmd setp parport.0.pin-09-out False
exit 0
These are executable and is in the correct directory
PROGRAM_PREFIX = /home/me/emc2/nc_files
But when I step through my test G code
G0 X-0.25 Y0.25
M0
M101
G0 X-0.5 Y0.5
M0
M102
G0 X-0.0 Y0.0
M2
HAL Meter shows no change on parport 1 pin 09
So what is missing???