- Posts: 544
- Thank you received: 0
Converting CNC-STEP HighZ-1000T to LinuxCNC with Mesa
6 years 4 months ago #170442
by bbsr_5a
Replied by bbsr_5a on topic Converting CNC-STEP HighZ-1000T to LinuxCNC with Mesa
and give the MIN a slight negative -0.1 to get the interpreter to a better calculation
Code:
TYPE = LINEAR
HOME = 550.0
MAX_VELOCITY = 200.0
MAX_ACCELERATION = 1200.0
STEPGEN_MAXACCEL = 2000.0
SCALE = 100.0
BACKLASH = 0.00
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = -1.0
MAX_LIMIT = 570.5
HOME_OFFSET = 570.0
HOME_SEARCH_VEL = 40.0
HOME_LATCH_VEL = 5.0
HOME_FINAL_VEL = 15.0
HOME_SEQUENCE = 1
Please Log in to join the conversation.
6 years 4 months ago #170448
by msageryd
Replied by msageryd on topic Converting CNC-STEP HighZ-1000T to LinuxCNC with Mesa
Success!
Thank you all for your homing support.
The main problem was solved with HOME_IGNORE_LIMITS = True. After this I could start to config homing as I wanted it, and now it kind of works. I need to tweak speed/accel a bit.
Thank you all for your homing support.
The main problem was solved with HOME_IGNORE_LIMITS = True. After this I could start to config homing as I wanted it, and now it kind of works. I need to tweak speed/accel a bit.
Please Log in to join the conversation.
6 years 4 months ago #170450
by msageryd
Replied by msageryd on topic Converting CNC-STEP HighZ-1000T to LinuxCNC with Mesa
Is there a concept for trying out a suitable acceleration for the machine? Max speed is in the machine spec, but acceleration needs to be tested. Do I need to tweak the ini file and restart LNCNC each time?
Please Log in to join the conversation.
6 years 4 months ago #170451
by bbsr_5a
Replied by bbsr_5a on topic Converting CNC-STEP HighZ-1000T to LinuxCNC with Mesa
if it is posible for you please get the code you ended up here
not the intirer ini only the section like i did it above AXIS/Joint configuration of all involves XYZA
not the intirer ini only the section like i did it above AXIS/Joint configuration of all involves XYZA
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
6 years 4 months ago #170457
by tommylight
Replied by tommylight on topic Converting CNC-STEP HighZ-1000T to LinuxCNC with Mesa
Check the "calibration" form the "machine" menu, it should have everything that can be edited/tuned without restarting LinuxCNC.
Please Log in to join the conversation.
6 years 4 months ago #170458
by rodw
Replied by rodw on topic Converting CNC-STEP HighZ-1000T to LinuxCNC with Mesa
The maths behind calculating acceleration is complex so trial and error is the go. There is a component called sim_pin which you can install from your INI file that opens up a little window that allows you to edit ini file settings on the fly. Now I know of it I would use that when setting up a new machine. When you start to loose steps, back off about 15-20%
linuxcnc.org/docs/2.8/html/man/man1/sim_pin.1.html
linuxcnc.org/docs/2.8/html/man/man1/sim_pin.1.html
Please Log in to join the conversation.
6 years 4 months ago #170459
by msageryd
Replied by msageryd on topic Converting CNC-STEP HighZ-1000T to LinuxCNC with Mesa
Code:
[AXIS_X]
MIN_LIMIT = -0.1
MAX_LIMIT = 570.1
MAX_VELOCITY = 200
MAX_ACCELERATION = 500
[AXIS_Y]
MIN_LIMIT = -0.1
MAX_LIMIT = 1010
MAX_VELOCITY = 200
MAX_ACCELERATION = 500
[AXIS_Z]
MIN_LIMIT = -109
MAX_LIMIT = 0.1
MAX_VELOCITY = 30
MAX_ACCELERATION = 400
[JOINT_0]
AXIS = Y
MIN_LIMIT = -0.1
MAX_LIMIT = 1010
MAX_VELOCITY = 200
MAX_ACCELERATION = 500
TYPE = LINEAR
SCALE = 200
STEPGEN_MAX_VEL = 240.0
STEPGEN_MAX_ACC = 600.0
FERROR = 0.0051
MIN_FERROR = 0.0025
DIRSETUP = 20000
DIRHOLD = 20000
STEPLEN = 5000
STEPSPACE = 5000
DEADBAND = 0
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0.00013
BIAS = 0
MAX_OUTPUT = 0
MAX_ERROR = 0.0127
HOME = 10
HOME_OFFSET = 0
HOME_SEARCH_VEL = -30
HOME_LATCH_VEL = -5
HOME_SEQUENCE = 0
HOME_USE_INDEX = False
HOME_IGNORE_LIMITS = True
[JOINT_1]
AXIS = X
MIN_LIMIT = -0.1
MAX_LIMIT = 570.1
MAX_VELOCITY = 200
MAX_ACCELERATION = 500
TYPE = LINEAR
SCALE = 200
STEPGEN_MAX_VEL = 240.0
STEPGEN_MAX_ACC = 600.0
FERROR = 0.0051
MIN_FERROR = 0.0025
DIRSETUP = 20000
DIRHOLD = 20000
STEPLEN = 5000
STEPSPACE = 5000
DEADBAND = 0
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0.00013
BIAS = 0
MAX_OUTPUT = 0
MAX_ERROR = 0.0127
HOME = 500
HOME_OFFSET = 570
HOME_SEARCH_VEL = 60
HOME_LATCH_VEL = 5
HOME_SEQUENCE = 0
HOME_USE_INDEX = False
HOME_IGNORE_LIMITS = True
[JOINT_2]
AXIS = Z
MIN_LIMIT = -109
MAX_LIMIT = 0.1
MAX_VELOCITY = 30
MAX_ACCELERATION = 400
TYPE = LINEAR
SCALE = 333.3333
STEPGEN_MAX_VEL = 36.0
STEPGEN_MAX_ACC = 480.0
FERROR = 0.0051
MIN_FERROR = 0.0025
DIRSETUP = 20000
DIRHOLD = 20000
STEPLEN = 5000
STEPSPACE = 5000
DEADBAND = 0
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0.00013
BIAS = 0
MAX_OUTPUT = 0
MAX_ERROR = 0.0127
HOME = -10
HOME_OFFSET = 0
HOME_SEARCH_VEL = 30
HOME_LATCH_VEL = 5
HOME_SEQUENCE = 0
HOME_USE_INDEX = False
HOME_IGNORE_LIMITS = True
Please Log in to join the conversation.
6 years 4 months ago #170463
by msageryd
Replied by msageryd on topic Converting CNC-STEP HighZ-1000T to LinuxCNC with Mesa
Thank you @rodw, I'll try sim-pin. I tried the calibration tool, but I didn't have the patience to look up the math.
Please Log in to join the conversation.
6 years 4 months ago #170466
by msageryd
Replied by msageryd on topic Converting CNC-STEP HighZ-1000T to LinuxCNC with Mesa
Next question for this super-supportive forum:
Where can I find the mapping between the actual pins on the 7i96 and the gpoi_nn pins in HAL? More specifically I need to know which gpio-pin is related to out01 and out02 on the board.
EDIT:
Found the pins.
hm2_7i96_0.ssr.00.out-00
hm2_7i96_0.ssr.00.out-01
It would be great if someone could link me to a document with the pin naming anyway
Where can I find the mapping between the actual pins on the 7i96 and the gpoi_nn pins in HAL? More specifically I need to know which gpio-pin is related to out01 and out02 on the board.
EDIT:
Found the pins.
hm2_7i96_0.ssr.00.out-00
hm2_7i96_0.ssr.00.out-01
It would be great if someone could link me to a document with the pin naming anyway
Please Log in to join the conversation.
6 years 4 months ago #170469
by msageryd
Replied by msageryd on topic Converting CNC-STEP HighZ-1000T to LinuxCNC with Mesa
7i96 Configuration Tool has a spindle tab. I'm using firmware 4+1, so the spindle PWM should be at hm2_7i96.0.pwmgen.00.value.
This pin does not get connected by the config tool. I can set it manually to turn the spindle. To what signal should I connect the PWM?
Also, how do I know what spindle frequency to set in the config? Default seems to be 20000, which didn't work. 5000 works.
This pin does not get connected by the config tool. I can set it manually to turn the spindle. To what signal should I connect the PWM?
Also, how do I know what spindle frequency to set in the config? Default seems to be 20000, which didn't work. 5000 works.
Please Log in to join the conversation.
Time to create page: 0.094 seconds
