Re: Hercus Turret Macro
Posted: Fri Dec 31, 2021 3:46 pm
Progress:
I have an updated license now and did some testing. The testing was done by simulating the inputs with switches and observing the operation of the output relays. Using the RotateToolTurret output I can make the logic work. When activated the motor turns forward, when disabled the motor reverses and locks against a pawl. The problem with this is the voltage stays on and will burn out the motor. I decided against a previous suggestion because it would not turn off the power if the lock switch failed. Using the input switches I determined that the logic is selecting the correct tool.
I plan on contacting Centroid next week to get the macro modified (Next week because I hope they are home celebrating New Year's right now). The modification will be a relay that turns on at the start of the turret change macro at the same time as the RotateToolTurret. This will apply power to the turret. It will also have an input added that detects the turret in the locked position. The new output will turn off if it detects the tool turret is locked. If the lock fails the output will turn off after an to be determined time after the RotateToolTurret turns off. This will prevent the motor from overheating if the turret tool change fails to complete and will also stop the next G code from proceeding and display a "Turret not locked" message
I think this should work as described.
I was unable to make the ToolTurretEnable and ToolTurretReverse outputs do what I wanted.
I have an updated license now and did some testing. The testing was done by simulating the inputs with switches and observing the operation of the output relays. Using the RotateToolTurret output I can make the logic work. When activated the motor turns forward, when disabled the motor reverses and locks against a pawl. The problem with this is the voltage stays on and will burn out the motor. I decided against a previous suggestion because it would not turn off the power if the lock switch failed. Using the input switches I determined that the logic is selecting the correct tool.
I plan on contacting Centroid next week to get the macro modified (Next week because I hope they are home celebrating New Year's right now). The modification will be a relay that turns on at the start of the turret change macro at the same time as the RotateToolTurret. This will apply power to the turret. It will also have an input added that detects the turret in the locked position. The new output will turn off if it detects the tool turret is locked. If the lock fails the output will turn off after an to be determined time after the RotateToolTurret turns off. This will prevent the motor from overheating if the turret tool change fails to complete and will also stop the next G code from proceeding and display a "Turret not locked" message
I think this should work as described.
I was unable to make the ToolTurretEnable and ToolTurretReverse outputs do what I wanted.