Index only encoders for X and Z on 7i43
16 Feb 2016 16:17 #70242
by acondit
Index only encoders for X and Z on 7i43 was created by acondit
I am thinking about putting indexes on the X axis and the Z axis of my lathe to assist in homing.
Pncconf seems to not support index only encoders for axis other than the spindle. Am I missing something?
Is there a way to do this in the 7i43 configs?
Does the 7i43 bitfile SVST4-4 support index only encoders?
Pncconf seems to not support index only encoders for axis other than the spindle. Am I missing something?
Is there a way to do this in the 7i43 configs?
Does the 7i43 bitfile SVST4-4 support index only encoders?
Please Log in or Create an account to join the conversation.
16 Feb 2016 17:46 #70245
by PCW
Replied by PCW on topic Index only encoders for X and Z on 7i43
Not sure what you mean by index only
Do you mean a single pin encoder that's both "A" and index?
HM2 encoders wont do this but you could certainly do it with a software encoder on a GPIO
pin ( with the encoders components A and index inputs wired to the same GPIO pin )
Do you mean a single pin encoder that's both "A" and index?
HM2 encoders wont do this but you could certainly do it with a software encoder on a GPIO
pin ( with the encoders components A and index inputs wired to the same GPIO pin )
Please Log in or Create an account to join the conversation.
16 Feb 2016 23:29 #70264
by acondit
Replied by acondit on topic Index only encoders for X and Z on 7i43
I am basically talking about mounting a disk with a hole in it and an opto-sensor to function as a single index (or I guess index and channel "A").
So is the software encoder a kernel module that gets loaded like follows:
loadrt encoder num_chan=1
So is the software encoder a kernel module that gets loaded like follows:
loadrt encoder num_chan=1
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
17 Feb 2016 15:47 #70289
by Todd Zuercher
Replied by Todd Zuercher on topic Index only encoders for X and Z on 7i43
You also have to addf the functions to the threads. (and you probably will need a base thread.)
addf encoder.update-counters base-thread
addf encoder.capture-position servo-thread
addf encoder.update-counters base-thread
addf encoder.capture-position servo-thread
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.060 seconds