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?
Attaching position encoder.
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2891
- Joined: Mon Dec 04, 2017 1:49 am
Re: Attaching position encoder.
Hi pblase,
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.
It isn't clear what you are saying.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?)
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.
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.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?
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Attaching position encoder.
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.
- TomKerekes
- Posts: 2891
- Joined: Mon Dec 04, 2017 1:49 am
Re: Attaching position encoder.
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.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.