Moderators: TomKerekes, dynomotion
-
TomKerekes
- Posts: 2635
- Joined: Mon Dec 04, 2017 1:49 am
Post
by TomKerekes » Thu May 26, 2022 4:40 pm
I think you need to remove these lines as you don't have a KStep
Code: Select all
KStepPresent = TRUE; // enable KSTEP input multiplexing
FPGA(KAN_TRIG_REG) = 4; // Mux PWM0 to JP7 Pin5 IO 44 for KSTEP
Regards,
Tom Kerekes
Dynomotion, Inc.
-
NOELNOG
- Posts: 165
- Joined: Wed Nov 10, 2021 3:54 pm
Post
by NOELNOG » Thu May 26, 2022 4:49 pm
Thanks Tom
I found a problem inside the Y axis Driver, it does not send encoder signal to Kanalog, i tested the encoder with an other drive and works fine, looks like the outputs PA0 PB0 are bad, there are other open collector outputs available can i use these? What do you think?
-
TomKerekes
- Posts: 2635
- Joined: Mon Dec 04, 2017 1:49 am
Post
by TomKerekes » Thu May 26, 2022 5:57 pm
Kanalog requires differential signals. I suppose you could add an external 3rd party differential Driver such as
this. You would also need a pull up resistor to +5V on the open collector outputs. Or use a pull up resistor and connect directly to KFLOP's single ended encoder inputs on KFLOP JP5. Open collector outputs are not as fast as differential signals and are more susceptible to noise.
Regards,
Tom Kerekes
Dynomotion, Inc.
-
NOELNOG
- Posts: 165
- Joined: Wed Nov 10, 2021 3:54 pm
Post
by NOELNOG » Thu May 26, 2022 7:59 pm
Ok, well i opened the drive and found a 74LS07 chip blowed out so i will try to replace it.
I noted that input channel 1 in kanalog did not read encoders why?
-
TomKerekes
- Posts: 2635
- Joined: Mon Dec 04, 2017 1:49 am
Post
by TomKerekes » Thu May 26, 2022 8:22 pm
I noted that input channel 1 in kanalog did not read encoders why?
See previous post
Regards,
Tom Kerekes
Dynomotion, Inc.
-
NOELNOG
- Posts: 165
- Joined: Wed Nov 10, 2021 3:54 pm
Post
by NOELNOG » Fri May 27, 2022 12:28 am
you mean because i had a bad drive ? i connected not the bad drive i connected one of the other two good encoders signal to channel 1 but the readout start to run and could't make it stop, i tryied the same encoder signal in input channel 2 and 3 and they work just fine, i couldn't figureit out why channel 1 do that, i mean it is not a problem because i still have 7 more channels just was wondering.
For now i used the Z axis drive to replace the Y drive and i have configured X and Y the machine runs like new exept for Z but i will fix it soon.
Thanks a lot
-
NOELNOG
- Posts: 165
- Joined: Wed Nov 10, 2021 3:54 pm
Post
by NOELNOG » Fri May 27, 2022 2:39 am
Oh ok i am sorry, yes i already remove that.
So this machine is almost done, soon i will buy an other kflop for a new machine.
Thanks for your support
-
NOELNOG
- Posts: 165
- Joined: Wed Nov 10, 2021 3:54 pm
Post
by NOELNOG » Wed Jun 08, 2022 3:21 pm
Hi Tom
is there some way to lock the C programs with a password to avoid unauthorized people get in the files
-
TomKerekes
- Posts: 2635
- Joined: Mon Dec 04, 2017 1:49 am
Post
by TomKerekes » Wed Jun 08, 2022 4:12 pm
No. But you can remove the source code and leave only the compiled binary .out file.
Regards,
Tom Kerekes
Dynomotion, Inc.