Gear ratio inputs?
Posted: Sun May 19, 2019 12:47 pm
Recently I got help from the forum to get my M3 and M4 macros running correctly on my turret mill (thanks Keith, Marty and Swissi amongst others). These are working fine now so the machine switches automatically between high and low spindle ratio depending on whether the demanded spindle speed exceeds a threshold (currently 1000rpm).
The issue I have now is that I need to notify the controller when the low ratio is engaged so that it can provide the correct control voltage to the VFD. When the low gear is engaged, the PLC needs to run the motor faster to account for the reduction ratio (1:0.167). This functionality is catered for in the CNC12 PLC but according to the CNC12 4.14 manual, the gear range signals are expected on INP63 and INP64. On my machine, they already come in on Acorn inputs 1 & 2 (high ratio engaged = #50001 and low ratio engaged = #50002).
Is there a simple(?) way to connect INP64 to INPUT2 on the Acorn (aka #50002)? My machine has only high (1:1) and low (1:0.167) ratios, so all the required information would appear to be contained in #50002. INP63 doesn't change unless you are using the intermediate "medium low" and medium high" ratios which my machine does not possess.
Hope this makes sense but currently when I select a low spindle speed, the VFD runs the motor at that speed AND the low ratio is engaged. It barely creeps along.
The issue I have now is that I need to notify the controller when the low ratio is engaged so that it can provide the correct control voltage to the VFD. When the low gear is engaged, the PLC needs to run the motor faster to account for the reduction ratio (1:0.167). This functionality is catered for in the CNC12 PLC but according to the CNC12 4.14 manual, the gear range signals are expected on INP63 and INP64. On my machine, they already come in on Acorn inputs 1 & 2 (high ratio engaged = #50001 and low ratio engaged = #50002).
Is there a simple(?) way to connect INP64 to INPUT2 on the Acorn (aka #50002)? My machine has only high (1:1) and low (1:0.167) ratios, so all the required information would appear to be contained in #50002. INP63 doesn't change unless you are using the intermediate "medium low" and medium high" ratios which my machine does not possess.
Hope this makes sense but currently when I select a low spindle speed, the VFD runs the motor at that speed AND the low ratio is engaged. It barely creeps along.