Page 1 of 1
How to use Rotary encoder with three outputs
Posted: Fri Aug 16, 2019 7:42 pm
by Ali Reza Danish
I want to measure rotation angle. I have the encoder E6B2-CWZ6C P/R=360.[ I've never worked with any encoder.] It has 3 outputs OutA,OutB, and OutZ. In Flowcode8 there is only two outputs A and B. Will it be okay if I keep OutZ unconnected.
Thank you
Re: How to use Rotary encoder with three outputs
Posted: Sat Aug 17, 2019 12:37 am
by viktor_au
Hello Ali Reza Danish
What is Z output?
An index pulse, labeled as "Z", is added to the quadrature channels A and B.
The Index provides a single pulse once every 360 degrees of rotation.
This feature is typically used to allow a device to locate a home position.
If you don't need this index Z info, don't use it.
Re: How to use Rotary encoder with three outputs
Posted: Mon Aug 19, 2019 11:23 am
by Ali Reza Danish
viktor_au wrote:Hello Ali Reza Danish
What is Z output?
An index pulse, labeled as "Z", is added to the quadrature channels A and B.
The Index provides a single pulse once every 360 degrees of rotation.
This feature is typically used to allow a device to locate a home position.
If you don't need this index Z info, don't use it.
Thanks Victor,
Since I'm using it as an angle sensor, suppose the encoder rotates 45 degree clockwise and again by rotating counter-clockwise returns to its home position. Will the index provide a pulse for returning to its home without completing a full 360 deg rotation.
Thanks again
Re: How to use Rotary encoder with three outputs
Posted: Mon Aug 19, 2019 12:54 pm
by Benj
Hello,
Since I'm using it as an angle sensor, suppose the encoder rotates 45 degree clockwise and again by rotating counter-clockwise returns to its home position. Will the index provide a pulse for returning to its home without completing a full 360 deg rotation.
Assuming you started from the index position then yes returning to this position will set the index signal high again.
You can purely rely on the encoder count if you don't want to bother with syncing the index signal.
Re: How to use Rotary encoder with three outputs
Posted: Mon Aug 19, 2019 1:01 pm
by viktor_au
Hello Ali Reza Danish
Please have a look at some good examples provided by Matrix team:
https://www.matrixtsl.com/wiki/index.ph ... :_General)
Have a look at attached .pdf tutorial: "X Y Positioning and Rotation"
Please pay attention at page 3:
Setting Up Your System For X/Y Positioning
Wish you the best.