Wrapped Rotary will not spin

More
12 Oct 2015 10:38 #63708 by MacGalempsy
Hello,

I am trying to get the 4th axis moving, but cannot get it to move outside PNCCONF. Can someone take a look at this code and point me in the right direction (in noob language)?
#********************
# Axis A
#********************
[AXIS_3]
WRAPPED_ROTARY = 1
TYPE = ANGULAR
HOME = 0.0
FERROR = 360
MIN_FERROR = -360
MAX_VELOCITY = 833.33
MAX_ACCELERATION = 1600
P = 50
I = 0
D = 0
FF0 = 0
FF1 = 0
FF2 = 0
BIAS = 0
DEADBAND = 0.288
MAX_OUTPUT = 9.5
ENCODER_SCALE = 13.88889
OUTPUT_SCALE = 10
OUTPUT_MIN_LIMIT = -10
OUTPUT_MAX_LIMIT = 10
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -2.000000
#HOME_LATCH_VEL = -0.500000
#HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES

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

More
12 Oct 2015 14:12 #63714 by cncbasher
i presume this is a servo system rather than a stepper ?
could you also post your complete archive as an attachment , as the ini does not give the full picture . .

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

More
13 Oct 2015 02:46 - 13 Oct 2015 02:47 #63724 by andypugh

I am trying to get the 4th axis moving, but cannot get it to move outside PNCCONF.


This is normally because the axis test doesn't do anything with the servo enable, but the actual config does, but it is set up inverted so it disables the axis.
Last edit: 13 Oct 2015 02:47 by andypugh.
The following user(s) said Thank You: MacGalempsy

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

More
13 Oct 2015 10:20 #63730 by MacGalempsy
Here are the files. From the way this is acting, I was thinking the spindle issue and the rotary axis issue are somehow similar. If anyone is taking a look at this and would look at a possible spindle issue and the 4th axis issue, I would be VERY GREATFUL.

File Attachment:

File Name: ACL_MILL.tar.gz
File Size:9 KB
Attachments:

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

More
13 Oct 2015 15:54 - 13 Oct 2015 16:05 #63735 by cncbasher
regarding your A axis , i cannot see anything obvious with the hal file , however withstanding Andys point over the amp enable being reversed , would cause this
check the actual amp it's self and see if the enable is being actuated , and is in effect working the correct way round , do not take your pyvcp panel to be correct ,
this is a hardware issue .

it's usual on servo amps to have a led come on , so make sure it's the same sense as the x etc , it may be reversed ,

if the a axis runs fine in pncconf then that would indicate that your connections are in most fine , excepting the amp enable .

regarding your spindle try setting
OUTPUT_MIN_LIMIT = -10.0
OUTPUT_MAX_LIMIT = 10.0

i presume the spindle is again an analog 0 - 10v input
so you need to set as above the max and min voltage , then your spindle scaling will divide the pwm across the scale of 0 - 10v
and not 0 - 5000 as you had it .

get back once you have checked
Last edit: 13 Oct 2015 16:05 by cncbasher.
The following user(s) said Thank You: MacGalempsy

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

More
13 Oct 2015 22:55 - 13 Oct 2015 22:56 #63756 by MacGalempsy
Thank you CNCBASHER and ANDYPUGH. The amp was enabled, but the encoder steps were off and the gain was too low. Now that it is spinning and counting in the right direction, the tuning process may proceed. The necessary gain to get it to move is 2000. Does that seem high to anyone?

Also, no change on the spindle. Hopefully, after getting all axes homed the spindle will work right. Fingers crossed.
Last edit: 13 Oct 2015 22:56 by MacGalempsy. Reason: addition

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

Moderators: cmorley
Time to create page: 0.119 seconds
Powered by Kunena Forum