Page 1 of 1
KOGNA JP14
Posted: Thu Sep 21, 2023 11:59 am
by TorRaf
Hi Tom,
i need to drive 5 axes: stepper motor (step/dir) with encoder.
For a different application I already use KFlop, but for this one I should like to use the new Kogna.
To drive my stepper driver in open collector, I use ULN2803A
https://www.mouser.fr/datasheet/2/389/u ... 852595.pdf
From the doc, on JP14 there are Generators #6 - #11 but only from #8 to #11 are differential.
Are Generators #6 and #7 routed on JP10 only? or are they douplicate on JP14 too?
So, Can I use JP14 to generate Step/Dir signals and read my encoders for 6 axes?
Sure, from the differential signal i will use only one pin to drive the ULN2823
Thanks
Raffaello
Re: KOGNA JP14
Posted: Thu Sep 21, 2023 6:08 pm
by TomKerekes
Hi Raffaello,
JP14 has 6-axes of Differential Step/Dir outputs. DIFF 12-23. Driven by Step/Dir Generators 6-11.
#6 and #7 can be routed to other pins, but in your case you would route to JP14
See the diagram
here.
Re: KOGNA JP14
Posted: Tue Dec 05, 2023 10:11 am
by TorRaf
Hello Tom,
I'm testing the hardware of my application and I get some strange beaviaur reading encoder #15
As I mentioned, I would to read and drive 5 axis using connection on KOGNA JP14. I use stepper motors 1.8° with encoder 4000 (tic/revolution).
When i ask to the motor to do one revolution, on the associated encoder channel i can read an incrementation of 4000 for each revolution.
Only on the #15 encoder channel I read the follow sequence:
first tour -> 3840
2nd -> 7936
3th -> 11776
4th -> 15872
5th -> 19968
If I reboot the kogna i get the same sequence and the encoder that give the right reponse on the other channels give this sequence on #15.
Thanks
Raffaello
Re: KOGNA JP14
Posted: Tue Dec 05, 2023 10:11 am
by TorRaf
Hello Tom,
I'm testing the hardware of my application and I get some strange beaviaur reading encoder #15
As I mentioned, I would to read and drive 5 axis using connection on KOGNA JP14. I use stepper motors 1.8° with encoder 4000 (tic/revolution).
When i ask to the motor to do one revolution, on the associated encoder channel i can read an incrementation of 4000 for each revolution.
Only on the #15 encoder channel I read the follow sequence:
first tour -> 3840
2nd -> 7936
3th -> 11776
4th -> 15872
5th -> 19968
If I reboot the kogna i get the same sequence and the encoder that give the right reponse on the other channels give this sequence on #15.
Thanks
Raffaello
Re: KOGNA JP14
Posted: Tue Dec 05, 2023 9:46 pm
by TomKerekes
Hi Raffaello,
That appears to be a Firmware bug. Please apply this
patch. Download and copy to the \KMotion5.3.1\DSP_KOGNA folder. Then Flash New Version and reboot Kogna.
Please let us know if it resolves the problem or of any other issues.
Re: KOGNA JP14
Posted: Thu Dec 07, 2023 2:44 pm
by TorRaf
Hi Tom,
thanks for the path, but the link open the file instead to download it.
Have I to copy/paste in a text file?
I'm very inconfortable to do that
Could you send me the file by email or put a download link?
Ok, forget... I just find Save link As... save as .out file
Thanks
Raffaello
Re: KOGNA JP14
Posted: Fri Dec 08, 2023 9:46 am
by TorRaf
Hello Tom,
I tested the patch, and it works fine!
Thanks
Raffaello
Re: KOGNA JP14
Posted: Fri Dec 08, 2023 7:02 pm
by TomKerekes
Hi Raffaello,
Thanks for taking the time to post back.