Emco PC turn 55 upgrade..

More
01 Apr 2017 14:57 - 01 Apr 2017 15:01 #90707 by turbo
Replied by turbo on topic Emco PC turn 55 upgrade..
I commented out the BASE_PERIOD that I had added, changed P values to 1000, and turned the velocities back up to 25mm/s and accel down to 500mm/s^2. I still get a following error at the same spot. I'm using fusion 360 so between the facing op and the profile it retracts to z5 and then when it begins the profile op it advances in the -z direction towards the lead in for the profile. It's at this reversal that I get the following error. I have backlash compensation on, and the section in the manual just says backlash compensation is turned on as a possible cause of following errors.

Added the .ngc file.

File Attachment:

File Name: 1012_2017-04-01.ngc
File Size:1 KB
Attachments:
Last edit: 01 Apr 2017 15:01 by turbo.

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

More
01 Apr 2017 21:09 #90727 by turbo
Replied by turbo on topic Emco PC turn 55 upgrade..
I commented out the Z backlash and I'm still getting the error. I don't know if that actually turned off backlash on the z axis though.

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

More
01 Apr 2017 21:09 #90728 by rodw
Replied by rodw on topic Emco PC turn 55 upgrade..
Based on comments in my .ini file, try increasing STEPGEN_MAXACCEL
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 700
STEPGEN_MAXACCEL = 2000

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

More
01 Apr 2017 21:12 #90730 by turbo
Replied by turbo on topic Emco PC turn 55 upgrade..
I already have STEPGEN_MAXACCEL set to double MAX_ACCELERATION.

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

More
01 Apr 2017 21:15 #90731 by rodw
Replied by rodw on topic Emco PC turn 55 upgrade..
Make it bigger, say 300%.

I did push these up a few times to get rid of following errors on my config but I am not using backlash compensation.
The following user(s) said Thank You: turbo

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

More
01 Apr 2017 21:21 - 01 Apr 2017 21:22 #90733 by PCW
Replied by PCW on topic Emco PC turn 55 upgrade..

I already have STEPGEN_MAXACCEL set to double MAX_ACCELERATION.



If you have backlash compensation, the STEPGEN_MAXACCEL value should
be about 2.5x the MAX_ACCELERATION value

This is because with backlash compensation, the actual requested acceleration
can be 2x MAX_ACCELERATION and the STEPGEN_MAXACCEL needs about 1.25x
headroom above this
Last edit: 01 Apr 2017 21:22 by PCW.
The following user(s) said Thank You: turbo

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

More
01 Apr 2017 21:24 #90734 by turbo
Replied by turbo on topic Emco PC turn 55 upgrade..
I just tried it at 500 and 1500 with the backlash value back in, and I got the same errors. I should maybe mention that I've got 2 errors, but I've assumed that the first one is just because the machine is stopped.
Attachments:

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

More
01 Apr 2017 21:28 - 01 Apr 2017 21:31 #90735 by PCW
Replied by PCW on topic Emco PC turn 55 upgrade..
also change

setp pid.x.maxerror .0005
to
setp pid.x.maxerror .01

and the same for Z

(this is a pncconf bug = too low value of pid maxerror for mm machines)
Last edit: 01 Apr 2017 21:31 by PCW.
The following user(s) said Thank You: turbo

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

More
01 Apr 2017 21:37 #90736 by turbo
Replied by turbo on topic Emco PC turn 55 upgrade..
Maybe this does have something to do with my G-code. It's trying to go from 2000rpm to 0 to 2000 again instantaneously. If I delete the M5 from the code it seems happy.

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

More
01 Apr 2017 21:42 - 01 Apr 2017 21:43 #90737 by PCW
Did you change the pid.(N).maxerror values?

All bets are off if these are still .0005 mm

Its possible but unlikely that there is a trajectory planner bug. more likely faulty steggen tuning
Last edit: 01 Apr 2017 21:43 by PCW.

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

Moderators: cncbasher
Time to create page: 0.123 seconds
Powered by Kunena Forum