Page 1 of 1

Attaching position encoder.

Posted: Tue May 28, 2019 2:10 pm
by pblase
I'm using two Renislaw LM10 magnetic encoders https://www.rls.si/eng/lm10-linear-magn ... der-system, with RS422 differential outputs for feedback on my servo system, attaching to a KFLOP/KANALOG. As per the manual, the A and B outputs attach to JP1, channels 1 and 2 for the first stage and 3 and 4 for the second stage. This part seems to be working ok, and I can manually move the stages and see the position reported on the Configuration/Flash screen properly.

The encoders Z outputs report when it crosses the "home" marker and the manual reports that it should attach to JP2, but the details are a bit fuzzy. Should they attach to 4 and 5 respectively or to 4 and 6? In either case, while I can see the outputs changing electrically using a VOM, nothing is reported on the "Digital I/O screen" at all. (It seems that these should show up on bits 26 and 27, yes?)

Also, could you please explain why the "Home" and the "Limit" signals, bits 8-15, are set to output and flicker regularly as if they're driving a motor?

Re: Attaching position encoder.

Posted: Tue May 28, 2019 5:11 pm
by TomKerekes
Hi pblase,
The encoders Z outputs report when it crosses the "home" marker and the manual reports that it should attach to JP2, but the details are a bit fuzzy. Should they attach to 4 and 5 respectively or to 4 and 6? In either case, while I can see the outputs changing electrically using a VOM, nothing is reported on the "Digital I/O screen" at all. (It seems that these should show up on bits 26 and 27, yes?)
It isn't clear what you are saying.

Do you have differential encoders? You might read this and this.

A Z index pulse can be connected to any available input. If you have 2 differential index pulses from 2 encoders it is most logical to connect them to JP2. One to A4+ and A4- and the other to B4+ and B4-. These would then appear as KFLOP IO Bits 36 and 37.
Also, could you please explain why the "Home" and the "Limit" signals, bits 8-15, are set to output and flicker regularly as if they're driving a motor?
The "Home" and the "Limit" markings are only suggestions for basic systems. When connecting a Kanalog to KFLOP JP7 the IO on JP7 are used to do the high speed communication to Kanalog. Ignore those IO bits.

Re: Attaching position encoder.

Posted: Tue May 28, 2019 7:29 pm
by pblase
Ok, thanks. Yes, they're differential encoders, and the position signal comes through properly - it's only the Z signal that seems to be missing, or at least I can't see it.

Re: Attaching position encoder.

Posted: Tue May 28, 2019 8:32 pm
by TomKerekes
Z index pulses are typically very narrow. It may be difficult to see with your eye or on the screen which only updates a few times per second. Normally a C Program is used to detect it which basically checks every 180us.