Need Help! Instruction on Knozz wiring and setup


Page 1 of 2 12 LastLast
Results 1 to 20 of 38

Thread: Instruction on Knozz wiring and setup

  1. #1
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Instruction on Knozz wiring and setup

    Hello Guys,

    I am planning to run my 3D printer using Kflop and Knozz instead of arduino. But how will i be able to control and monitor the nozzle temperature.

    It would great if you could give me insights on how to control and monitor the nozzle temperature using Knozz through a interface similar to KmotionCNC.

    Thank you in Advance.

    Vignesh M

    Similar Threads:
    Regards

    Amit Kumar


  2. #2
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4042
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Hi Amit,

    What kind of Nozzle and Bed Heaters do you have? What kind of Thermistors?

    Here is a link for the connector wiring:
    KNozz Connector Descriptions

    Some info on our wiki:
    How to convert a milling machine to a 3D printer in 3 easy steps - Dynomotion
    Instruction on Knozz wiring and setup-cncto3dprinter-png

    Here is a example C Program to monitor and control heater temperatures. Set Points are expected to be in KFLOP Persist Variables (default is 30 and 31) and can be set by a KMotionCNC MCode with P and Q parameters for the Nozzle and Bed. Configure a KMotionCNC MCode such as M101 with a do nothing C Program and Var of 30. You must also calibrate your Thermister and create a function TempToADC() to convert degrees C to ADC counts. The C Program It is also attached as a txt file.

    Code:
    #include "KMotionDef.h"
    
    // This program services KNozz to read the two KNozz ADCs and
    // control two heaters based on a pair of Persist Variable Setpoints
    // The consecutive Persist variables correspond to the Nozzle and Bed Setpoints
    //
    // A KMotionCNC MCode can be configured to set the temperature setpoints 
    // using P and Q parameters. ie.
    // M100 P100 Q50 (Set Nozzle and Bed temperature setpoints)
    
    #define AUX 1 // 0=Aux0 1=Aux1  defines which Aux connector to use.
    
    // define pair of persist variables (as floats) as heater setpoints
    #define NOZ_VAR 30  
    #define BED_VAR (NOZ_VAR+1)
    
    //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)
    
    int SPI_IN(int send_data); // function to read serial SPI dual ADC
    float TempToADC(float T); // function to convert Temp C to ADC counts
    float ADCtoTemp(float At);// Solve inverse function numerically using guesses and linear interpolate
    void ServiceKNozz(void); // Service KNozz Temperature controls
    
    float *NozSetPoint = (float *)&persist.UserData[NOZ_VAR]; // define convienient pointers to Persist floats
    float *BedSetPoint = (float *)&persist.UserData[BED_VAR];
    
    main()
    {
    
        SetBitDirection(CS, 1);
        SetBitDirection(CLK, 1);
        SetBitDirection(NOZ_HEAT, 1);
        SetBitDirection(DOUT, 1);
        SetBitDirection(BED_HEAT, 1);
    
        *NozSetPoint = 0;  // start with heaters off
        *BedSetPoint = 0;
    
        for (;;)
        {
            Delay_sec(0.001);  // loop ~every millisecond
            ServiceKNozz();
        }
    }
    
    // Service KNozz Temperature controls
    void ServiceKNozz(void)
    {
        static int JobWasActive = FALSE;
        static int i = 0;
    
        int raw_counts_bed = SPI_IN(0xf000);  // Read ADCs
        int raw_counts_noz = SPI_IN(0xd000);
    
        if (i++ >= 1000) // diagnostic printout ~ every 1 sec
        {
            i = 0;
            printf("Nozz:Setpt %6.1fC %6.1fcnts Actual %6.1fC %4dcnts   Bed:Setpt %6.1fC %6.1fcnts Actual %6.1fC %4dcnts\n",
                *NozSetPoint, TempToADC(*NozSetPoint), ADCtoTemp(raw_counts_noz), raw_counts_noz,
                *BedSetPoint, TempToADC(*BedSetPoint), ADCtoTemp(raw_counts_bed), raw_counts_bed);
        }
    
        if (raw_counts_noz < TempToADC(*NozSetPoint))
            SetBit(NOZ_HEAT);
        else
            ClearBit(NOZ_HEAT);
    
        if (raw_counts_bed < TempToADC(*BedSetPoint))
            SetBit(BED_HEAT);
        else
            ClearBit(BED_HEAT);
    
    
        if (JobWasActive && !JOB_ACTIVE)  // Job Stopped?  
        {
            //			*NozSetPoint=0;  // yes, turn off heater?
            //			*BedSetPoint=0;
        }
    
        JobWasActive = JOB_ACTIVE;
    }
    
    void Dly(void)
    {
        Delay_sec(5e-6);
    }
    
    int SPI_IN(int send_data)
    {
        int i;
        int dataIn = 0;
    
        SetBit(CS); //CS high
        Dly();
        ClearBit(CLK); //CLK low
        Dly();
        ClearBit(CS); //CS low
        SetStateBit(DOUT, (send_data >> 15) & 1);
        Dly();
        for (i = 0; i < 16; i++)
        {
            SetBit(CLK); //CLK high
            Dly();
            dataIn = (dataIn << 1) | ReadBit(DATAIN);  // read the bit
            ClearBit(CLK); //CLK low
            SetStateBit(DOUT, (send_data >> (14 - i)) & 1);
            Dly();
        }
        SetBit(CS); //CS high
        Dly();
    
        return dataIn;
    }
    
    // Convert Temperature in C to equivalent ADC Counts
    // based on 3rd order data fit to this measured data
    //
    // Temp C, ADC
    // 16.0	199
    // 35.0	400
    // 49.1	600
    // 54.7	700
    // 60.7	800
    // 66.9	900
    // 73.6	1000
    // 78.4	1100
    // 85.2	1200
    // 93.8	1300
    //107.5 1482
    //115.5	1570
    //125.0	1688
    //132.0	1722
    
    // function to convert Temp C to ADC counts
    float TempToADC(float T)
    {
        return  ((-0.000837 * T + 0.170202) * T + 4.565045) * T + 78.452228;  // 3rd order polynomial
    }
    
    
    // Solve inverse function numerically using guesses and linear interpolate
    float ADCtoTemp(float At)
    {
        int i;
        float A, T, T0 = 0.0, T1 = 100.0;  // initial guess 0 snd 1
    
        float A0 = TempToADC(T0);  // see how well they did
        float A1 = TempToADC(T1);
    
    
        for (i = 0; i < 10; i++)
        {
            // linearly interpolate
            T = T0 + (T1 - T0) * (At - A0) / (A1 - A0);
    
            A = TempToADC(T); // check how well it works
    //		printf("Desired ADC %f guess Temp %f ADC %f\n",At,T,A);
    
            if (fast_fabs(A - At) < 0.1f) break;  // good result exit
    
            // replace furthest away guess with new result
            if (fast_fabs(A - A0) > fast_fabs(A - A1))
            {
                T0 = T;// replace guess #0
                A0 = A;
            }
            else
            {
                T1 = T;// replace guess #1
                A1 = A;
            }
        }
        return T;
    }
    HTH
    Regards

    Attached Files Attached Files
    Regards
    TK http://dynomotion.com


  3. #3
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Quote Originally Posted by TomKerekes View Post
    Hi Amit,

    What kind of Nozzle and Bed Heaters do you have? What kind of Thermistors?

    Here is a link for the connector wiring:
    KNozz Connector Descriptions

    Some info on our wiki:
    How to convert a milling machine to a 3D printer in 3 easy steps - Dynomotion
    Instruction on Knozz wiring and setup-cncto3dprinter-png

    Here is a example C Program to monitor and control heater temperatures. Set Points are expected to be in KFLOP Persist Variables (default is 30 and 31) and can be set by a KMotionCNC MCode with P and Q parameters for the Nozzle and Bed. Configure a KMotionCNC MCode such as M101 with a do nothing C Program and Var of 30. You must also calibrate your Thermister and create a function TempToADC() to convert degrees C to ADC counts. The C Program It is also attached as a txt file.

    Code:
    #include "KMotionDef.h"
    
    // This program services KNozz to read the two KNozz ADCs and
    // control two heaters based on a pair of Persist Variable Setpoints
    // The consecutive Persist variables correspond to the Nozzle and Bed Setpoints
    //
    // A KMotionCNC MCode can be configured to set the temperature setpoints 
    // using P and Q parameters. ie.
    // M100 P100 Q50 (Set Nozzle and Bed temperature setpoints)
    
    #define AUX 1 // 0=Aux0 1=Aux1  defines which Aux connector to use.
    
    // define pair of persist variables (as floats) as heater setpoints
    #define NOZ_VAR 30  
    #define BED_VAR (NOZ_VAR+1)
    
    //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)
    
    int SPI_IN(int send_data); // function to read serial SPI dual ADC
    float TempToADC(float T); // function to convert Temp C to ADC counts
    float ADCtoTemp(float At);// Solve inverse function numerically using guesses and linear interpolate
    void ServiceKNozz(void); // Service KNozz Temperature controls
    
    float *NozSetPoint = (float *)&persist.UserData[NOZ_VAR]; // define convienient pointers to Persist floats
    float *BedSetPoint = (float *)&persist.UserData[BED_VAR];
    
    main()
    {
    
        SetBitDirection(CS, 1);
        SetBitDirection(CLK, 1);
        SetBitDirection(NOZ_HEAT, 1);
        SetBitDirection(DOUT, 1);
        SetBitDirection(BED_HEAT, 1);
    
        *NozSetPoint = 0;  // start with heaters off
        *BedSetPoint = 0;
    
        for (;;)
        {
            Delay_sec(0.001);  // loop ~every millisecond
            ServiceKNozz();
        }
    }
    
    // Service KNozz Temperature controls
    void ServiceKNozz(void)
    {
        static int JobWasActive = FALSE;
        static int i = 0;
    
        int raw_counts_bed = SPI_IN(0xf000);  // Read ADCs
        int raw_counts_noz = SPI_IN(0xd000);
    
        if (i++ >= 1000) // diagnostic printout ~ every 1 sec
        {
            i = 0;
            printf("Nozz:Setpt %6.1fC %6.1fcnts Actual %6.1fC %4dcnts   Bed:Setpt %6.1fC %6.1fcnts Actual %6.1fC %4dcnts\n",
                *NozSetPoint, TempToADC(*NozSetPoint), ADCtoTemp(raw_counts_noz), raw_counts_noz,
                *BedSetPoint, TempToADC(*BedSetPoint), ADCtoTemp(raw_counts_bed), raw_counts_bed);
        }
    
        if (raw_counts_noz < TempToADC(*NozSetPoint))
            SetBit(NOZ_HEAT);
        else
            ClearBit(NOZ_HEAT);
    
        if (raw_counts_bed < TempToADC(*BedSetPoint))
            SetBit(BED_HEAT);
        else
            ClearBit(BED_HEAT);
    
    
        if (JobWasActive && !JOB_ACTIVE)  // Job Stopped?  
        {
            //*NozSetPoint=0;  // yes, turn off heater?
            //*BedSetPoint=0;
        }
    
        JobWasActive = JOB_ACTIVE;
    }
    
    void Dly(void)
    {
        Delay_sec(5e-6);
    }
    
    int SPI_IN(int send_data)
    {
        int i;
        int dataIn = 0;
    
        SetBit(CS); //CS high
        Dly();
        ClearBit(CLK); //CLK low
        Dly();
        ClearBit(CS); //CS low
        SetStateBit(DOUT, (send_data >> 15) & 1);
        Dly();
        for (i = 0; i < 16; i++)
        {
            SetBit(CLK); //CLK high
            Dly();
            dataIn = (dataIn << 1) | ReadBit(DATAIN);  // read the bit
            ClearBit(CLK); //CLK low
            SetStateBit(DOUT, (send_data >> (14 - i)) & 1);
            Dly();
        }
        SetBit(CS); //CS high
        Dly();
    
        return dataIn;
    }
    
    // Convert Temperature in C to equivalent ADC Counts
    // based on 3rd order data fit to this measured data
    //
    // Temp C, ADC
    // 16.0199
    // 35.0400
    // 49.1600
    // 54.7700
    // 60.7800
    // 66.9900
    // 73.61000
    // 78.41100
    // 85.21200
    // 93.81300
    //107.5 1482
    //115.51570
    //125.01688
    //132.01722
    
    // function to convert Temp C to ADC counts
    float TempToADC(float T)
    {
        return  ((-0.000837 * T + 0.170202) * T + 4.565045) * T + 78.452228;  // 3rd order polynomial
    }
    
    
    // Solve inverse function numerically using guesses and linear interpolate
    float ADCtoTemp(float At)
    {
        int i;
        float A, T, T0 = 0.0, T1 = 100.0;  // initial guess 0 snd 1
    
        float A0 = TempToADC(T0);  // see how well they did
        float A1 = TempToADC(T1);
    
    
        for (i = 0; i < 10; i++)
        {
            // linearly interpolate
            T = T0 + (T1 - T0) * (At - A0) / (A1 - A0);
    
            A = TempToADC(T); // check how well it works
    //printf("Desired ADC %f guess Temp %f ADC %f\n",At,T,A);
    
            if (fast_fabs(A - At) < 0.1f) break;  // good result exit
    
            // replace furthest away guess with new result
            if (fast_fabs(A - A0) > fast_fabs(A - A1))
            {
                T0 = T;// replace guess #0
                A0 = A;
            }
            else
            {
                T1 = T;// replace guess #1
                A1 = A;
            }
        }
        return T;
    }
    HTH
    Regards
    Hi, tom

    I did all the wiring and setup as you said.

    Now when i am running knozz c program which you sent. Heater started heating and watchdog bulb glows. So this heating process is not monitored. How to measure temperature of heater using thermister on kmotioncnc screen. ? And how to monitor same?

    And one more thing i wanna ask where should i connect spindle if wanted to connect using knozz. And wiring of same.


    Thank you.

    Sent from my Lenovo K50a40 using Tapatalk

    Regards

    Amit Kumar


  4. #4
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4042
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Hi Amit,

    Heater started heating and watchdog bulb glows. So this heating process is not monitored
    Why do you say it is not monitored? Is it working or is it not working? Does the heater turn off when the setpoint is reached? Did you set a Temperature? What prints on the Console Screen?

    Regards

    Regards
    TK http://dynomotion.com


  5. #5
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Hello Tom,


    Thank you for your kind reply. The nozzle and bed heater are working perfectly, the heater turns off when the set point is reached and we can observe that on the console screen.

    But on console screen the read out displays correctly upto a set point 150 degree celsius but if the set temperature is beyond 150 degree celsius the temperature values and ADC counts on the console screens keeps reducing.

    We need a temperature of 240 degree celsius on knozz so in the temptoADC function(C Program file) what are the changes that has to be done to get the desired result.

    Anticipating your kind reply.


    Thanking you,

    Amit Kumar
    Vignesh M

    Regards

    Amit Kumar


  6. #6
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4042
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Hi Amit/Vignesh,

    To work at temperatures up to 240C you will need to create a Temperature to ADC value calibration formula that works up to 240C and beyond.

    The Polynomial fit in the example was created from Bed temperature data only to 130C. It is likely to to behave strangely beyond 130C.

    #1 To Calibrate your sensor you must have a calibrated thermometer.

    #2 Temporarily change the program to not use the polynomial so the Set Point will be in ADC units instead of degrees C.

    Change:

    Code:
    // function to convert Temp C to ADC counts
    float TempToADC(float T)
    {
        return  ((-0.000837 * T + 0.170202) * T + 4.565045) * T + 78.452228;  // 3rd order polynomial
    }
    To:

    Code:
    float TempToADC(float T)
    {
        return  T; 
    }
    #3 Set increasing Set Points (0 - 2047) and create a Table of commanded ADC values vs Measured Temperatures. Be careful not to go to too high of a temperature and burn up your nozzle. You must wait for the temperature to stabilize after each change of set point before taking the temperature reading.

    #4 Use Excel or other tool to fit a 3rd order polynomial to your table data.

    #5 put the 4 polynomial coefficients into the TempToADC() function

    #6 Test by commanding various temperatures and verify the measured temperature is always close to the commanded temperature.

    HTH
    Regards

    Regards
    TK http://dynomotion.com


  7. #7
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Quote Originally Posted by TomKerekes View Post
    Hi Amit/Vignesh,

    To work at temperatures up to 240C you will need to create a Temperature to ADC value calibration formula that works up to 240C and beyond.

    The Polynomial fit in the example was created from Bed temperature data only to 130C. It is likely to to behave strangely beyond 130C.

    #1 To Calibrate your sensor you must have a calibrated thermometer.

    #2 Temporarily change the program to not use the polynomial so the Set Point will be in ADC units instead of degrees C.

    Change:

    Code:
    // function to convert Temp C to ADC counts
    float TempToADC(float T)
    {
        return  ((-0.000837 * T + 0.170202) * T + 4.565045) * T + 78.452228;  // 3rd order polynomial
    }
    To:

    Code:
    float TempToADC(float T)
    {
        return  T; 
    }
    #3 Set increasing Set Points (0 - 2047) and create a Table of commanded ADC values vs Measured Temperatures. Be careful not to go to too high of a temperature and burn up your nozzle. You must wait for the temperature to stabilize after each change of set point before taking the temperature reading.

    #4 Use Excel or other tool to fit a 3rd order polynomial to your table data.

    #5 put the 4 polynomial coefficients into the TempToADC() function

    #6 Test by commanding various temperatures and verify the measured temperature is always close to the commanded temperature.

    HTH
    Regards
    Ok

    Thanks i will check and keep you posted.

    Sent from my Lenovo K50a40 using Tapatalk

    Regards

    Amit Kumar


  8. #8
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4042
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Hi Amit,

    I see you also asked about the KNozz Analog Output. KNozz uses the same opto isolated analog circuit as KStep. See the Analog Output section here:
    Using KStep

    PWM0 doesn't need to be multiplexed over to JP7 as it is available by default on JP6.

    Here is the Code that can accept a Spindle Speed, scale it, correct it, and output it to PWM0. It is also attached as a text file:

    Code:
    #include "KMotionDef.h"
    #include "..\KStep\CorrectAnalogFunction.c"
    
    #define RPM_FACTOR 500.0 // RPM for full duty cycle (max analog out)
    
    // desired speed is passed in variable 1
    
    
    main()
    {
        float speed = *(float *)&persist.UserData[1];  // value stored is actually a float 
    	
        SetBitDirection(26,1);  		// define bit as an output
        FPGA(IO_PWMS_PRESCALE) = 46;  	// divide clock by 46 (1.4 KHz)
        FPGA(IO_PWMS+1) = 1;  			// Enable
    	
        FPGA(IO_PWMS) = CorrectAnalog(speed/RPM_FACTOR);  	// Set PWM
    }
    HTH
    Regards

    Attached Files Attached Files
    Regards
    TK http://dynomotion.com


  9. #9
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Hi, Tom

    Thank You for your reply.

    Now i calibrated thermistor by method you discussed above.

    And i am getting temperature that i wanted earlier i.e. upto 240 C.

    And in Console screen of kmotion i am getting

    "Nozz:Setpt 27.5C 261.3cnts Actual 27.9C 269cnts Bed:Setpt 0.0C -242.4cnts Actual 13.0C 0cnts "

    this output and value of Actual Temperature matches with the setpt.

    But one problem i am having now is how to show this in KMotionCNC Application As DRO to monitor and show like X, Y, Z ,A, B,C.

    I want to show actual setpt and nozzle setpt on KMotionCNC Application. How to do that ?

    Waiting for your Kind Reply.


    Thank You

    AMIT KUMAR

    Regards

    Amit Kumar


  10. #10
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4042
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Hi Amit,

    To display values on the KMotionCNC Face you can use the KMotionCNC Screen Editor. See the Screen Editor description here:
    KMotionCNC Screen Editor - Dynomotion

    #1 Use the KMotionCNC Screen Editor to make a Screen Script with a control of DROLabel Style with an associated persist variable number.

    #2 Write KFLOP C Code to format the value you wish to display into a string using sprintf and associate the string with the persist variable number that matches the control on the screen.

    See the example in this video that adds 2 numbers and displays the result on the screen in a DROLabel. Here is a video tutorial (start at the 13 minute mark)



    HTH
    Regards

    Regards
    TK http://dynomotion.com


  11. #11
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Quote Originally Posted by TomKerekes View Post
    Hi Amit,

    To display values on the KMotionCNC Face you can use the KMotionCNC Screen Editor. See the Screen Editor description here:
    KMotionCNC Screen Editor - Dynomotion

    #1 Use the KMotionCNC Screen Editor to make a Screen Script with a control of DROLabel Style with an associated persist variable number.

    #2 Write KFLOP C Code to format the value you wish to display into a string using sprintf and associate the string with the persist variable number that matches the control on the screen.

    See the example in this video that adds 2 numbers and displays the result on the screen in a DROLabel. Here is a video tutorial (start at the 13 minute mark)



    HTH
    Regards
    Hi tom,

    Thank you for reply.

    I tried connecting a vfd to knozz board, j3 connecter. And tried running c program that you sent me earlier.

    But i am not getting pwm out signal on pin number 2 of j3 connector.

    Could you please tell me which io bit is j3 connector of knozz connected to kflop jp6.?

    The VFD I am using is a delta E series VFD(vfd022e21a) which runs on pwn signal (0-10v) for speed control.

    Thank you

    Amit Kumar





    Sent from my Lenovo K50a40 using Tapatalk

    Regards

    Amit Kumar


  12. #12
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Quote Originally Posted by amitkumar171 View Post
    Hi tom,

    Thank you for reply.

    I tried connecting a vfd to knozz board, j3 connecter. And tried running c program that you sent me earlier.

    But i am not getting pwm out signal on pin number 2 of j3 connector.

    Could you please tell me which io bit is j3 connector of knozz connected to kflop jp6.?

    The VFD I am using is a delta E series VFD(vfd022e21a) which runs on pwn signal (0-10v) for speed control.

    Thank you

    Amit Kumar





    Sent from my Lenovo K50a40 using Tapatalk
    Hi tom,

    Thanks for your reply

    I am having one problem right now after nozzle started working. Something is wrong with knozz j2 connector. Neg and gnd is connected internally and +12v is also connected with +12v internally.

    And in case of j1 connector its not. heating starts automatically when i give power without any intialisation of knozz c program.

    Which part of knozz board is causing this problem. Is the mosfet of j2 connector.


    Thank you

    Sent from my Lenovo K50a40 using Tapatalk

    Regards

    Amit Kumar


  13. #13
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4042
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Hi Amit,

    I tried connecting a vfd to knozz board, j3 connecter. And tried running c program that you sent me earlier.

    But i am not getting pwm out signal on pin number 2 of j3 connector.
    Are you applying a voltage across AnalogVcc and AnalogGnd?

    Could you please tell me which io bit is j3 connector of knozz connected to kflop jp6.?
    KFLOP IO26 (JP6 Pin5) drives the PWM to Analog Circuit which creates the Analog Voltage.

    I am having one problem right now after nozzle started working. Something is wrong with knozz j2 connector. Neg and gnd is connected internally and +12v is also connected with +12v internally.

    And in case of j1 connector its not. heating starts automatically when i give power without any intialisation of knozz c program.

    Which part of knozz board is causing this problem. Is the mosfet of j2 connector.
    The FET switch is connected between the NEG terminal and the GND terminal. Those pins should not be connected internally unless the FET is damaged. The +12V and +12V connections are connected together internally with a copper trace.

    I'm confused on which is not working J1 or J2. How are the connectors wired. I thought it was working. What changed?

    Regards

    Regards
    TK http://dynomotion.com


  14. #14
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Quote Originally Posted by TomKerekes View Post
    Hi Amit,

    Are you applying a voltage across AnalogVcc and AnalogGnd?

    KFLOP IO26 (JP6 Pin5) drives the PWM to Analog Circuit which creates the Analog Voltage.

    The FET switch is connected between the NEG terminal and the GND terminal. Those pins should not be connected internally unless the FET is damaged. The +12V and +12V connections are connected together internally with a copper trace.

    I'm confused on which is not working J1 or J2. How are the connectors wired. I thought it was working. What changed?

    Regards
    Hi tom,

    Thanks for reply.

    J2 connector of knozz is not working.

    It always has 12v output and input. There is no switch working.

    One of our electronic person unplugged heater from j2 connector while it was heating with the m100 p50 command. And plugged multimeter for checking voltage. After that it stopped working.

    Please suggest me some solution.


    Thanks again

    Amit Kumar

    Sent from my Lenovo K50a40 using Tapatalk

    Regards

    Amit Kumar


  15. #15
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4042
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Hi Amit,

    I'm confused. You sent me a private email saying a Relay was connected to the FET Output?

    The Heater should not be unplugged with power on.

    Could the meter leads have shorted?

    If you connected the Relay, did it have a reverse diode across the coil?

    Anyway if you contact Dynomotion Support and pay for shipping we can send a replacement board.

    Regards

    Regards
    TK http://dynomotion.com


  16. #16
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Quote Originally Posted by TomKerekes View Post
    Hi Amit,

    I'm confused. You sent me a private email saying a Relay was connected to the FET Output?

    The Heater should not be unplugged with power on.

    Could the meter leads have shorted?

    If you connected the Relay, did it have a reverse diode across the coil?

    Anyway if you contact Dynomotion Support and pay for shipping we can send a replacement board.

    Regards
    Hi tom,

    Thanks for reply.

    Can you please suggest an alternative option for replacing that mosfet.

    Because shipping and other will be time taking and expensive.

    Anticipating your kind reply.

    Thank you
    Amit Kumar


    Sent from my Lenovo K50a40 using Tapatalk

    Regards

    Amit Kumar


  17. #17
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4042
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Hi Amit,

    The MOSFET is an N-channel Infineon IPD025N06N in a TO252-3 package

    Basically 60V 2.5mIlliohm 90Amp continuous 2.8V gate threshold voltage

    Regards

    Regards
    TK http://dynomotion.com


  18. #18
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Hi, Tom

    Thanks for your reply.

    Now Mosfet is replaced with a new one. and Its working fine now.

    Still how do i connect spindle on/off/direction switch to knozz board. and on which connector is should connect the spindle direction/on/off wires.

    My nozzle and bed heaters are working now. and spindle is running by using knozz. but direction control and on off switch is not working.

    Anticipating your kind reply.


    Thank You
    AMIT KUMAR

    Regards

    Amit Kumar


  19. #19
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4042
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Hi Amit,

    Still how do i connect spindle on/off/direction switch to knozz board. and on which connector is should connect the spindle direction/on/off wires.

    My nozzle and bed heaters are working now. and spindle is running by using knozz. but direction control and on off switch is not working.
    KNozz only has 2 Outputs driven by KFLOP IO26 and IO27. They can be used for either Heaters or Spindle control. But not both at the same time. Here is the IO Table from the KNozz on-line help

    Instruction on Knozz wiring and setup-knozzio-png

    You haven't told us what your spindle needs to control it. Are you switching the main power or maybe a 24V VFD signal at a few milliamps?

    Adding our Konnect board would add 16 more outputs.

    Or you might add a 3rd party relay driver board that can be driven by KFLOP LVTTL IO such as:
    Relay Board: TTL Logic Level Inputs, 2 SPDT 15A Relays - Winford Engineering

    HTH
    Regards

    Regards
    TK http://dynomotion.com


  20. #20
    Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    112
    Downloads
    0
    Uploads
    0

    Default Re: Instruction on Knozz wiring and setup

    Quote Originally Posted by TomKerekes View Post
    Hi Amit,

    KNozz only has 2 Outputs driven by KFLOP IO26 and IO27. They can be used for either Heaters or Spindle control. But not both at the same time. Here is the IO Table from the KNozz on-line help

    Instruction on Knozz wiring and setup-knozzio-png

    You haven't told us what your spindle needs to control it. Are you switching the main power or maybe a 24V VFD signal at a few milliamps?

    Adding our Konnect board would add 16 more outputs.

    Or you might add a 3rd party relay driver board that can be driven by KFLOP LVTTL IO such as:
    Relay Board: TTL Logic Level Inputs, 2 SPDT 15A Relays - Winford Engineering

    HTH
    Regards
    Hi Tom,

    Thank you for your reply.

    Setup of knozz is done now, everything is working fine now.


    Regards
    Amit Kumar

    Sent from my Lenovo K50a40 using Tapatalk

    Regards

    Amit Kumar


Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Instruction on Knozz wiring and setup

Instruction on Knozz wiring and setup