KOGNA JP14

Moderators: TomKerekes, dynomotion

Post Reply
TorRaf
Posts: 15
Joined: Thu Sep 02, 2021 12:15 pm

KOGNA JP14

Post by TorRaf » Thu Sep 21, 2023 11:59 am

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

User avatar
TomKerekes
Posts: 2546
Joined: Mon Dec 04, 2017 1:49 am

Re: KOGNA JP14

Post by TomKerekes » Thu Sep 21, 2023 6:08 pm

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.
Regards,

Tom Kerekes
Dynomotion, Inc.

TorRaf
Posts: 15
Joined: Thu Sep 02, 2021 12:15 pm

Re: KOGNA JP14

Post by TorRaf » Tue Dec 05, 2023 10:11 am

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

TorRaf
Posts: 15
Joined: Thu Sep 02, 2021 12:15 pm

Re: KOGNA JP14

Post by TorRaf » Tue Dec 05, 2023 10:11 am

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

User avatar
TomKerekes
Posts: 2546
Joined: Mon Dec 04, 2017 1:49 am

Re: KOGNA JP14

Post by TomKerekes » Tue Dec 05, 2023 9:46 pm

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.
Regards,

Tom Kerekes
Dynomotion, Inc.

TorRaf
Posts: 15
Joined: Thu Sep 02, 2021 12:15 pm

Re: KOGNA JP14

Post by TorRaf » Thu Dec 07, 2023 2:44 pm

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 :( :roll:

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 :oops:
Thanks
Raffaello

TorRaf
Posts: 15
Joined: Thu Sep 02, 2021 12:15 pm

Re: KOGNA JP14

Post by TorRaf » Fri Dec 08, 2023 9:46 am

Hello Tom,

I tested the patch, and it works fine! :D

Thanks

Raffaello

User avatar
TomKerekes
Posts: 2546
Joined: Mon Dec 04, 2017 1:49 am

Re: KOGNA JP14

Post by TomKerekes » Fri Dec 08, 2023 7:02 pm

Hi Raffaello,

Thanks for taking the time to post back.
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply