How to use Knozz on JP4 of Kflop after multiplexing with KFLOP and KANALOG

Moderators: TomKerekes, dynomotion

Post Reply
AmitKumar171
Posts: 134
Joined: Tue Feb 20, 2018 7:35 am
Location: India

How to use Knozz on JP4 of Kflop after multiplexing with KFLOP and KANALOG

Post by AmitKumar171 » Fri Sep 27, 2019 5:26 am

Hi tom,

I am using Kflop and Kanalog attached by JP7 of kflop, then axis channel of JP7 will multiplex to JP4 and JP6, but i want to only multiplex to JP6 not JP4 because JP4 i am using for another purpose or KNozz connection on JP4.

How to use JP4 with KNozz after axis channel multiplex due to Kanalog (JP7 to JP4+JP6). ?

How to wire an MPG with KANALOG ? after connecting all pins of Kflop no pins on kflop is free for MPG ?. and any suggestion on which MPG is supported ?

As i have seen in your threads that using JP6 as MPG connection. But in my case JP6 is not Free to use for MPG , i have only option of connection to kanalog, how to do that ?

Waiting for your kind reply.
Thank You

AMIT KUMAR

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

Re: How to use Knozz on JP4 of Kflop after multiplexing with KFLOP and KANALOG

Post by TomKerekes » Fri Sep 27, 2019 3:58 pm

Hi Amit,
I am using Kflop and Kanalog attached by JP7 of kflop, then axis channel of JP7 will multiplex to JP4 and JP6, but i want to only multiplex to JP6 not JP4 because JP4 i am using for another purpose or KNozz connection on JP4.

How to use JP4 with KNozz after axis channel multiplex due to Kanalog (JP7 to JP4+JP6). ?
There isn't an option to multiplex Step/Dir from JP7 to only JP6.

But you can still use JP4 for KNozz. Just don't use or enable the Step/Dir channels on JP4 (#0 and #1).

Actually KNozz is serviced entirely in software by KNozzControlTempsMCodeStateMachine.c. So any 6 spare LVTTL IO pins may be used to control KNozz. Therefore if you make a custom cable for KNozz that doesn't use IO 22-25 then you will be able to use the Step/Dir outputs on JP4. You might rewire to use different pins on KFLOP JP4 or the IO on Kanalog JP12. The software defines which 6 IO to use for KNozz with these definitions:

Code: Select all

//SPI and Heater IO definitions
#define CS (23 + AUX*10)
#define DATAIN (24 + AUX*10)  // with respect to KFLOP
#define CLK (25 + AUX*10)
#define DOUT (22 + AUX*10)  // with respect to KFLOP
#define NOZ_HEAT (21 + AUX*10)
#define BED_HEAT (20 + AUX*10)


As i have seen in your threads that using JP6 as MPG connection. But in my case JP6 is not Free to use for MPG , i have only option of connection to kanalog, how to do that ?
The main restriction for an MPG is that it is best to use a KFLOP hardware encoder input. All the other MPG signals can be connected to any spare inputs.

If absolutely no hardware encoder input is available, then it is sometimes possible to connect the MPG encoder to general purpose inputs and service the encoder with software. This limits the rate of encoder speed to several KHz.
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply