5 axis tilted drilling

More
03 Oct 2022 11:21 #253336 by Aciera
Replied by Aciera on topic 5 axis tilted drilling
Not sure, can you attach the hal and ini files you are working with?

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

More
03 Oct 2022 12:16 #253341 by Yannis
Replied by Yannis on topic 5 axis tilted drilling
It is all ready attached
the only think a did was to change the A to C in ini and hal file

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

More
03 Oct 2022 12:47 #253346 by Aciera
Replied by Aciera on topic 5 axis tilted drilling

the only think a did was to change the A to C in ini and hal file

I'm not clairvoyant.  How am I to know what specific changes you made to which version of your files. The changes should already be done in the hal file I posted, while the ini you would need to modify. 

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

More
04 Oct 2022 06:07 - 04 Oct 2022 06:12 #253415 by Yannis
Replied by Yannis on topic 5 axis tilted drilling
For some reason the spindle is treated like axis
so i changed the number of axis to 6 and the error is gone

 
Attachments:
Last edit: 04 Oct 2022 06:12 by Yannis.

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

More
04 Oct 2022 07:02 #253419 by Yannis
Replied by Yannis on topic 5 axis tilted drilling
Now i can see in the Axis Display X Y Z B C
Before the C change the axis display was X Y Z A B
But when i try to jog C axis the only think is moving is the velocity and then i have a error '' joint 5 following error''

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

More
05 Oct 2022 07:55 - 05 Oct 2022 07:59 #253503 by Yannis
Replied by Yannis on topic 5 axis tilted drilling
 

File Attachment:

File Name: my_LinuxCN...0-05.hal
File Size:16 KB
 

File Attachment:

File Name: my_LinuxCN...0-05.ini
File Size:6 KB
 
Hello again
some update i install in a different pc a 2.9 version of linuxcnc
i have the same problem as in 2.7 version in all the configuration file i use XYZCBW
and for some reason in the axis display is XYZBCW and
the problem with the C axis not moving still there
any suggestions?
Attachments:
Last edit: 05 Oct 2022 07:59 by Yannis.

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

More
06 Oct 2022 05:32 #253590 by Aciera
Replied by Aciera on topic 5 axis tilted drilling
I'm sorry I don't have much time but I would think the w axis does need some feedback hence the following error.
I'll try to have a look at it later today or tomorrow.
The following user(s) said Thank You: Yannis

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

More
06 Oct 2022 15:57 - 06 Oct 2022 16:02 #253620 by Aciera
Replied by Aciera on topic 5 axis tilted drilling
After a bit of a ponder I think that the W axis might not even need a pid at all. So try removing/ commenting all this (if it isn't already commented out of course):
#*******************
# AXIS W JOINT 5
#*******************

setp pid.w.Pgain [JOINT_5]P
setp pid.w.Igain [JOINT_5]I
setp pid.w.Dgain [JOINT_5]D
setp pid.w.bias [JOINT_5]BIAS
setp pid.w.FF0 [JOINT_5]FF0
setp pid.w.FF1 [JOINT_5]FF1
setp pid.w.FF2 [JOINT_5]FF2
setp pid.w.deadband [JOINT_5]DEADBAND
setp pid.w.maxoutput [JOINT_5]MAX_OUTPUT
setp pid.w.error-previous-target true
# This setting is to limit bogus stepgen
# velocity corrections caused by position
# feedback sample time jitter.
setp pid.w.maxerror 0.012700

#net w-index-enable <=> pid.w.index-enable
#net w-enable => pid.w.enable
#net w-pos-cmd => pid.w.command
#net w-pos-fb => pid.w.feedback
#net w-output <= pid.w.output

# Step Gen signals/setup

#setp hm2_7i76e.0.stepgen.05.dirsetup [JOINT_5]DIRSETUP
#setp hm2_7i76e.0.stepgen.05.dirhold [JOINT_5]DIRHOLD
#setp hm2_7i76e.0.stepgen.05.steplen [JOINT_5]STEPLEN
#setp hm2_7i76e.0.stepgen.05.stepspace [JOINT_5]STEPSPACE
#setp hm2_7i76e.0.stepgen.05.position-scale [JOINT_5]STEP_SCALE
#setp hm2_7i76e.0.stepgen.05.step_type 0
#setp hm2_7i76e.0.stepgen.05.control-type 1
#setp hm2_7i76e.0.stepgen.05.maxaccel [JOINT_5]STEPGEN_MAXACCEL
#setp hm2_7i76e.0.stepgen.05.maxvel [JOINT_5]STEPGEN_MAXVEL

# ---closedloop stepper signals---

#net w-pos-cmd <= joint.5.motor-pos-cmd
#net w-vel-cmd <= joint.5.vel-cmd
#net w-output <= hm2_7i76e.0.stepgen.05.velocity-cmd
#net w-pos-fb <= hm2_7i76e.0.stepgen.05.position-fb
#net w-pos-fb => joint.5.motor-pos-fb
#net w-enable <= joint.5.amp-enable-out
#net w-enable => hm2_7i76e.0.stepgen.05.enable

# ---setup home / limit switch signals---

#net w-home-sw => joint.5.home-sw-in
#net w-neg-limit => joint.5.neg-lim-sw-in
#net w-pos-limit => joint.5.pos-lim-sw-in

And add this to close the loop:

net w-pos-fb     <= joint.5.motor-pos-cmd     => joint.5.motor-pos-fb



As for the rotary axis not moving I'm somewhat at a loss. As a last resort you might want to create a totally new config using the pncconf tool and modify/add the extra axis manually.

edit:
Also not that this line is not correct:
loadrt trivkins


It should be:
loadrt [KINS]KINEMATICS
 
Last edit: 06 Oct 2022 16:02 by Aciera.

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

More
07 Oct 2022 08:23 - 08 Oct 2022 05:47 #253654 by Yannis
Replied by Yannis on topic 5 axis tilted drilling
I make the changes .Is there somthing else i miss?

""As for the rotary axis not moving I'm somewhat at a loss. As a last resort you might want to create a totally new config using the pncconf tool and modify/add the extra axis manually.""

iI all ready create several configurations in 2.7 and 2.9 versions .The result is always the same:If the axis named C it want work
If the axis named A works perfect (exaclty the same config)

File Attachment:

File Name: linuxcnc_i...0-07.txt
File Size:3 KB

File Attachment:

File Name: my_LinuxCN...07-2.ini
File Size:6 KB

File Attachment:

File Name: my_LinuxCN...07-2.hal
File Size:16 KB
Attachments:
Last edit: 08 Oct 2022 05:47 by Yannis.

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

More
07 Oct 2022 08:26 #253655 by Yannis
Replied by Yannis on topic 5 axis tilted drilling
 

File Attachment:

File Name: linuxcncco...port.txt
File Size:5 KB
Attachments:

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

Time to create page: 0.220 seconds
Powered by Kunena Forum