Manual configuration problems
16 Jul 2022 22:36 #247512
by TglEMC
Manual configuration problems was created by TglEMC
This is the Debian 10 buster system with LINUXCNC - 2.8.2-11-g6a3d0a434. This new system has issues. I am assuming OS issues still go to Debian and CNC issues go here. Please correct me if I'm wrong.When editing the INI file scale settings, Linux CNC is broken. My CNC scale is off by 50%. Attempting to run the changes results in CNC errors. The error report shows problems with the HAL file, but that has not been changed. I reset the INI file to the default settings but CNC is still broken. I have attach the error file.
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19204
- Thank you received: 6437
16 Jul 2022 23:32 #247516
by tommylight
It was changed, i would venture a guess that backspace was pressed while the file was opened.
Line 64 in the Hal file has to many arguments.
Replied by tommylight on topic Manual configuration problems
The error report shows problems with the HAL file, but that has not been changed.
./my-mill.hal:64: setp requires 2 arguments, 4 given
Line 64 in the Hal file has to many arguments.
Please Log in or Create an account to join the conversation.
17 Jul 2022 00:00 #247519
by TglEMC
Replied by TglEMC on topic Manual configuration problems
Thanks for removing the duplicate post.
See that line 64 has something to do with the scale. I did edit HAL a couple of days ago but it has been working until now.
I am creating a new configuration. My motor scale moves 1/2 inch when I can program it to move 1 inch. I see in the configuration settings to control revolutions. My machines use leadscrews. Which should I use to change scale in the proper direction, stepper motor revs or leadscrews if I need to double the scale?
See that line 64 has something to do with the scale. I did edit HAL a couple of days ago but it has been working until now.
I am creating a new configuration. My motor scale moves 1/2 inch when I can program it to move 1 inch. I see in the configuration settings to control revolutions. My machines use leadscrews. Which should I use to change scale in the proper direction, stepper motor revs or leadscrews if I need to double the scale?
Please Log in or Create an account to join the conversation.
18 Jul 2022 20:48 #247727
by TglEMC
Replied by TglEMC on topic Manual configuration problems
I did get the scale set correctly, but is had to be done manually. in Stepconfig I changed leadscrew from 20 to 40 and this did set the Scale correctly but it also completely crashed CNC.
Everything looks good to this point except angular settings. Angular velocity is way off. Running 10,000° per minute move 55° in 48 seconds. Max velocities should be set to about 2100 normal operation. These are my current settings:
[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
MAX_FEED_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
MAX_SPINDLE_OVERRIDE = 1.2
DEFAULT_LINEAR_VELOCITY = 0.335
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 0.335
DEFAULT_ANGULAR_VELOCITY = 250.00
MIN_ANGULAR_VELOCITY = 0
MAX_ANGULAR_VELOCITY = 360.00
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[AXIS_A]
MAX_VELOCITY = 1000.0
MAX_ACCELERATION = 1200.0
MIN_LIMIT = -9999.0
MAX_LIMIT = 9999.0
[JOINT_3]
TYPE = ANGULAR
HOME = 0.0
MIN_LIMIT = -9999.0
MAX_LIMIT = 9999.0
MAX_VELOCITY = 360.0
MAX_ACCELERATION = 1200.0
STEPGEN_MAXACCEL = 1500.0
SCALE = 1.11111111111
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 0.0
Everything looks good to this point except angular settings. Angular velocity is way off. Running 10,000° per minute move 55° in 48 seconds. Max velocities should be set to about 2100 normal operation. These are my current settings:
[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
MAX_FEED_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
MAX_SPINDLE_OVERRIDE = 1.2
DEFAULT_LINEAR_VELOCITY = 0.335
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 0.335
DEFAULT_ANGULAR_VELOCITY = 250.00
MIN_ANGULAR_VELOCITY = 0
MAX_ANGULAR_VELOCITY = 360.00
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[AXIS_A]
MAX_VELOCITY = 1000.0
MAX_ACCELERATION = 1200.0
MIN_LIMIT = -9999.0
MAX_LIMIT = 9999.0
[JOINT_3]
TYPE = ANGULAR
HOME = 0.0
MIN_LIMIT = -9999.0
MAX_LIMIT = 9999.0
MAX_VELOCITY = 360.0
MAX_ACCELERATION = 1200.0
STEPGEN_MAXACCEL = 1500.0
SCALE = 1.11111111111
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 0.0
Please Log in or Create an account to join the conversation.
20 Jul 2022 23:51 #247892
by TglEMC
Replied by TglEMC on topic Manual configuration problems
I have determined that the manual edit problems are caused by the Buster OS. Buster has file management issues. Opening and and saving files resulted in a strange UTF 8 format error. This combined with other Buster OS problems prompted me to dump it and reinstall stretch.
Problem solved
Problem solved
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19204
- Thank you received: 6437
21 Jul 2022 00:14 #247896
by tommylight
Replied by tommylight on topic Manual configuration problems
Thanks for reporting back.
I rarely use Buster so never noticed such issues.
I rarely use Buster so never noticed such issues.
Please Log in or Create an account to join the conversation.
21 Jul 2022 19:07 #247979
by andypugh
Replied by andypugh on topic Manual configuration problems
Which editor were you using? I have been using Buster for a long time and have not seen these issues.I have determined that the manual edit problems are caused by the Buster OS. Buster has file management issues. Opening and and saving files resulted in a strange UTF 8 format error.
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds