× Forum Header

Strange Behavior

More
06 Jun 2022 03:35 #244647 by tomdean
Strange Behavior was created by tomdean
I have a Sherline 4400 Lathe, CNC, Sherline parallel port driver board.
kernel 4.19.0-17-rt-amd64
linuxcnc 2.8.2-11-g6a3d0a434

I created a .ini using stepconf. Seemed OK in testing.

I completed making a part and wanted to move away to measure. The Z-axis was at 0.1000, near the chuck jaws.

I did G90 G00 Z4. The axis moved about 1/2 inch and the stepper started missing steps (howling) like the axis was blocked. Power off. Inspecting the bed and leadscrew showed no problem. The handwheel revealed no obstruction.

Moved back to the starting position. Homed Z-axis. I did G90 G00 Z4. Same problem. Power off, wiggled the handwheel, no obstruction. Homed the Z-axis and did G90 G00 Z4. The z-axis moved a couple inches and started missing steps like the axis was blocked. Again, found no problem

I restarted linuxcnc with the Sherline .ini, etc. All normal. The moves as above showed no problem. No missing steps, moved the entire length of the z-axis with no problem.

I restarted using the stepconf .ini, etc. Same problem with missing steps.

It appears that something is causing linuxcnc to issue incorrect step and/or direction commands.

I believe this is something I did in creating the configs. But, what?

What information may I supply to help diagnoise this problem?

Tom Dean
 

Please Log in or Create an account to join the conversation.

More
06 Jun 2022 04:37 #244649 by spumco
Replied by spumco on topic Strange Behavior
Attach your hal and INI files - that's the first step.

Make a copy in your config folder and rename them xyzhal.txt and xyzini.txt - the forum doesn't allow .hal and .ini files to be attached.

Once you do that and you're waiting for someone to have a look at the files... the first place to check is your INI file.  Look at the AXIS and JOINT sections (probably AXIS_Z and JOINT_1 for a lathe) and see if the MAX_VELOCITY and MAX_ACCELERATION values in both locations look reasonable.

Keep in mind that those values are in units/second, not units/minute.  Hard to get used to for some folks.

Do the math for those values - does it translate in to a 'sane' Z-axis rapid speed for your lathe, or have you inadvertantly told it to go a billion inches/mm per minute during a G0 move?

Did this work before you experienced this current problem?  i.e. have you changed something recently or is this your first go at moving the lathe around and making chips?  Can you command a G0 move for the X-axis successfully?


 

Please Log in or Create an account to join the conversation.

More
06 Jun 2022 16:45 #244681 by OttoDidact
Replied by OttoDidact on topic Strange Behavior
I would say that your rapid speed is set too high and your acceleration as well.

It's probably fine if your feeds are really slow, but once you get out of low speed towards the speed of your rapid, you're accelerating too fast. That howl is the stepper stalling and skipping steps.

I would go back into stepconfig spend some time testing acceleration and top speeds. Then knock about 25% off what seems to be working as your top speed in stepconfig as your final rapid setting.

Please Log in or Create an account to join the conversation.

More
06 Jun 2022 17:18 #244683 by tomdean
Replied by tomdean on topic Strange Behavior
I believe this is true. The lathe did not exhibit this behavior before I tried stepconf. I compared the stepconf .ini to the original sherline.ini and the values are much higher.
I will play with these values before I post the hal and iini files.

Thanks for the replies.
Tom Dean

Please Log in or Create an account to join the conversation.

More
10 Jun 2022 00:20 #244838 by andypugh
Replied by andypugh on topic Strange Behavior

the forum doesn't allow .hal and .ini files to be attached.
 

It does. 

Allowed file extensions : jpg, jpeg, gif, png, svg, rar, tar, patch, c, zip, txt, doc, gz, tgz, ngc, hal, ini, comp, dxf, clp, xml, pdf, stepconf, h, ui, glade, pncconf, svg, py, diff
 

Please Log in or Create an account to join the conversation.

More
10 Jun 2022 01:01 #244841 by tommylight
Replied by tommylight on topic Strange Behavior
Yup, it does.<br />

File Attachment:

File Name: T1530_mesa.hal
File Size:10 KB

File Attachment:

File Name: T1530_mesa.ini
File Size:5 KB
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.107 seconds
Powered by Kunena Forum