SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
Hi Noel,
No, but you can connect Konnect to JP4 instead to free Up JP6.
Here is an example using software, 2 Konnect Outputs, and a simple circuit to create an opto Isolated Analog signal. Response rate is not great but adequate for most applications.
No, but you can connect Konnect to JP4 instead to free Up JP6.
Here is an example using software, 2 Konnect Outputs, and a simple circuit to create an opto Isolated Analog signal. Response rate is not great but adequate for most applications.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
Thank you Tom.
I moved the Konnects borards to JP4 and modified the init C program "AddKonnect_Aux0" .
i have built this circuit already, i am trying to find out how to configure an output as PWM from JP6, do i need a C program for that?
regards
I moved the Konnects borards to JP4 and modified the init C program "AddKonnect_Aux0" .
i have built this circuit already, i am trying to find out how to configure an output as PWM from JP6, do i need a C program for that?
regards
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
Hi Noel,
PWM Output Mode for an Axis is not directly supported. A C Program can be used to have the Axis Output directed to a PWM in the mode necessary for your system. See the "Setup Gcode 4 axis PWM signMag.c" example.
Or to just output the GCode S value to a PWM see the SpindlePWM.c example.
PWM Output Mode for an Axis is not directly supported. A C Program can be used to have the Axis Output directed to a PWM in the mode necessary for your system. See the "Setup Gcode 4 axis PWM signMag.c" example.
Or to just output the GCode S value to a PWM see the SpindlePWM.c example.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
I set on tool setup settings the S as "execut/wait/sync" The SpindlePWM.C, the bit 26 box is checked and the state box blinks, so does it mean that the output is working as PWM? now i am trying to figure it out how to set the spindlePWM C values, i entered in the MDI "S3000" and console printed " Spindle Set to 1170.000000 pwm 99", so the console should print the same value as "S value"? I mean how to set the specific values to match the real spindle RPMs.
thanks
thanks
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
Hi Noel,
Is the Var set to 0?
Is the SSO set to 1?
Is the Var set to 0?
Is the SSO set to 1?
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
I set the VAR to 1, and console print the S value now.
where is this parameter? i attached the log file after ran two g code programs with different spindle speeds, one is 10,000 and the other 18,000 rpm and it printed ok.
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
SSO = Spindle Speed Override on the KMotionCNC Screen. See here.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
oh ok, yes it is working ok, when i move the slider up and down the console prints all values right away.
now what i noted is the output 26 in aux1 is unchecked, the first time i checked manually to observe the status, but after turn kflop off and turned back on, it appear unchecked, so o i need to add a code in the init program to activate the output 26?
now what i noted is the output 26 in aux1 is unchecked, the first time i checked manually to observe the status, but after turn kflop off and turned back on, it appear unchecked, so o i need to add a code in the init program to activate the output 26?
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: SETTING UP KFLOP, KANALOG FOR NEW CNC ROUTER RETROFIT
Hi Tom
question about the Konnect outputs, in the case i connect directly 24v electro valves or solenoids, do i have to add a flywheel diode? I know some relay card have already flywheel diodes installed but maybe not the solenoids or electro valves.
regards
question about the Konnect outputs, in the case i connect directly 24v electro valves or solenoids, do i have to add a flywheel diode? I know some relay card have already flywheel diodes installed but maybe not the solenoids or electro valves.
regards