Steps do not work but jog does

Moderators: TomKerekes, dynomotion

Post Reply
men8ifr
Posts: 19
Joined: Tue Mar 26, 2019 2:30 pm

Steps do not work but jog does

Post by men8ifr » Sat Nov 18, 2023 7:53 am

As per the title, I've checked and enable joypad is not enabled.

If I press the steps (in any direction) the co-ordinates do not change either so I don't think there is any attempt to move the axis.

I tried changing the steps upto 1000 and still no luck.
My Set-up
PM30 Milling Machine - 3 axis
Kflop
Leadshine copy closed loop 'hybrid' stepper drivers similar to HBS86
Nema 34 6A 8.5Nm motors with encoder (encoder connects to stepper driver)
Fusion 360 Software

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

Re: Steps do not work but jog does

Post by TomKerekes » Sat Nov 18, 2023 6:40 pm

Post your \KMotion\Data\GCodeConfigCNC.txt file or Tool Setup Screens so we can see your Configuration

Also Post your Initialization C Program
Regards,

Tom Kerekes
Dynomotion, Inc.

men8ifr
Posts: 19
Joined: Tue Mar 26, 2019 2:30 pm

Re: Steps do not work but jog does

Post by men8ifr » Thu Nov 23, 2023 4:10 pm

File below

Code: Select all

#include "KMotionDef.h"

main()
{
	ch0->InputMode=NO_INPUT_MODE;
	ch0->OutputMode=STEP_DIR_MODE;
	ch0->Vel=2000;
	ch0->Accel=10000;
	ch0->Jerk=400000;
	ch0->P=1;
	ch0->I=0;
	ch0->D=0;
	ch0->FFAccel=0;
	ch0->FFVel=0;
	ch0->MaxI=200;
	ch0->MaxErr=1e+06;
	ch0->MaxOutput=200;
	ch0->DeadBandGain=1;
	ch0->DeadBandRange=0;
	ch0->InputChan0=0;
	ch0->InputChan1=0;
	ch0->OutputChan0=0;
	ch0->OutputChan1=1;
	ch0->MasterAxis=-1;
	ch0->LimitSwitchOptions=0x100;
	ch0->LimitSwitchNegBit=0;
	ch0->LimitSwitchPosBit=0;
	ch0->SoftLimitPos=1e+30;
	ch0->SoftLimitNeg=-1e+30;
	ch0->InputGain0=1;
	ch0->InputGain1=1;
	ch0->InputOffset0=0;
	ch0->InputOffset1=0;
	ch0->OutputGain=-1;
	ch0->OutputOffset=0;
	ch0->SlaveGain=1;
	ch0->BacklashMode=BACKLASH_LINEAR;
	ch0->BacklashAmount=1;
	ch0->BacklashRate=2000;
	ch0->invDistPerCycle=1;
	ch0->Lead=0;
	ch0->MaxFollowingError=1000000000;
	ch0->StepperAmplitude=20;

	ch0->iir[0].B0=1;
	ch0->iir[0].B1=0;
	ch0->iir[0].B2=0;
	ch0->iir[0].A1=0;
	ch0->iir[0].A2=0;

	ch0->iir[1].B0=1;
	ch0->iir[1].B1=0;
	ch0->iir[1].B2=0;
	ch0->iir[1].A1=0;
	ch0->iir[1].A2=0;

	ch0->iir[2].B0=1;
	ch0->iir[2].B1=0;
	ch0->iir[2].B2=0;
	ch0->iir[2].A1=0;
	ch0->iir[2].A2=0;

	ch1->InputMode=NO_INPUT_MODE;
	ch1->OutputMode=STEP_DIR_MODE;
	ch1->Vel=2000;
	ch1->Accel=10000;
	ch1->Jerk=400000;
	ch1->P=0;
	ch1->I=0.01;
	ch1->D=0;
	ch1->FFAccel=0;
	ch1->FFVel=0;
	ch1->MaxI=200;
	ch1->MaxErr=1e+06;
	ch1->MaxOutput=200;
	ch1->DeadBandGain=1;
	ch1->DeadBandRange=0;
	ch1->InputChan0=0;
	ch1->InputChan1=0;
	ch1->OutputChan0=1;
	ch1->OutputChan1=0;
	ch1->MasterAxis=-1;
	ch1->LimitSwitchOptions=0x100;
	ch1->LimitSwitchNegBit=0;
	ch1->LimitSwitchPosBit=0;
	ch1->SoftLimitPos=1e+30;
	ch1->SoftLimitNeg=-1e+30;
	ch1->InputGain0=1;
	ch1->InputGain1=1;
	ch1->InputOffset0=0;
	ch1->InputOffset1=0;
	ch1->OutputGain=-1;
	ch1->OutputOffset=0;
	ch1->SlaveGain=1;
	ch1->BacklashMode=BACKLASH_OFF;
	ch1->BacklashAmount=0;
	ch1->BacklashRate=0;
	ch1->invDistPerCycle=1;
	ch1->Lead=0;
	ch1->MaxFollowingError=1000000000;
	ch1->StepperAmplitude=20;

	ch1->iir[0].B0=1;
	ch1->iir[0].B1=0;
	ch1->iir[0].B2=0;
	ch1->iir[0].A1=0;
	ch1->iir[0].A2=0;

	ch1->iir[1].B0=1;
	ch1->iir[1].B1=0;
	ch1->iir[1].B2=0;
	ch1->iir[1].A1=0;
	ch1->iir[1].A2=0;

	ch1->iir[2].B0=0.000769;
	ch1->iir[2].B1=0.001538;
	ch1->iir[2].B2=0.000769;
	ch1->iir[2].A1=1.92076;
	ch1->iir[2].A2=-0.923833;

	ch2->InputMode=NO_INPUT_MODE;
	ch2->OutputMode=STEP_DIR_MODE;
	ch2->Vel=2000;
	ch2->Accel=10000;
	ch2->Jerk=400000;
	ch2->P=0;
	ch2->I=0.01;
	ch2->D=0;
	ch2->FFAccel=0;
	ch2->FFVel=0;
	ch2->MaxI=200;
	ch2->MaxErr=1e+06;
	ch2->MaxOutput=200;
	ch2->DeadBandGain=1;
	ch2->DeadBandRange=0;
	ch2->InputChan0=0;
	ch2->InputChan1=0;
	ch2->OutputChan0=2;
	ch2->OutputChan1=0;
	ch2->MasterAxis=-1;
	ch2->LimitSwitchOptions=0x100;
	ch2->LimitSwitchNegBit=0;
	ch2->LimitSwitchPosBit=0;
	ch2->SoftLimitPos=1e+30;
	ch2->SoftLimitNeg=-1e+30;
	ch2->InputGain0=1;
	ch2->InputGain1=1;
	ch2->InputOffset0=0;
	ch2->InputOffset1=0;
	ch2->OutputGain=1;
	ch2->OutputOffset=0;
	ch2->SlaveGain=1;
	ch2->BacklashMode=BACKLASH_LINEAR;
	ch2->BacklashAmount=100;
	ch2->BacklashRate=2000;
	ch2->invDistPerCycle=1;
	ch2->Lead=0;
	ch2->MaxFollowingError=1000000000;
	ch2->StepperAmplitude=20;

	ch2->iir[0].B0=1;
	ch2->iir[0].B1=0;
	ch2->iir[0].B2=0;
	ch2->iir[0].A1=0;
	ch2->iir[0].A2=0;

	ch2->iir[1].B0=1;
	ch2->iir[1].B1=0;
	ch2->iir[1].B2=0;
	ch2->iir[1].A1=0;
	ch2->iir[1].A2=0;

	ch2->iir[2].B0=1;
	ch2->iir[2].B1=0;
	ch2->iir[2].B2=0;
	ch2->iir[2].A1=0;
	ch2->iir[2].A2=0;

DefineCoordSystem(0,1,2,-1);

 EnableAxis(0);  // enable  Axis X
  EnableAxis(1);  // enable  Axis y
   EnableAxis(2);  // enable  Axis Z
  
   
}
My Set-up
PM30 Milling Machine - 3 axis
Kflop
Leadshine copy closed loop 'hybrid' stepper drivers similar to HBS86
Nema 34 6A 8.5Nm motors with encoder (encoder connects to stepper driver)
Fusion 360 Software

men8ifr
Posts: 19
Joined: Tue Mar 26, 2019 2:30 pm

Re: Steps do not work but jog does

Post by men8ifr » Fri Nov 24, 2023 10:44 am

Code: Select all

m_SetupFile=DefaultKeepOffsetsInches.set
m_ToolFile=Default.tbl
m_GeoFile=
m_Button0=Enable Axis
m_Button1=
m_Button2=
m_Button3=
m_Button4=
m_Button5=
m_Button6=
m_Button7=
m_Button8=
m_Button9=
CommandHistory[0]=M3S1000
CommandHistory[1]=M103
CommandHistory[2]=M3
CommandHistory[3]=F[#199 *1000]
CommandHistory[4]=F#199
CommandHistory[5]=S500
CommandHistory[6]=M6T1002
CommandHistory[7]=G0X200
CommandHistory[8]=G0X0
CommandHistory[9]=G0X100
m_CommandString=M3S1000
m_BreakAngle=  9.000000000000000e+01
m_CollinearTol=  1.000000000000000e-03
m_CornerTol=  1.000000000000000e-03
m_FacetAngle=  1.000000000000000e+00
m_JogSpeed[0]=  4.000000000000000e-01
m_JogSpeed[1]=  4.000000000000000e-01
m_JogSpeed[2]=  4.000000000000000e-01
m_JogSpeed[3]=  1.000000000000000e+01
m_JogSpeed[4]=  1.000000000000000e+01
m_JogSpeed[5]=  5.000000000000000e+00
m_JogSlowPercent=  5.000000000000000e+00
m_HardwareFRORange=  1.000000000000000e+00
m_MaxRapidFRO=  1.000000000000000e+00
m_ArcRadiusTol=  7.000000000000000e-04
m_ArcRSmallTol=  1.000000000000000e-12
m_TPLookahead=  1.000000000000000e+00
m_RadiusC=  0.000000000000000e+00
m_RadiusB=  0.000000000000000e+00
m_RadiusA=  0.000000000000000e+00
m_MaxAccelC=  1.000000000000000e+01
m_MaxAccelB=  1.000000000000000e+01
m_MaxAccelA=  1.000000000000000e+01
m_MaxAccelX=  3.000000000000000e+01
m_MaxAccelY=  3.000000000000000e+01
m_MaxAccelZ=  3.000000000000000e+00
m_MaxAccelU=  1.000000000000000e-02
m_MaxAccelV=  1.000000000000000e-02
m_MaxVelC=  1.000000000000000e+01
m_MaxVelB=  1.000000000000000e+01
m_MaxVelA=  1.000000000000000e+01
m_MaxVelX=  1.000000000000000e+01
m_MaxVelY=  1.000000000000000e+01
m_MaxVelZ=  1.000000000000000e+00
m_MaxVelU=  1.000000000000000e+01
m_MaxVelV=  1.000000000000000e+01
m_CountsPerInchC=  1.000000000000000e+02
m_CountsPerInchB=  1.000000000000000e+02
m_CountsPerInchA=  1.000000000000000e+02
m_CountsPerInchX=  1.100500000000000e+04
m_CountsPerInchY=  1.008800000000000e+04
m_CountsPerInchZ=  1.100500000000000e+04
m_CountsPerInchU=  1.000000000000000e+02
m_CountsPerInchV=  1.000000000000000e+02
m_Step0=  1.000000000000000e+00
m_Step1=  1.000000000000000e+01
m_Step2=  1.000000000000000e+02
m_Step3=  1.000000000000000e+03
m_Step4=  1.000000000000000e+00
m_Step5=  1.000000000000000e+01
m_ReverseRZ=0
m_EnableGamePad=0
m_ZeroUsingFixtures=0
m_ToolLengthImmediately=1
m_ToolTableDoM6=1
m_ConfirmExit=1
m_ArcsToSegs=1
m_DisplayEncoder=0
m_Lathe=0
m_DoRapidsAsFeeds=0
m_DiameterMode=0
m_XPosFront=0
m_SpindleType=1
m_SpindleAxis=3
m_SaveFixtureOnOK=1
m_SpindleUpdateTime=  2.000000000000000e-01
m_SpindleTau=  1.000000000000000e-01
m_SpindleCntsPerRev=  3.200000000000000e+03
Interpreter->McodeActions[0].Action=0
Interpreter->McodeActions[0].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[0].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[0].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[0].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[0].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[0].String=
Interpreter->McodeActions[1].Action=0
Interpreter->McodeActions[1].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[1].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[1].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[1].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[1].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[1].String=
Interpreter->McodeActions[2].Action=0
Interpreter->McodeActions[2].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[2].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[2].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[2].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[2].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[2].String=
Interpreter->McodeActions[3].Action=4
Interpreter->McodeActions[3].dParams[0]=  3.000000000000000e+00
Interpreter->McodeActions[3].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[3].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[3].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[3].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[3].String=SpindleUsingJogs\CSS\OnCWJog.c
Interpreter->McodeActions[4].Action=0
Interpreter->McodeActions[4].dParams[0]=  1.450000000000000e+02
Interpreter->McodeActions[4].dParams[1]=  1.000000000000000e+00
Interpreter->McodeActions[4].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[4].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[4].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[4].String=
Interpreter->McodeActions[5].Action=4
Interpreter->McodeActions[5].dParams[0]=  3.000000000000000e+00
Interpreter->McodeActions[5].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[5].dParams[2]=  4.600000000000000e+01
Interpreter->McodeActions[5].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[5].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[5].String=SpindleUsingJogs\CSS\OffJog.c
Interpreter->McodeActions[6].Action=6
Interpreter->McodeActions[6].dParams[0]=  4.000000000000000e+00
Interpreter->McodeActions[6].dParams[1]=  9.000000000000000e+00
Interpreter->McodeActions[6].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[6].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[6].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[6].String=ToolChange.c
Interpreter->McodeActions[7].Action=0
Interpreter->McodeActions[7].dParams[0]=  2.200000000000000e+01
Interpreter->McodeActions[7].dParams[1]=  1.000000000000000e+00
Interpreter->McodeActions[7].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[7].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[7].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[7].String=
Interpreter->McodeActions[8].Action=0
Interpreter->McodeActions[8].dParams[0]=  2.300000000000000e+01
Interpreter->McodeActions[8].dParams[1]=  1.000000000000000e+00
Interpreter->McodeActions[8].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[8].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[8].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[8].String=
Interpreter->McodeActions[9].Action=0
Interpreter->McodeActions[9].dParams[0]=  2.200000000000000e+01
Interpreter->McodeActions[9].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[9].dParams[2]=  2.300000000000000e+01
Interpreter->McodeActions[9].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[9].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[9].String=
Interpreter->McodeActions[10].Action=4
Interpreter->McodeActions[10].dParams[0]=  3.000000000000000e+00
Interpreter->McodeActions[10].dParams[1]=  1.130000000000000e+02
Interpreter->McodeActions[10].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[10].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[10].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[10].String=SpindleUsingJogs\CSS\SpindleJog.c
Interpreter->McodeActions[11].Action=4
Interpreter->McodeActions[11].dParams[0]=  1.000000000000000e+00
Interpreter->McodeActions[11].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[11].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[11].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[11].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[11].String=Axis Set Up IR.c
Interpreter->McodeActions[12].Action=0
Interpreter->McodeActions[12].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[12].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[12].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[12].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[12].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[12].String=Add.scr
Interpreter->McodeActions[13].Action=0
Interpreter->McodeActions[13].dParams[0]=  2.000000000000000e+00
Interpreter->McodeActions[13].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[13].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[13].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[13].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[13].String=BlinkKFLOP.c
Interpreter->McodeActions[14].Action=0
Interpreter->McodeActions[14].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[14].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[14].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[14].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[14].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[14].String=
Interpreter->McodeActions[15].Action=0
Interpreter->McodeActions[15].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[15].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[15].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[15].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[15].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[15].String=
Interpreter->McodeActions[16].Action=0
Interpreter->McodeActions[16].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[16].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[16].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[16].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[16].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[16].String=
Interpreter->McodeActions[17].Action=0
Interpreter->McodeActions[17].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[17].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[17].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[17].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[17].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[17].String=
Interpreter->McodeActions[18].Action=0
Interpreter->McodeActions[18].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[18].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[18].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[18].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[18].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[18].String=
Interpreter->McodeActions[19].Action=0
Interpreter->McodeActions[19].dParams[0]=  4.600000000000000e+01
Interpreter->McodeActions[19].dParams[1]=  1.000000000000000e+00
Interpreter->McodeActions[19].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[19].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[19].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[19].String=
Interpreter->McodeActions[20].Action=0
Interpreter->McodeActions[20].dParams[0]=  4.600000000000000e+01
Interpreter->McodeActions[20].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[20].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[20].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[20].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[20].String=
Interpreter->McodeActions[21].Action=0
Interpreter->McodeActions[21].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[21].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[21].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[21].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[21].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[21].String=
Interpreter->McodeActions[22].Action=0
Interpreter->McodeActions[22].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[22].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[22].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[22].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[22].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[22].String=
Interpreter->McodeActions[23].Action=0
Interpreter->McodeActions[23].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[23].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[23].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[23].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[23].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[23].String=
Interpreter->McodeActions[24].Action=0
Interpreter->McodeActions[24].dParams[0]=  2.000000000000000e+00
Interpreter->McodeActions[24].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[24].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[24].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[24].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[24].String=
Interpreter->McodeActions[25].Action=0
Interpreter->McodeActions[25].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[25].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[25].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[25].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[25].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[25].String=
Interpreter->McodeActions[26].Action=0
Interpreter->McodeActions[26].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[26].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[26].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[26].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[26].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[26].String=
Interpreter->McodeActions[27].Action=0
Interpreter->McodeActions[27].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[27].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[27].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[27].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[27].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[27].String=
Interpreter->McodeActions[28].Action=0
Interpreter->McodeActions[28].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[28].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[28].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[28].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[28].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[28].String=
Interpreter->McodeActions[29].Action=0
Interpreter->McodeActions[29].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[29].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[29].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[29].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[29].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[29].String=
Interpreter->McodeActions[30].Action=0
Interpreter->McodeActions[30].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[30].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[30].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[30].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[30].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[30].String=
Interpreter->McodeActions[31].Action=0
Interpreter->McodeActions[31].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[31].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[31].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[31].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[31].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[31].String=
Interpreter->McodeActions[32].Action=0
Interpreter->McodeActions[32].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[32].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[32].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[32].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[32].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[32].String=
Interpreter->McodeActions[33].Action=0
Interpreter->McodeActions[33].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[33].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[33].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[33].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[33].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[33].String=
Interpreter->McodeActions[34].Action=0
Interpreter->McodeActions[34].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[34].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[34].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[34].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[34].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[34].String=
Interpreter->McodeActions[35].Action=0
Interpreter->McodeActions[35].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[35].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[35].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[35].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[35].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[35].String=
Interpreter->McodeActions[36].Action=0
Interpreter->McodeActions[36].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[36].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[36].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[36].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[36].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[36].String=
Interpreter->McodeActions[37].Action=0
Interpreter->McodeActions[37].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[37].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[37].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[37].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[37].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[37].String=
Interpreter->McodeActions[38].Action=0
Interpreter->McodeActions[38].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[38].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[38].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[38].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[38].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[38].String=
Interpreter->McodeActions[39].Action=0
Interpreter->McodeActions[39].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[39].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[39].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[39].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[39].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[39].String=
Interpreter->McodeActions[40].Action=0
Interpreter->McodeActions[40].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[40].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[40].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[40].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[40].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[40].String=
Interpreter->McodeActions[41].Action=0
Interpreter->McodeActions[41].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[41].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[41].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[41].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[41].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[41].String=
Interpreter->McodeActions[42].Action=0
Interpreter->McodeActions[42].dParams[0]=  1.000000000000000e+00
Interpreter->McodeActions[42].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[42].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[42].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[42].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[42].String=C:\KMotionSrc\C Programs\HaltGCode.c
Interpreter->McodeActions[43].Action=0
Interpreter->McodeActions[43].dParams[0]=  4.600000000000000e+01
Interpreter->McodeActions[43].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[43].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[43].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[43].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[43].String=C:\KMotionSrc\C Programs\Safe Z on Halt Carl.c
Interpreter->McodeActions[44].Action=0
Interpreter->McodeActions[44].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[44].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[44].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[44].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[44].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[44].String=
Interpreter->McodeActions[45].Action=0
Interpreter->McodeActions[45].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[45].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[45].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[45].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[45].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[45].String=
Interpreter->McodeActions[46].Action=0
Interpreter->McodeActions[46].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[46].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[46].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[46].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[46].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[46].String=
Interpreter->McodeActions[47].Action=0
Interpreter->McodeActions[47].dParams[0]=  3.000000000000000e+00
Interpreter->McodeActions[47].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[47].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[47].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[47].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[47].String=C:\KMotionSrc\C Programs\BlinkKFLOP.c
Interpreter->McodeActions[48].Action=0
Interpreter->McodeActions[48].dParams[0]=  0.000000000000000e+00
Interpreter->McodeActions[48].dParams[1]=  0.000000000000000e+00
Interpreter->McodeActions[48].dParams[2]=  0.000000000000000e+00
Interpreter->McodeActions[48].dParams[3]=  0.000000000000000e+00
Interpreter->McodeActions[48].dParams[4]=  0.000000000000000e+00
Interpreter->McodeActions[48].String=
m_DialogFace=8
m_SafeZ=  0.000000000000000e+00
m_SafeRelAbs=0
m_DegreesA=1
m_DegreesB=1
m_DegreesC=1
m_UserButtonKeys[0]=120
m_UserButtonKeys[1]=121
m_UserButtonKeys[2]=-1
m_UserButtonKeys[3]=123
m_UserButtonKeys[4]=-1
m_UserButtonKeys[5]=-1
m_UserButtonKeys[6]=-1
m_UserButtonKeys[7]=-1
m_UserButtonKeys[8]=116
m_UserButtonKeys[9]=117
m_VarsFile=
m_ScreenScriptFile=3AxisNoJog.scr
m_DisplayGViewer=1
m_ConfigCheckWord=12345678
My Set-up
PM30 Milling Machine - 3 axis
Kflop
Leadshine copy closed loop 'hybrid' stepper drivers similar to HBS86
Nema 34 6A 8.5Nm motors with encoder (encoder connects to stepper driver)
Fusion 360 Software

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

Re: Steps do not work but jog does

Post by TomKerekes » Sat Nov 25, 2023 1:29 am

Seems to work for me.

I'm running the latest 5.3.1. Ans it works for me.

You might Flash "New Version" to make sure you haven't corrupted KFLOP.

Cycle Power.

Run KMotionCNC

Compile/Download/Execute the Init C Program. The Enable Button is configured to run "Axis Set Up IR.c" is that the program you posted?

Set the Step size to 1 inch.

Push The + Step X button does the axis move 1 inch?
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply