From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-14-2011 04:21 PM
I am using a Mitutoyo linear encoder and USB-6210 to measure linear postion. I am able to get everything working properly per the attached vi. and have an acceptable output with the z-index disabled. When I enable the z-index and run the encoder along everytime the z-index is passed the output resets to a specific value (which makes sense for an angular encoder). The way the vi. is setup matches the results I am getting. It calls for a specific output value everytime the z-index is passed. I would like it to specify a distance per pulse instead of a specific value, as is done on the A and B input of the of the quadrature signal. Any suggestions on how to setup this up.
Thanks
CN2
04-14-2011 04:23 PM
Here is the vi I am using
04-15-2011 03:56 AM
The counter reset - or reload with a specific value - when crossing the Z index also makes sense with a linear encoder ! The index can be used as a reference mark that will initialize the counter, which is essential to get an absolute position measurement.
Enable this feature if you need it. Disable it if you don't.
04-15-2011 10:19 AM
JB thanks for the response.
Is there any way to change the counter reset - or reload with a specific value - to a distance per z-index pulse. The reason for this is that the linear encoder I am using has more than one z-index reference point. It is a 24" linear encoder with a z-index spaced every 2". So every time the z-index is passed it reloads with the same specific value even though the encoder is not in the same position!
04-18-2011 12:30 AM - edited 04-18-2011 12:32 AM
CN2 a écrit :
Is there any way to change the counter reset - or reload with a specific value - to a distance per z-index pulse. The reason for this is that the linear encoder I am using has more than one z-index reference point. It is a 24" linear encoder with a z-index spaced every 2". So every time the z-index is passed it reloads with the same specific value even though the encoder is not in the same position!
I'm afraid not. At least I don't know how.
Here is what I would do :