Addendum:
The spindle does couple the index-enable to hardware.

# couple the encoder output to the motion control system so it knows what
the spindle is doing.
net spindle-revs             <=   hm2_7i92.0.encoder.01.position
net spindle-vel-fb-rps       <=   hm2_7i92.0.encoder.01.velocity
net spindle-index-enable     <=>  hm2_7i92.0.encoder.01.index-enable


> -----Original Message-----
> From: John Dammeyer [mailto:jo...@autoartisans.com]
> Sent: May 4, 2025 9:27 AM
> To: 'Enhanced Machine Controller (EMC)'
> Subject: Re: [Emc-users] Connect index pulse?
> 
> 
> 
> > -----Original Message-----
> > From: Nicklas SB Karlsson [mailto:n...@nksb.eu]
> >
> > Any simple solution to connect index pulse from encoder to joint index-
> > enable?
> >
> > Problem is indes is an output that happen every turn while joint
> index-enable
> > is an io. It is of course simple to write
> > my own component for this but guess anyone had same problem before.
> Or?
> >
> >
> Nicklas,
> Would you explain in laymans terms what exactly you are trying to do?
> 
> When I look at my .ini file I don't even see a reference to the index in
the
> [JOINT_n] sections which includes on angular joint.
> 
> The [SPINDLE_9] has the ability to seek to the index pulse but again the
ini
> file doesn't have an index-enable.
> 
> Now in the HAL file there is:
> loadrt pid names=pid.x,pid.y,pid.z,pid.a,pid.s
> 
> and then further down for example:
> addf pid.x.do-pid-calcs       servo-thread
> 
> 
> and in the AXIS n sections:
> net x-index-enable  <=> pid.x.index-enable
> 
> Neither of those show up anywhere else in the hal file.
> 
> So what are you trying to accomplish?
> 
> Thanks
> 
> John
> 
> 
> 
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to