Hi,
I trying to get the M66 gcode to wait for a RISE or FALL input signal on PIN 2 PORT 1 of the UC300ETH-5LPT board.
I'm triggering the input using an digital IO pin on the Arduino by setting it HIGH, delay for a second, and setting it LOW again.
In UCCNC diagnostics I can confirm the Port #1 I2 goes from black, to green, to black again in sync with the Arduino output.
The G-code I'm using to wait for the input is:
G0 X10
M66 P2 E1 L1 (or L2)
G0 X0
The G-Code cycle does stop at the M66 line, but doesn't seem to recognize the input trigger, and therefore never moves to the next line.
Any ideas, what am I missing?
Thanks,
Miaho