- Posts: 476
- Thank you received: 52
Orient component revised
5 years 11 months ago #190378
by alkabal
Replied by alkabal on topic Orient component revised
Please attach your config it's better for checking.
I thinks some link was possibly wrong
I thinks some link was possibly wrong
Please Log in or Create an account to join the conversation.
5 years 11 months ago #190382
by Serg452
Replied by Serg452 on topic Orient component revised
and message when searching (attachment)
Please Log in or Create an account to join the conversation.
5 years 11 months ago - 5 years 11 months ago #190387
by alkabal
Replied by alkabal on topic Orient component revised
Hi you can you try with this edited version ?
I does not really understand your spindle pid /scale but you need in the range value for orient pid (i suggest setup your spindle pwm/scale/pid with rpm value i think this is more easy to follow)
[ORIENT]
MAX_OUTPUT =
VEL_SPEED =
And for sure you need to tune orient pid ! (for start you need to found the minimum speed allowed by spindle drive with a pid with only FF0 to 1, all other to 0 )
good luck !
Ps : i'm unsure about this because you write cmd, the component need velocity feedback from encoder not velocity cmd from motion
IMO you need this "net spindle-velocity to_pci.1.feedback.enc_vel2 => spindle.0.speed-in" but i think this is RPS RELATIVE so you need to convert as RPM ABSOLUE
net spindle-vel-cmd-rpm-abs => pid.orient-spindle.feedback # ABSOLUE IF USE WITH RELAY FOR DIRECTION or if DRIVE NEED INPUT = PID always positive
net spindle-vel-cmd-rpm-abs => orient.orient-spindle.vel-feedback # ABSOLUE IF USE WITH RELAY FOR DIRECTION or if DRIVE NEED INPUT = PID always positive
I does not really understand your spindle pid /scale but you need in the range value for orient pid (i suggest setup your spindle pwm/scale/pid with rpm value i think this is more easy to follow)
[ORIENT]
MAX_OUTPUT =
VEL_SPEED =
And for sure you need to tune orient pid ! (for start you need to found the minimum speed allowed by spindle drive with a pid with only FF0 to 1, all other to 0 )
good luck !
Ps : i'm unsure about this because you write cmd, the component need velocity feedback from encoder not velocity cmd from motion
IMO you need this "net spindle-velocity to_pci.1.feedback.enc_vel2 => spindle.0.speed-in" but i think this is RPS RELATIVE so you need to convert as RPM ABSOLUE
net spindle-vel-cmd-rpm-abs => pid.orient-spindle.feedback # ABSOLUE IF USE WITH RELAY FOR DIRECTION or if DRIVE NEED INPUT = PID always positive
net spindle-vel-cmd-rpm-abs => orient.orient-spindle.vel-feedback # ABSOLUE IF USE WITH RELAY FOR DIRECTION or if DRIVE NEED INPUT = PID always positive
Last edit: 5 years 11 months ago by alkabal.
Please Log in or Create an account to join the conversation.
5 years 11 months ago #190388
by alkabal
Replied by alkabal on topic Orient component revised
about
forum.linuxcnc.org/media/kunena/attachme..._20201126_201742.jpg
I don't really know but the orient message use MDI so i suspect some of your button control change the program status and does not allow to use MDI command at this moment, i think nothing other from orient use MDI.
I don't really know but the orient message use MDI so i suspect some of your button control change the program status and does not allow to use MDI command at this moment, i think nothing other from orient use MDI.
Please Log in or Create an account to join the conversation.
5 years 11 months ago #190407
by Serg452
Replied by Serg452 on topic Orient component revised
with this, the hal spindle does not turn on at allalkabal wrote: Hi you can you try with this edited version ?
what is in this meaning? maximum spindle speed? or orientation speed?alkabal wrote: VEL_SPEED =
Please Log in or Create an account to join the conversation.
5 years 11 months ago #190408
by Serg452
Replied by Serg452 on topic Orient component revised
What signal is the basis for activating the drive for index mark search? Homed?
Please Log in or Create an account to join the conversation.
Time to create page: 0.156 seconds