I don’t see anything in the documentation but are there M-codes or any way to trigger the other two aux ports? From the schematic, I would assume I’m limited to the same current capacity of what is triggered as the air solenoid in the multi-coolant kit. It would be nice to have access to those ports if there is something in the firmware as delivered to control them…
I am wondering as well as these can be very useful. Tormach, how do we trigger the 1 and 3 since 2 is used on M7.
My assembly language skills are rusty to read through all the PIC code of the firmware file myself but AI scanned it and thinks that there are no references for instructions to set the bits for the IO pins on the schematic for the two MOSFETs responsible for the other two aux outputs in the current firmware. So, they threw those outputs on the board since they had room on the PCB and it was a couple of cents for the diode and MOSFET but it appears that there is no code in the firmware to activate them?
@Michael_Cobb anyone can easily turn the open source HEX file into human readable assembly code but then you have to figure out how to insert the additional code required into an uncommented/undocumented file, so step one would be to go through and comment/document the existing assembler. The source code for the HEX file was not released but given enough time, it can be reverse engineered from the HEX file.
The main thing is you have to hope your edit doesn’t break the existing functions or “brick” the SmartCool…so, you end up wanting to try it on a prototype board with the same microcontroller, so it’s like you need a spare SmartCool to do this if you don’t want to risk your “production” one in your machine.
If someone wants to take on the challenge to modify the firmware/HEX, that’s what you would need to do. The IO pin and the API can be reverse engineered and it’s not hard to find the command structure and add another control to expect a command but that would also have to be hooked up all the way back to the hardware configuration in LinuxCNC.
Too much work for me.
I moved onto using the existing USB port accessory (which is ready to go and well defined) for my additional I/O.