Search found 6 matches

by holgerstrahl
Sat Jul 09, 2022 12:47 pm
Forum: Configuration Issues
Topic: 5 axis with step/dir and encoder
Replies: 10
Views: 4613

Re: 5 axis with step/dir and encoder

Hi Tom, Yes, I meant an oscilloscope. I've found the problem. It works now. I would have another question: If I am using the Kflop inputs for encoder, is it possible to use the Kanalog encoder inputs for other general inputs? Otherwise I would lose 10 input bits... Thanks and best regards Holger
by holgerstrahl
Thu Jul 07, 2022 9:35 pm
Forum: Configuration Issues
Topic: 5 axis with step/dir and encoder
Replies: 10
Views: 4613

Re: 5 axis with step/dir and encoder

Encoder is wired to JP4 Pin 5 and 6.
I think these are bit 16 and 17. Both a toggling on the Digital IO screen.
The oszi also shows a clear signal.

Axis input is set to encoder and the input channel is set to 0.
by holgerstrahl
Thu Jul 07, 2022 3:20 pm
Forum: Configuration Issues
Topic: 5 axis with step/dir and encoder
Replies: 10
Views: 4613

Re: 5 axis with step/dir and encoder

Hi Tom,

I've tried your code example:

main()
{
FPGA(STEP_PULSE_LENGTH_ADD)=32 + 0x40;

FPGAW(ENC_NOISE_FILTER_ADD) = ENC_0_3_JP4 + ENC_4_7_JP6 + ENC_NOISE_FILTER_DEFAULT_VAL;
}

But the encoder channel 0 in Kmotion shows no input.
Any idea what is wrong?

Regards
Holger
by holgerstrahl
Thu Jul 07, 2022 8:28 am
Forum: Configuration Issues
Topic: 5 axis with step/dir and encoder
Replies: 10
Views: 4613

Re: 5 axis with step/dir and encoder

Hi Tom, Thanks for the input. I think my encoders are differential (TTL-RS422 standard). But I thought it could be used single ended? I need Kanalog some outputs and inputs (spindle control, sensor input, pump relais, ...) Can I use 5V encoder inputs on JP4 and JP6? If I am not able to use JP1 from ...
by holgerstrahl
Wed Jul 06, 2022 7:56 pm
Forum: Configuration Issues
Topic: 5 axis with step/dir and encoder
Replies: 10
Views: 4613

Re: 5 axis with step/dir and encoder

Hi, I use Leadshine EM705 and encoder with quadrature signal. I tried the closed loop mode on kflop only with one axis and it worked. When I tried to use the encoder inputs from kanalog connected to kflop, the closed loop mode fails. Looks like the encoder signal is not passed through… I wouldn’t mi...
by holgerstrahl
Mon Jul 04, 2022 9:37 pm
Forum: Configuration Issues
Topic: 5 axis with step/dir and encoder
Replies: 10
Views: 4613

5 axis with step/dir and encoder

Hi,
How can I configure Kflop with Kanalog to control 5 axis with step/Dir in closed loop mode?
Best regards
Holger