Hi Genaro,
The 16 KSTEP inputs are multiplexed into KSTEP 4 bits at a time. KFLOP IO bits 2 and 3 are the multiplexor outputs. IO bits 4-7 are the multiplexor inputs. Are Bits 2 and 3 set as outputs and toggling on and off on the Digital IO screen?
Please check this after powering up KFLOP, then executing the C program InitKStep4Axis.c, but before running Mach3.
What Version are you running?
Regards TK
| Group: DynoMotion |
Message: 8109 |
From: eypisa |
Date: 8/16/2013 |
| Subject: Re: KStep is not multiplexing inputs |
Hi Tom,
- I am using version 4.30 build 12:02:08 Mar 3 2012.
- On Mach3 "Config Plugin" tab shows Dynomotion-V4.30.
- After powering up bits 3 to 7 are on.
- After executing "InitKStep4Axis" bits 2 and 3 are toggling.
Inputs are working fine in Kmotion after executing "InitKStep4Axis" all of them has been read OK in Virtual/KStep but still not working on Mach3.
MACH3 OUTPUT CONFIGURATION:
- Output #1: Port#=1 PinNumber= 0.
- Output #2: Port#=1 PinNumber= 1.
* Pressing Spindle toggle button: Relay #1 just goes ON for a second then goes OFF, Relay #2 goes ON right after #1 goes OFF.
* Pressing Flood or Mist button: Relay #1 goes ON and keeps ON until button is pressed again.
MACH3 INPUT CONFIGURATION:
Plugin manual tells if input pin number is greater than 128 use Port#2 and substract 128 pin number so I am configuring:
- EStop (Pin 168): Port#=2 PinNumber= 40.
- THC ON (Pin 169): Port#=2 PinNUmber= 41.
- THC UP (Pin 170): Port#=2 PinNUmber= 42.
- THC Down(Pin 171): Port#=2 PinNUmber= 43.
Mach3 Diagnostics Screen shows no activity when input is activated. Actually I ran Kmotion when Mach3 still running and Virtual/KStep reads inputs OK.
Can you tell me what I'm missing,I really apreciate your help.
Best regards,
Genaro.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Genaro,
>
> The 16 KSTEP inputs are multiplexed into KSTEP 4 bits at a time. KFLOP IO bits 2 and 3 are the multiplexor outputs. IO bits 4-7 are the multiplexor inputs. Are Bits 2 and 3 set as outputs and toggling on and off on the Digital IO screen?
>
> Please check this after powering up KFLOP, then executing the C program InitKStep4Axis.c, but before running Mach3.
>
> What Version are you running?
>
> Regards
> TK
>
>
>
> ________________________________
> From: eypisa <energiainteligente.sa@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, August 15, 2013 8:39 AM
> Subject: [DynoMotion] KStep is not multiplexing inputs
>
>
>
> Â
> Hi Tom,
>
> I am building a CNC using KFlop+KStep and Mach3 software, the problem I have is that inputs are not recognized. I was reading other posts and found out that problem could be related to KStepPresent = TRUE instruction, but I'm using the "InitKStep4Axis" file and it already has this line.
>
> I was checking Outputs/Inputs states in Kmotion Digital I/O and outputs #1,#2 works fine, but inputs are readed as ENC2, ENC3 signals not the Virtual/KStep signals.
>
> Can you tell me how to tell in Kmotion that a Kstep is present, or if I missing something on the Mach3 setup?
>
> Thaks and best regards,
>
> Genaro.
>
|
|
| Group: DynoMotion |
Message: 8110 |
From: Tom Kerekes |
Date: 8/16/2013 |
| Subject: Re: KStep is not multiplexing inputs |
Hi Genaro, There was a bug in the Mach3 Plugin regarding Input numbers greater than 127. Please try the latest test version to see if it fixes the problem: http://dynomotion.com/Software/KMotion431i.exe
This Version also supports accessing Virtual IO bits 1025 - 1151 using port 3
Regards TK
| Group: DynoMotion |
Message: 8111 |
From: eypisa |
Date: 8/16/2013 |
| Subject: Re: KStep is not multiplexing inputs |
Do I have to unistall KMotion old version and Mach3 before installing new version?
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Genaro,
>
> There was a bug in the Mach3 Plugin regarding Input numbers greater than 127. Please try the latest test version to see if it fixes the problem:
>
> http://dynomotion.com/Software/KMotion431i.exe
>
>
> This Version also supports accessing Virtual IO bits 1025 - 1151 using port 3
>
>
> Regards
> TK
>
>
> ________________________________
> From: eypisa <energiainteligente.sa@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, August 16, 2013 8:56 AM
> Subject: [DynoMotion] Re: KStep is not multiplexing inputs
>
>
>
> Â
> Hi Tom,
>
> - I am using version 4.30 build 12:02:08 Mar 3 2012.
> - On Mach3 "Config Plugin" tab shows Dynomotion-V4.30.
> - After powering up bits 3 to 7 are on.
> - After executing "InitKStep4Axis" bits 2 and 3 are toggling.
>
> Inputs are working fine in Kmotion after executing "InitKStep4Axis" all of them has been read OK in Virtual/KStep but still not working on Mach3.
>
> MACH3 OUTPUT CONFIGURATION:
>
> - Output #1: Port#=1 PinNumber= 0.
> - Output #2: Port#=1 PinNumber= 1.
>
> * Pressing Spindle toggle button: Relay #1 just goes ON for a second then goes OFF, Relay #2 goes ON right after #1 goes OFF.
>
> * Pressing Flood or Mist button: Relay #1 goes ON and keeps ON until button is pressed again.
>
> MACH3 INPUT CONFIGURATION:
> Plugin manual tells if input pin number is greater than 128 use Port#2 and substract 128 pin number so I am configuring:
>
> - EStop (Pin 168): Port#=2 PinNumber= 40.
> - THC ON (Pin 169): Port#=2 PinNUmber= 41.
> - THC UP (Pin 170): Port#=2 PinNUmber= 42.
> - THC Down(Pin 171): Port#=2 PinNUmber= 43.
>
> Mach3 Diagnostics Screen shows no activity when input is activated. Actually I ran Kmotion when Mach3 still running and Virtual/KStep reads inputs OK.
>
> Can you tell me what I'm missing,I really apreciate your help.
>
> Best regards,
>
> Genaro.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Genaro,
> >
> > The 16 KSTEP inputs are multiplexed into KSTEP 4 bits at a time.ÃÂ KFLOP IO bits 2 and 3 are the multiplexor outputs.ÃÂ IO bits 4-7 are the multiplexor inputs.ÃÂ Are Bits 2 and 3 set as outputs and toggling on and off on the Digital IO screen?
> >
> > Please check this after powering up KFLOP, then executing the C program InitKStep4Axis.c, but before running Mach3.
> >
> > What Version are you running?
> >
> > Regards
> > TK
> >
> >
> >
> > ________________________________
> > From: eypisa <energiainteligente.sa@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, August 15, 2013 8:39 AM
> > Subject: [DynoMotion] KStep is not multiplexing inputs
> >
> >
> >
> > ÃÂ
> > Hi Tom,
> >
> > I am building a CNC using KFlop+KStep and Mach3 software, the problem I have is that inputs are not recognized. I was reading other posts and found out that problem could be related to KStepPresent = TRUE instruction, but I'm using the "InitKStep4Axis" file and it already has this line.
> >
> > I was checking Outputs/Inputs states in Kmotion Digital I/O and outputs #1,#2 works fine, but inputs are readed as ENC2, ENC3 signals not the Virtual/KStep signals.
> >
> > Can you tell me how to tell in Kmotion that a Kstep is present, or if I missing something on the Mach3 setup?
> >
> > Thaks and best regards,
> >
> > Genaro.
> >
>
|
|
| Group: DynoMotion |
Message: 8112 |
From: Tom Kerekes |
Date: 8/16/2013 |
| Subject: Re: KStep is not multiplexing inputs |
Hi Genaro,
No. The last step in the KMotion Installation links Mach3 to use the last installed KMotion code.
You will need to Flash the new firmware into KFLOP using:
KMotion.exe | Config/Flash | New Version
Also copy the files in the \KMotion\Data directory to the new Version.
HTH Regards TK
| Group: DynoMotion |
Message: 8114 |
From: eypisa |
Date: 8/16/2013 |
| Subject: Re: KStep is not multiplexing inputs |
Tom,
You are a genius, inputs reading are working fine in new version. Do you have any idea why Output#1 and Output#2 are not working as expected?
Output #1: Port#=1 PinNumber= 0.
Output #2: Port#=1 PinNumber= 1.
* Pressing Spindle toggle button: Relay #1 just goes ON for a second then goes OFF, Relay #2 goes ON right after #1 goes OFF.
* Pressing Flood or Mist button: Relay #1 goes ON and keeps ON until button is pressed again.
Thanks for your help,
Genaro.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
>
> Hi Genaro,
>
> No. The last step in the KMotion Installation links Mach3 to use the last installed KMotion code.
>
> You will need to Flash the new firmware into KFLOP using:
>
> KMotion.exe | Config/Flash | New Version
>
> Also copy the files in the \KMotion\Data directory to the new Version.
>
> HTH
> Regards
> TK
>
>
>
> ________________________________
> From: eypisa <energiainteligente.sa@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, August 16, 2013 10:59 AM
> Subject: [DynoMotion] Re: KStep is not multiplexing inputs
>
>
>
> Â
> Do I have to unistall KMotion old version and Mach3 before installing new version?
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Genaro,
> >
> > There was a bug in the Mach3 Plugin regarding Input numbers greater than 127.ÃÂ Please try the latest test version to see if it fixes the problem:
> >
> > http://dynomotion.com/Software/KMotion431i.exe
> >
> >
> > This Version also supports accessing Virtual IO bits 1025 - 1151 using port 3
> >
> >
> > Regards
> > TK
> >
> >
> > ________________________________
> > From: eypisa <energiainteligente.sa@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Friday, August 16, 2013 8:56 AM
> > Subject: [DynoMotion] Re: KStep is not multiplexing inputs
> >
> >
> >
> > ÃÂ
> > Hi Tom,
> >
> > - I am using version 4.30 build 12:02:08 Mar 3 2012.
> > - On Mach3 "Config Plugin" tab shows Dynomotion-V4.30.
> > - After powering up bits 3 to 7 are on.
> > - After executing "InitKStep4Axis" bits 2 and 3 are toggling.
> >
> > Inputs are working fine in Kmotion after executing "InitKStep4Axis" all of them has been read OK in Virtual/KStep but still not working on Mach3.
> >
> > MACH3 OUTPUT CONFIGURATION:
> >
> > - Output #1: Port#=1 PinNumber= 0.
> > - Output #2: Port#=1 PinNumber= 1.
> >
> > * Pressing Spindle toggle button: Relay #1 just goes ON for a second then goes OFF, Relay #2 goes ON right after #1 goes OFF.
> >
> > * Pressing Flood or Mist button: Relay #1 goes ON and keeps ON until button is pressed again.
> >
> > MACH3 INPUT CONFIGURATION:
> > Plugin manual tells if input pin number is greater than 128 use Port#2 and substract 128 pin number so I am configuring:
> >
> > - EStop (Pin 168): Port#=2 PinNumber= 40.
> > - THC ON (Pin 169): Port#=2 PinNUmber= 41.
> > - THC UP (Pin 170): Port#=2 PinNUmber= 42.
> > - THC Down(Pin 171): Port#=2 PinNUmber= 43.
> >
> > Mach3 Diagnostics Screen shows no activity when input is activated. Actually I ran Kmotion when Mach3 still running and Virtual/KStep reads inputs OK.
> >
> > Can you tell me what I'm missing,I really apreciate your help.
> >
> > Best regards,
> >
> > Genaro.
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Genaro,
> > >
> > > The 16 KSTEP inputs are multiplexed into KSTEP 4 bits at a time.ÃâàKFLOP IO bits 2 and 3 are the multiplexor outputs.ÃâàIO bits 4-7 are the multiplexor inputs.ÃâàAre Bits 2 and 3 set as outputs and toggling on and off on the Digital IO screen?
> > >
> > > Please check this after powering up KFLOP, then executing the C program InitKStep4Axis.c, but before running Mach3.
> > >
> > > What Version are you running?
> > >
> > > Regards
> > > TK
> > >
> > >
> > >
> > > ________________________________
> > > From: eypisa <energiainteligente.sa@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thursday, August 15, 2013 8:39 AM
> > > Subject: [DynoMotion] KStep is not multiplexing inputs
> > >
> > >
> > >
> > > ÃâÃÂ
> > > Hi Tom,
> > >
> > > I am building a CNC using KFlop+KStep and Mach3 software, the problem I have is that inputs are not recognized. I was reading other posts and found out that problem could be related to KStepPresent = TRUE instruction, but I'm using the "InitKStep4Axis" file and it already has this line.
> > >
> > > I was checking Outputs/Inputs states in Kmotion Digital I/O and outputs #1,#2 works fine, but inputs are readed as ENC2, ENC3 signals not the Virtual/KStep signals.
> > >
> > > Can you tell me how to tell in Kmotion that a Kstep is present, or if I missing something on the Mach3 setup?
> > >
> > > Thaks and best regards,
> > >
> > > Genaro.
> > >
> >
>
|
|
| Group: DynoMotion |
Message: 8117 |
From: Tom Kerekes |
Date: 8/18/2013 |
| Subject: Re: KStep is not multiplexing inputs |
Hi Genero, Sounds like you may have the same Mach3 Outputs configured to multiple things like Spindle CW, CCW, Flood, etc... How do you have things configured? Regards TK
| Group: DynoMotion |
Message: 8125 |
From: eypisa |
Date: 8/19/2013 |
| Subject: Re: KStep is not multiplexing inputs |
Hi Tom,
I think hardware connectios are OK because Relays works fine on KMotion.
I used this config the first time I tried on Mach3 and it doesn't worked:
*Output #1 Port#1 Pin#1
*Output #2 Port#1 Pin#2
SPINDLE SETUP:
*Clockwise (M3)= Output#1
*CCW (M4) = Output#1.
*Mist (M7) = Output#2
*Flood (M8) = Output#2
The second time I disable Mist and Flood function, and used this configuration (it doesn't worked neither):
*Output #1 Port#1 Pin#1
*Output #2 Disabled
SPINDLE SETUP:
*Clockwise (M3)= Output#1.
*CCW (M4) = Output#1.
*Mist (M7) = Disabled.
*Flood (M8) = Disabled.
Then I tried different Port# and different Pin# and is always same results: everytime that I click Spindle toggle button or when program calls "M3" the Relay #2 turns ON and "M5" turns OFF.
Right now I am using second configuration connecting plasma trigger on Relay#2, but I don't know if this problem affects THC because is not working neither.
Mach3 is reading THCOn, THCUp and THCDown signals but Z axis is not moving.
I am reading all posts with similar problems and tried different solutions but still not working.
Any help or hint will be really apreciated.
Thanks,
Genaro.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Genero,
>
> Sounds like you may have the same Mach3 Outputs configured to multiple things like Spindle CW, CCW, Flood, etc...Â
>
> How do you have things configured?
>
> Regards
> TK
>
>
>
>
> ________________________________
> From: eypisa <energiainteligente.sa@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, August 16, 2013 12:09 PM
> Subject: [DynoMotion] Re: KStep is not multiplexing inputs
>
>
>
> Â
> Tom,
>
> You are a genius, inputs reading are working fine in new version. Do you have any idea why Output#1 and Output#2 are not working as expected?
>
> Output #1: Port#=1 PinNumber= 0.
> Output #2: Port#=1 PinNumber= 1.
>
> * Pressing Spindle toggle button: Relay #1 just goes ON for a second then goes OFF, Relay #2 goes ON right after #1 goes OFF.
>
> * Pressing Flood or Mist button: Relay #1 goes ON and keeps ON until button is pressed again.
>
> Thanks for your help,
>
> Genaro.
>
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> >
> > Hi Genaro,
> >
> > No.ÃÂ The last step in the KMotion Installation links Mach3 to use the last installed KMotion code.
> >
> > You will need to Flash the new firmware into KFLOP using:
> >
> > KMotion.exe | Config/Flash | New Version
> >
> > Also copy the files in the \KMotion\Data directory to the new Version.
> >
> > HTH
> > Regards
> > TK
> >
> >
> >
> > ________________________________
> > From: eypisa <energiainteligente.sa@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Friday, August 16, 2013 10:59 AM
> > Subject: [DynoMotion] Re: KStep is not multiplexing inputs
> >
> >
> >
> > ÃÂ
> > Do I have to unistall KMotion old version and Mach3 before installing new version?
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Genaro,
> > >
> > > There was a bug in the Mach3 Plugin regarding Input numbers greater than 127.ÃâàPlease try the latest test version to see if it fixes the problem:
> > >
> > > http://dynomotion.com/Software/KMotion431i.exe
> > >
> > >
> > > This Version also supports accessing Virtual IO bits 1025 - 1151 using port 3
> > >
> > >
> > > Regards
> > > TK
> > >
> > >
> > > ________________________________
> > > From: eypisa <energiainteligente.sa@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Friday, August 16, 2013 8:56 AM
> > > Subject: [DynoMotion] Re: KStep is not multiplexing inputs
> > >
> > >
> > >
> > > ÃâÃÂ
> > > Hi Tom,
> > >
> > > - I am using version 4.30 build 12:02:08 Mar 3 2012.
> > > - On Mach3 "Config Plugin" tab shows Dynomotion-V4.30.
> > > - After powering up bits 3 to 7 are on.
> > > - After executing "InitKStep4Axis" bits 2 and 3 are toggling.
> > >
> > > Inputs are working fine in Kmotion after executing "InitKStep4Axis" all of them has been read OK in Virtual/KStep but still not working on Mach3.
> > >
> > > MACH3 OUTPUT CONFIGURATION:
> > >
> > > - Output #1: Port#=1 PinNumber= 0.
> > > - Output #2: Port#=1 PinNumber= 1.
> > >
> > > * Pressing Spindle toggle button: Relay #1 just goes ON for a second then goes OFF, Relay #2 goes ON right after #1 goes OFF.
> > >
> > > * Pressing Flood or Mist button: Relay #1 goes ON and keeps ON until button is pressed again.
> > >
> > > MACH3 INPUT CONFIGURATION:
> > > Plugin manual tells if input pin number is greater than 128 use Port#2 and substract 128 pin number so I am configuring:
> > >
> > > - EStop (Pin 168): Port#=2 PinNumber= 40.
> > > - THC ON (Pin 169): Port#=2 PinNUmber= 41.
> > > - THC UP (Pin 170): Port#=2 PinNUmber= 42.
> > > - THC Down(Pin 171): Port#=2 PinNUmber= 43.
> > >
> > > Mach3 Diagnostics Screen shows no activity when input is activated. Actually I ran Kmotion when Mach3 still running and Virtual/KStep reads inputs OK.
> > >
> > > Can you tell me what I'm missing,I really apreciate your help.
> > >
> > > Best regards,
> > >
> > > Genaro.
> > >
> > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > >
> > > > Hi Genaro,
> > > >
> > > > The 16 KSTEP inputs are multiplexed into KSTEP 4 bits at a time.ÃÆ'ââ¬Å¡ÃâàKFLOP IO bits 2 and 3 are the multiplexor outputs.ÃÆ'ââ¬Å¡ÃâàIO bits 4-7 are the multiplexor inputs.ÃÆ'ââ¬Å¡ÃâàAre Bits 2 and 3 set as outputs and toggling on and off on the Digital IO screen?
> > > >
> > > > Please check this after powering up KFLOP, then executing the C program InitKStep4Axis.c, but before running Mach3.
> > > >
> > > > What Version are you running?
> > > >
> > > > Regards
> > > > TK
> > > >
> > > >
> > > >
> > > > ________________________________
> > > > From: eypisa <energiainteligente.sa@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Thursday, August 15, 2013 8:39 AM
> > > > Subject: [DynoMotion] KStep is not multiplexing inputs
> > > >
> > > >
> > > >
> > > > ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > Hi Tom,
> > > >
> > > > I am building a CNC using KFlop+KStep and Mach3 software, the problem I have is that inputs are not recognized. I was reading other posts and found out that problem could be related to KStepPresent = TRUE instruction, but I'm using the "InitKStep4Axis" file and it already has this line.
> > > >
> > > > I was checking Outputs/Inputs states in Kmotion Digital I/O and outputs #1,#2 works fine, but inputs are readed as ENC2, ENC3 signals not the Virtual/KStep signals.
> > > >
> > > > Can you tell me how to tell in Kmotion that a Kstep is present, or if I missing something on the Mach3 setup?
> > > >
> > > > Thaks and best regards,
> > > >
> > > > Genaro.
> > > >
> > >
> >
>
|
|
| Group: DynoMotion |
Message: 8128 |
From: Tom Kerekes |
Date: 8/19/2013 |
| Subject: Re: KStep is not multiplexing inputs |
Hi Genaro,
I can't think of why. But I find some things confusing:
Why use IO 1 and 2? For KSTEP the Relay Output IO's should be 0 and
1
What is Relay #2? - KSTEP has 2 relay drivers called Relay #0 and Relay #1
What do you mean by : "M5 turns off" ?
Maybe attach/post your Mach3 XML file so we can test it.
THC Up/Down must be handled by KFLOP not Mach3. Mach3 no longer does real-time control when used with KFLOP. There are some Yahoo Group Posts that discuss this and some example C programs for THC.
Regards TK
| Group: DynoMotion |
Message: 8129 |
From: eypisa |
Date: 8/20/2013 |
| Subject: Re: KStep is not multiplexing inputs |
Hi Tom,
My
apologies of not being clear on my questions ( I am probably going crazy).
> What is Relay #2? -
KSTEP has 2 relay drivers called Relay #0 and Relay #1
-
You are right, my mistake when wrote Relay#1 and Relay#2.
> What do you mean by
: "M5 turns off" ?
- When I click Spindle toggle button or entry "M3" on MDI
screen:
* Relay0 just turned ON for a second then goes OFF.
* Relay1 turned ON right after Relay0 goes OFF.
- When I click Spindle toggle button againg or entry "M5" on
MDI screen:
* Relay1 turns OFF.
I am sending you the XML file by email because I cannot find the option to attach it on this post.
I am reading other posts about THC control with KFlop, I will probably start a new topic when ready to make questions.
Thanks for your help,
Genaro.
--- In DynoMotion@yahoogroups.com, Tom Kerekes wrote: > > Hi Genaro, > > I can't think of why. But I find some things confusing: > > Why use IO 1 and 2? For KSTEP the Relay Output IO's should be 0 and 1 > > What is Relay #2? - KSTEP has 2 relay drivers called Relay #0 and Relay #1 > > What do you mean by : "M5 turns off" ? > > > Maybe attach/post your Mach3 XML file so we can test it. > > THC Up/Down must be handled by KFLOP not Mach3. Mach3 no longer does real-time control when used with KFLOP. There are some Yahoo Group Posts that discuss this and some example C programs for THC. > > Regards > TK > > > > ________________________________ > From: eypisa energiainteligente.sa@... > To: DynoMotion@yahoogroups.com > Sent: Monday, August 19, 2013 3:00 PM > Subject: [DynoMotion] Re: KStep is not multiplexing inputs > > > >  > Hi Tom, > > I think hardware connectios are OK because Relays works fine on KMotion. > > I used this config the first time I tried on Mach3 and it doesn't worked: > > *Output #1 Port#1 Pin#1 > *Output #2 Port#1 Pin#2 > > SPINDLE SETUP: > *Clockwise (M3)= Output#1 > *CCW (M4) = Output#1. > *Mist (M7) = Output#2 > *Flood (M8) = Output#2 > > The second time I disable Mist and Flood function, and used this configuration (it doesn't worked neither): > > *Output #1 Port#1 Pin#1 > *Output #2 Disabled > > SPINDLE SETUP: > *Clockwise (M3)= Output#1. > *CCW (M4) = Output#1. > *Mist (M7) = Disabled. > *Flood (M8) = Disabled. > > Then I tried different Port# and different Pin# and is always same results: everytime that I click Spindle toggle button or when program calls "M3" the Relay #2 turns ON and "M5" turns OFF. > > Right now I am using second configuration connecting plasma trigger on Relay#2, but I don't know if this problem affects THC because is not working neither. > > Mach3 is reading THCOn, THCUp and THCDown signals but Z axis is not moving. > > I am reading all posts with similar problems and tried different solutions but still not working. > > Any help or hint will be really apreciated. > > Thanks, > > Genaro. > > --- In DynoMotion@yahoogroups.com, Tom Kerekes tk@ wrote: > > > > Hi Genero, > > > > Sounds like you may have the same Mach3 Outputs configured to multiple things like Spindle CW, CCW, Flood, etc...à> > > > How do you have things configured? > > > > Regards > > TK > > > > > > > > > > ________________________________ > > From: eypisa energiainteligente.sa@ > > To: DynoMotion@yahoogroups.com > > Sent: Friday, August 16, 2013 12:09 PM > > Subject: [DynoMotion] Re: KStep is not multiplexing inputs > > > > > > > > à> > Tom, > > > > You are a genius, inputs reading are working fine in new version. Do you have any idea why Output#1 and Output#2 are not working as expected? > > > > Output #1: Port#=1 PinNumber= 0. > > Output #2: Port#=1 PinNumber= 1. > > > > * Pressing Spindle toggle button: Relay #1 just goes ON for a second then goes OFF, Relay #2 goes ON right after #1 goes OFF. > > > > * Pressing Flood or Mist button: Relay #1 goes ON and keeps ON until button is pressed again. > > > > Thanks for your help, > > > > Genaro. > > > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes wrote: > > > > > > > > > Hi Genaro, > > > > > > No.ÃâàThe last step in the KMotion Installation links Mach3 to use the last installed KMotion code. > > > > > > You will need to Flash the new firmware into KFLOP using: > > > > > > KMotion.exe | Config/Flash | New Version > > > > > > Also copy the files in the \KMotion\Data directory to the new Version. > > > > > > HTH > > > Regards > > > TK > > > > > > > > > > > > ________________________________ > > > From: eypisa > > > To: DynoMotion@yahoogroups.com > > > Sent: Friday, August 16, 2013 10:59 AM > > > Subject: [DynoMotion] Re: KStep is not multiplexing inputs > > > > > > > > > > > > Ãâà> > > Do I have to unistall KMotion old version and Mach3 before installing new version? > > > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes wrote: > > > > > > > > Hi Genaro, > > > > > > > > There was a bug in the Mach3 Plugin regarding Input numbers greater than 127.ÃÆ'ââ¬Å¡ÃâàPlease try the latest test version to see if it fixes the problem: > > > > > > > > http://dynomotion.com/Software/KMotion431i.exe > > > > > > > > > > > > This Version also supports accessing Virtual IO bits 1025 - 1151 using port 3 > > > > > > > > > > > > Regards > > > > TK > > > > > > > > > > > > ________________________________ > > > > From: eypisa > > > > To: DynoMotion@yahoogroups.com > > > > Sent: Friday, August 16, 2013 8:56 AM > > > > Subject: [DynoMotion] Re: KStep is not multiplexing inputs > > > > > > > > > > > > > > > > ÃÆ'ââ¬Å¡Ãâà> > > > Hi Tom, > > > > > > > > - I am using version 4.30 build 12:02:08 Mar 3 2012. > > > > - On Mach3 "Config Plugin" tab shows Dynomotion-V4.30. > > > > - After powering up bits 3 to 7 are on. > > > > - After executing "InitKStep4Axis" bits 2 and 3 are toggling. > > > > > > > > Inputs are working fine in Kmotion after executing "InitKStep4Axis" all of them has been read OK in Virtual/KStep but still not working on Mach3. > > > > > > > > MACH3 OUTPUT CONFIGURATION: > > > > > > > > - Output #1: Port#=1 PinNumber= 0. > > > > - Output #2: Port#=1 PinNumber= 1. > > > > > > > > * Pressing Spindle toggle button: Relay #1 just goes ON for a second then goes OFF, Relay #2 goes ON right after #1 goes OFF. > > > > > > > > * Pressing Flood or Mist button: Relay #1 goes ON and keeps ON until button is pressed again. > > > > > > > > MACH3 INPUT CONFIGURATION: > > > > Plugin manual tells if input pin number is greater than 128 use Port#2 and substract 128 pin number so I am configuring: > > > > > > > > - EStop (Pin 168): Port#=2 PinNumber= 40. > > > > - THC ON (Pin 169): Port#=2 PinNUmber= 41. > > > > - THC UP (Pin 170): Port#=2 PinNUmber= 42. > > > > - THC Down(Pin 171): Port#=2 PinNUmber= 43. > > > > > > > > Mach3 Diagnostics Screen shows no activity when input is activated. Actually I ran Kmotion when Mach3 still running and Virtual/KStep reads inputs OK. > > > > > > > > Can you tell me what I'm missing,I really apreciate your help. > > > > > > > > Best regards, > > > > > > > > Genaro. > > > > > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes wrote: > > > > > > > > > > Hi Genaro, > > > > > > > > > > The 16 KSTEP inputs are multiplexed into KSTEP 4 bits at a time.ÃÆ'Ã'âââ¬Ã
Â¡ÃÆ'ââ¬Å¡ÃâàKFLOP IO bits 2 and 3 are the multiplexor outputs.ÃÆ'Ã'âââ¬Ã
Â¡ÃÆ'ââ¬Å¡ÃâàIO bits 4-7 are the multiplexor inputs.ÃÆ'Ã'âââ¬Ã
Â¡ÃÆ'ââ¬Å¡ÃâàAre Bits 2 and 3 set as outputs and toggling on and off on the Digital IO screen? > > > > > > > > > > Please check this after powering up KFLOP, then executing the C program InitKStep4Axis.c, but before running Mach3. > > > > > > > > > > What Version are you running? > > > > > > > > > > Regards > > > > > TK > > > > > > > > > > > > > > > > > > > > ________________________________ > > > > > From: eypisa > > > > > To: DynoMotion@yahoogroups.com > > > > > Sent: Thursday, August 15, 2013 8:39 AM > > > > > Subject: [DynoMotion] KStep is not multiplexing inputs > > > > > > > > > > > > > > > > > > > > ÃÆ'Ã'âââ¬Ã
Â¡ÃÆ'ââ¬Å¡Ãâà> > > > > Hi Tom, > > > > > > > > > > I am building a CNC using KFlop+KStep and Mach3 software, the problem I have is that inputs are not recognized. I was reading other posts and found out that problem could be related to KStepPresent = TRUE instruction, but I'm using the "InitKStep4Axis" file and it already has this line. > > > > > > > > > > I was checking Outputs/Inputs states in Kmotion Digital I/O and outputs #1,#2 works fine, but inputs are readed as ENC2, ENC3 signals not the Virtual/KStep signals. > > > > > > > > > > Can you tell me how to tell in Kmotion that a Kstep is present, or if I missing something on the Mach3 setup? > > > > > > > > > > Thaks and best regards, > > > > > > > > > > Genaro. > > > > > > > > > > > > > > >
|
|
| Group: DynoMotion |
Message: 8130 |
From: Tom Kerekes |
Date: 8/20/2013 |
| Subject: Re: KStep is not multiplexing inputs |
Hi Genaro,
Your Mach3 XML has both a Spindle C program configured to control the Spindle and Mach3 Outputs Configured to control the Spindle. You can use one or the other but not both.
Delete the C Program Specified in Mach3 | Config | Config Plugins | Dynomotion | Spindle Speed User Program
Also because Step/Dir is generated by KFLOP set the Port and Pin Outputs to Port 0
The THC inputs will be handled by KFLOP so do not enable
them in Mach3
HTH Regards TK
| Group: DynoMotion |
Message: 8134 |
From: eypisa |
Date: 8/20/2013 |
| Subject: Re: KStep is not multiplexing inputs |
Amigo Tom,
You are right as usual, outputs are working OK now, I am going to start working on the THC configuration, is there any topic or post you recommend me to read?
I really apreciate your help, Iron Man used to be my #1 hero but I think you are my #1 Hero now.
Greetings from Tijuana Mexico,
Genaro.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Genaro,
>
> Your Mach3 XML has both a Spindle C program configured to control the Spindle and Mach3 Outputs Configured to control the Spindle. You can use one or the other but not both.
>
> Delete the C Program Specified in Mach3 | Config | Config Plugins | Dynomotion | Spindle Speed User Program
>
> Also because Step/Dir is generated by KFLOP set the Port and Pin Outputs to Port 0
>
> The THC inputs will be handled by KFLOP so do not enable them in Mach3
>
> HTH
> Regards
> TK
>
>
>
>
> ________________________________
> From: eypisa <energiainteligente.sa@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tuesday, August 20, 2013 8:06 AM
> Subject: [DynoMotion] Re: KStep is not multiplexing inputs
>
>
>
> Â
> Hi Tom,
> Â Â Â My
> apologies of not being clear on my questions ( I am probably going crazy).
> Â > What is Relay #2? -
> KSTEP has 2 relay drivers called Relay #0Â and Relay #1
> Â Â Â -
> You are right, my mistake when wrote Relay#1 and Relay#2.
> Â > What do you mean by
> : "M5 turns off" ?
> Â Â Â
> Â - When I click Spindle toggle button or entry "M3" on MDI
> screen:
> Â Â Â
> Â Â Â * Relay0 just turned ON for a second then goes OFF.
> Â Â Â
> Â Â Â * Relay1 turned ON right after Relay0 goes OFF.
> Â Â
> Â Â Â
> Â - When I click Spindle toggle button againg or entry "M5" on
> MDI screen:
> Â Â Â
> Â Â Â * Relay1 turns OFF.
>
> Â Â Â I am sending you the XML file by email because I cannot find the option to attach it on this post.
>
> Â Â Â I am reading other posts about THC control with KFlop, I will probably start a new topic when ready to make questions.
>
> Â Â Â Thanks for your help,
>
> Genaro.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes wrote:
> >
> > Hi Genaro,
> >
> > I can't think of why.ÃÂ But I find some things confusing:
> >
> > Why use IO 1 and 2?ÃÂ For KSTEP the Relay Output IO's should be 0 and 1
> >
> > What is Relay #2? - KSTEP has 2 relay drivers called Relay #0ÃÂ and Relay #1
> >
> > What do you mean by : "M5 turns off" ?
> >
> >
> > Maybe attach/post your Mach3 XML file so we can test it.
> >
> > THC Up/Down must be handled by KFLOP not Mach3.ÃÂ Mach3 no longer does real-time control when used with KFLOP.ÃÂ There are some Yahoo Group Posts that discuss this and some example C programs for THC.
> >
> > Regards
> > TK
> >
> >
> >
> > ________________________________
> > From: eypisa energiainteligente.sa@
> > To: DynoMotion@yahoogroups.com
> > Sent: Monday, August 19, 2013 3:00 PM
> > Subject: [DynoMotion] Re: KStep is not multiplexing inputs
> >
> >
> >
> > ÃÂ
> > Hi Tom,
> >
> > I think hardware connectios are OK because Relays works fine on KMotion.
> >
> > I used this config the first time I tried on Mach3 and it doesn't worked:
> >
> > *Output #1 Port#1 Pin#1
> > *Output #2 Port#1 Pin#2
> >
> > SPINDLE SETUP:
> > *Clockwise (M3)= Output#1
> > *CCW (M4) = Output#1.
> > *Mist (M7) = Output#2
> > *Flood (M8) = Output#2
> >
> > The second time I disable Mist and Flood function, and used this configuration (it doesn't worked neither):
> >
> > *Output #1 Port#1 Pin#1
> > *Output #2 Disabled
> >
> > SPINDLE SETUP:
> > *Clockwise (M3)= Output#1.
> > *CCW (M4) = Output#1.
> > *Mist (M7) = Disabled.
> > *Flood (M8) = Disabled.
> >
> > Then I tried different Port# and different Pin# and is always same results: everytime that I click Spindle toggle button or when program calls "M3" the Relay #2 turns ON and "M5" turns OFF.
> >
> > Right now I am using second configuration connecting plasma trigger on Relay#2, but I don't know if this problem affects THC because is not working neither.
> >
> > Mach3 is reading THCOn, THCUp and THCDown signals but Z axis is not moving.
> >
> > I am reading all posts with similar problems and tried different solutions but still not working.
> >
> > Any help or hint will be really apreciated.
> >
> > Thanks,
> >
> > Genaro.
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes tk@ wrote:
> > >
> > > Hi Genero,
> > >
> > > Sounds like you may have the same Mach3 Outputs configured to multiple things like Spindle CW, CCW, Flood, etc...ÃâÃÂ
> > >
> > > How do you have things configured?
> > >
> > > Regards
> > > TK
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: eypisa energiainteligente.sa@
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Friday, August 16, 2013 12:09 PM
> > > Subject: [DynoMotion] Re: KStep is not multiplexing inputs
> > >
> > >
> > >
> > > ÃâÃÂ
> > > Tom,
> > >
> > > You are a genius, inputs reading are working fine in new version. Do you have any idea why Output#1 and Output#2 are not working as expected?
> > >
> > > Output #1: Port#=1 PinNumber= 0.
> > > Output #2: Port#=1 PinNumber= 1.
> > >
> > > * Pressing Spindle toggle button: Relay #1 just goes ON for a second then goes OFF, Relay #2 goes ON right after #1 goes OFF.
> > >
> > > * Pressing Flood or Mist button: Relay #1 goes ON and keeps ON until button is pressed again.
> > >
> > > Thanks for your help,
> > >
> > > Genaro.
> > >
> > >
> > > --- In DynoMotion@yahoogroups.com, Tom Kerekes wrote:
> > > >
> > > >
> > > > Hi Genaro,
> > > >
> > > > No.ÃÆ'ââ¬Å¡ÃâàThe last step in the KMotion Installation links Mach3 to use the last installed KMotion code.
> > > >
> > > > You will need to Flash the new firmware into KFLOP using:
> > > >
> > > > KMotion.exe | Config/Flash | New Version
> > > >
> > > > Also copy the files in the \KMotion\Data directory to the new Version.
> > > >
> > > > HTH
> > > > Regards
> > > > TK
> > > >
> > > >
> > > >
> > > > ________________________________
> > > > From: eypisa
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Friday, August 16, 2013 10:59 AM
> > > > Subject: [DynoMotion] Re: KStep is not multiplexing inputs
> > > >
> > > >
> > > >
> > > > ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > Do I have to unistall KMotion old version and Mach3 before installing new version?
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes wrote:
> > > > >
> > > > > Hi Genaro,
> > > > >
> > > > > There was a bug in the Mach3 Plugin regarding Input numbers greater than 127.ÃÆ'Ã'âââ¬Ã
Â¡ÃÆ'ââ¬Å¡ÃâàPlease try the latest test version to see if it fixes the problem:
> > > > >
> > > > > http://dynomotion.com/Software/KMotion431i.exe
> > > > >
> > > > >
> > > > > This Version also supports accessing Virtual IO bits 1025 - 1151 using port 3
> > > > >
> > > > >
> > > > > Regards
> > > > > TK
> > > > >
> > > > >
> > > > > ________________________________
> > > > > From: eypisa
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Friday, August 16, 2013 8:56 AM
> > > > > Subject: [DynoMotion] Re: KStep is not multiplexing inputs
> > > > >
> > > > >
> > > > >
> > > > > ÃÆ'Ã'âââ¬Ã
Â¡ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > > Hi Tom,
> > > > >
> > > > > - I am using version 4.30 build 12:02:08 Mar 3 2012.
> > > > > - On Mach3 "Config Plugin" tab shows Dynomotion-V4.30.
> > > > > - After powering up bits 3 to 7 are on.
> > > > > - After executing "InitKStep4Axis" bits 2 and 3 are toggling.
> > > > >
> > > > > Inputs are working fine in Kmotion after executing "InitKStep4Axis" all of them has been read OK in Virtual/KStep but still not working on Mach3.
> > > > >
> > > > > MACH3 OUTPUT CONFIGURATION:
> > > > >
> > > > > - Output #1: Port#=1 PinNumber= 0.
> > > > > - Output #2: Port#=1 PinNumber= 1.
> > > > >
> > > > > * Pressing Spindle toggle button: Relay #1 just goes ON for a second then goes OFF, Relay #2 goes ON right after #1 goes OFF.
> > > > >
> > > > > * Pressing Flood or Mist button: Relay #1 goes ON and keeps ON until button is pressed again.
> > > > >
> > > > > MACH3 INPUT CONFIGURATION:
> > > > > Plugin manual tells if input pin number is greater than 128 use Port#2 and substract 128 pin number so I am configuring:
> > > > >
> > > > > - EStop (Pin 168): Port#=2 PinNumber= 40.
> > > > > - THC ON (Pin 169): Port#=2 PinNUmber= 41.
> > > > > - THC UP (Pin 170): Port#=2 PinNUmber= 42.
> > > > > - THC Down(Pin 171): Port#=2 PinNUmber= 43.
> > > > >
> > > > > Mach3 Diagnostics Screen shows no activity when input is activated. Actually I ran Kmotion when Mach3 still running and Virtual/KStep reads inputs OK.
> > > > >
> > > > > Can you tell me what I'm missing,I really apreciate your help.
> > > > >
> > > > > Best regards,
> > > > >
> > > > > Genaro.
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes wrote:
> > > > > >
> > > > > > Hi Genaro,
> > > > > >
> > > > > > The 16 KSTEP inputs are multiplexed into KSTEP 4 bits at a time.ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦ÃÂ¡ÃÆ'Ã'âââ¬Ã
Â¡ÃÆ'ââ¬Å¡ÃâàKFLOP IO bits 2 and 3 are the multiplexor outputs.ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦ÃÂ¡ÃÆ'Ã'âââ¬Ã
Â¡ÃÆ'ââ¬Å¡ÃâàIO bits 4-7 are the multiplexor inputs.ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦ÃÂ¡ÃÆ'Ã'âââ¬Ã
Â¡ÃÆ'ââ¬Å¡ÃâàAre Bits 2 and 3 set as outputs and toggling on and off on the Digital IO screen?
> > > > > >
> > > > > > Please check this after powering up KFLOP, then executing the C program InitKStep4Axis.c, but before running Mach3.
> > > > > >
> > > > > > What Version are you running?
> > > > > >
> > > > > > Regards
> > > > > > TK
> > > > > >
> > > > > >
> > > > > >
> > > > > > ________________________________
> > > > > > From: eypisa
> > > > > > To: DynoMotion@yahoogroups.com
> > > > > > Sent: Thursday, August 15, 2013 8:39 AM
> > > > > > Subject: [DynoMotion] KStep is not multiplexing inputs
> > > > > >
> > > > > >
> > > > > >
> > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦ÃÂ¡ÃÆ'Ã'âââ¬Ã
Â¡ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > > > Hi Tom,
> > > > > >
> > > > > > I am building a CNC using KFlop+KStep and Mach3 software, the problem I have is that inputs are not recognized. I was reading other posts and found out that problem could be related to KStepPresent = TRUE instruction, but I'm using the "InitKStep4Axis" file and it already has this line.
> > > > > >
> > > > > > I was checking Outputs/Inputs states in Kmotion Digital I/O and outputs #1,#2 works fine, but inputs are readed as ENC2, ENC3 signals not the Virtual/KStep signals.
> > > > > >
> > > > > > Can you tell me how to tell in Kmotion that a Kstep is present, or if I missing something on the Mach3 setup?
> > > > > >
> > > > > > Thaks and best regards,
> > > > > >
> > > > > > Genaro.
> > > > > >
> > > > >
> > > >
> > >
> >
>
|
|
| | | | | | | | | | | |