I am in a process of retrofitting Biesse Rover cnc machine to LinuxCNC and now Iam up to getting encoder signals read directly by LinuxCNC via 7i48 board (so far I was using the original drives that output the encoder signal to cnc controls).I started with Y axis motor - Yaskawa USAGED-13A22 motor with UTOPH-81AWF encoder (it has 8192 CPR).
What I did was ordering a matching plug from ebay and soldered 8-leadwire to it while other end of the wire was connected to plug on 7i48 so the original wiring of encoder is intact and I can always plug it back in original drive.I am not totally sure that the wiring on 7i48 is 100% correct because the original documentation of the machine does not show meaning of pins:
So I did some guestimate there according to servodrive manual that mentions channel A, channel B and channel C.
Channels A and B seem to work exactly as expected - I get approximately 32K rawcounts per revolution (I did not measure very precisely start and end position) but supposed index channel is living its own life. I did some video:
I thought that my adapter wiring is wrong. Checked with multimeter butthere are no shorts between any 2 wires. Plugged back in original drive - everything works and I get nice index pulse once per turn so it seems that this is the way it is supposed to work.I also found this thread mentioning that Yaskawa 5V encoder has to be decoded.
www.forum.linuxcnc.org/27-driver-boards/...coders-plug-and-play
I have yet to understand what is there to decode for incremental encoder (that is supposed to be incremental because of digit "2" right after letter "A" in the name of motor) if both phases have quadrature signal but that is rethorical question.
It seems strange that servodrive manual would name the third channel as "channel Z" for absolute encoder and "channel C" for incremental encoder given that standard designation for index pulse is letter Z.
What are my options at this point? All I need is an index pulse for BLDC module to home the rotor and get the phase alignment right. I do not even need the index for homing joints, that is optional.