I would use firmware that matches the hardware
and get things working one section at a time:
Axis motion, home switches, spindle, chargepump etc
Can you post the hal and ini files here?
Thanks for the reply.
I've attached the three files below, although I'm not sure that for this issue I need to change the tormach_mill_base.ini as the items in tormach_1100-3_7i92_specific.ini overwrite the same named items in the base ini file.
In the tormach_1100-3_7i92_specific.ini you can see I changed the bit file to 7i92_G540x2D.bit
The issue with this is that the HAL file does not match it.
Below are the current pin assignments on the left. On the right is what I need it changed to for the G540. Apart from the different pin assignments, the other change is that the G540 need to accept a PWM spindle control signal with a base frequency of 50 Hz
The charge pump needs to be a frequency of 10Khz or above.
Current G540
Mill Function 7192 DB25 Pin 7192 DB25 Pin
Spindle Speed 1 14 (Needs to be PWM with 100Hz base frequency
Coolant 14 1
X Direction 2 3
Estop Reset 15 15
X Step 3 2
Spindle Dir 16 17
Y Direction 4 5
Charge Pump 17 16 Frequency of 10Kz or above.
Y Step 5 4
Z Direction 6 7
Z Step 7 6
A Direction 8 9
A Step 9 8
X Limit 10 10
Y Limit 11 11
Z Limit 12 12
Probe In 13 13
Cheers,
Peter