Hi all,
I've been working on an OpenPnP native driver for my Kayo 1706, which is a 6 head machine.
I took a fair bit of inspiration from Superhouse and Glen English's work for the A4 models.
It mostly entirely works using their reversed protocol with a couple of things needing changed. I've managed to get all the way through testing all functionality and have hit a pretty giant hurdle. The 1706 has a supplement valve to open a low pressure regulated air line for the blow functionality. It's two-step - open the supplement valve, delay, then open the nozzle blow valve (closing vac of course). Then close once blow is complete.
It looks like Superhouse had this working on the A4 models via a dedicated protocol command. Bad news for me - the command to open and close the supplement valve is not implemented on the 1706 main controller. I pulled the binary from controller and put it through Ghidra, and sure enough it is not implemented.
The supplement valve functionality is implemented via canned cycles though. According to the reference on Superhouse's OpenKayo, Glen had the canned cycles implemented in his python interface, where it looks like Superhouse directly used the supplement valve command.
Im pretty hesitant to patch the driver binary. Aside from this everything else works.
So I wonder if OpenPnp supports canned cycles? If so, can anyone suggest an approach?
The canned cycles are basically canned pick from a feeder and canned place on board as two separate commands.
Pick does: open feeder, open vac for nozzle, z down, delay, z up, close feeder
Place does: z down, open supplement, delay, close supplement, close vac open blow for nozzle, delay, z up, close blow.
Maybe I have to hijack moveTo and actuate, watching for z moves in my driver and override with canned cycles.
Thanks