Dynomotion

Group: DynoMotion Message: 13218 From: geast1967 Date: 5/4/2016
Subject: KmotionCNC wait issue
Hi Tom.
I'm trying to program on KmotionCNC the M3 command to a wait bit, to respond.
The gcode program should stop and wait until the bit goes 1, but it won't stop.
The program just continues. The version of Kflop is 4.33q, and the KmotionCNC is running under windows 7.


Also another issue.

I need to move the Z axis up or down, when the gcode is executed. I try the Jog() the Move() and MoveRel() and the where not responding. Only when the program (gcode) was finished, they where responding.

Please advice.

Group: DynoMotion Message: 13219 From: carlcnc Date: 5/4/2016
Subject: Re: KmotionCNC wait issue
DO you mean ,M3[ turn spindle on]
wait 3 seconds before movement, so spindle gets to speed ??
I could post a simple program that does delay
then you would set your M3 to "execute program" instead of just set bit

on every cnc I've ever run  Jog is disabled while a  Gcode is executing,
not sure why you would want that ,
Carl
Group: DynoMotion Message: 13220 From: geast1967 Date: 5/4/2016
Subject: Re: KmotionCNC wait issue
The machine is a flame flatbed cutter. I want , when the gcode program, issues a M3 command to stop and wait until i press a button. I have connect a push button at an input on kanalog. When i press this button the gcode should resume and continue.

When i'm cutting with my flame torch, it is needed to adjust the height of the torch. The torch is on Z axis so i need to move the Z axis up or down. I want to do that, by means of two buttons, connected on two kanalogs inputs.
Group: DynoMotion Message: 13224 From: Tom Kerekes Date: 5/5/2016
Subject: Re: KmotionCNC wait issue
I believe that is a known bug.  The bug causes the firmware to always wait on bit0 regardless of what bit is specified.  Changing the polarity of the bit (wait for bit to go to 0) or to bit 0 should fix the problem.

Otherwise here is a patched firmware to fix the problem.
http://dynomotion.com/Software/Patch/FixKFLOP_Firmware_WaitBitBufTill1V433/

Regarding the other issue: while axes are being driven along a path using coordinated motion system they can not be moved or jogged at the same time.  Even during a coordinated motion "wait" they are still all being driven to a specific point. 

To be able to move an axis you must first halt the coordinated motion, then move the axis, then re-synchronize the coordinated motion system to the new positions, then command new coordinated motion.

It may help us if you describe in more detail exactly what you are trying to accomplish.

HTH
Regards
TK

On 5/4/2016 11:13 AM, g.astras@... [DynoMotion] wrote:
 

Hi Tom.
I'm trying to program on KmotionCNC the M3 command to a wait bit, to respond.
The gcode program should stop and wait until the bit goes 1, but it won't stop.
The program just continues. The version of Kflop is 4.33q, and the KmotionCNC is running under windows 7.


Also another issue.

I need to move the Z axis up or down, when the gcode is executed. I try the Jog() the Move() and MoveRel() and the where not responding. Only when the program (gcode) was finished, they where responding.

Please advice.


Group: DynoMotion Message: 13225 From: geast1967 Date: 5/5/2016
Subject: Re: KmotionCNC wait issue
I install the patch, but i could not run the c program anymore.
It says that the DSP_KFLOP.out Date Stamp Doesn't match KFLOP Firmware.


The machine is a oxy fuel flatbed cutter, and its cutting only on two axis X,Y. On Z axis is attached the oxy fuel torch. By the time i'm cutting, the gcode has only X and Y coordinates, not Z, i must be able to adjust the height of the torch, from the cutting sheet. This must be done by the time i'm cutting, because the sheet is not even and the distance from the torch is not constand and its possible to hit the torch.
Group: DynoMotion Message: 13226 From: geast1967 Date: 5/5/2016
Subject: Re: KmotionCNC wait issue
I install the patch, but i could not run the c program anymore.
It says that the DSP_KFLOP.out Date Stamp Doesn't match KFLOP Firmware.


The machine is a oxy fuel flatbed cutter, and its cutting only on two axis X,Y. On Z axis is attached the oxy fuel torch. By the time i'm cutting, the gcode has only X and Y coordinates, not Z, i must be able to adjust the height of the torch, from the cutting sheet. This must be done by the time i'm cutting, because the sheet is not even and the distance from the torch is not constand and its possible to hit the torch.
Group: DynoMotion Message: 13227 From: geast1967 Date: 5/5/2016
Subject: Re: KmotionCNC wait issue
Ok for the first issue.

For the second one, i just want to move on a two axis x,y. The Z axis will not move coordinated with the other two x,y. I want to freely move the Z axis.
On the Z axis is attached the oxy fuel torch and i want to adjust the height, by the time its moving on the condur. Also i want later install a plasma torch on the Z axis, which he must move up or down, dependent, from an analog voltage. (The arc voltage).
So my question is in bottom line, is it possible to use the Z axis, as if it was a motor and to control it by means of two buttons, up/down.
Group: DynoMotion Message: 13228 From: Tom Kerekes Date: 5/5/2016
Subject: Re: KmotionCNC wait issue

You will need to Flash the Firmware using the "New Version" button on the KMotion.exe Config/Flash Screen and then cycle power.

You might remove Z from the Coordinated Motion System.  With something like an M Code Running a program with:

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

At that point you would be able to move Z independently of the XY path motion.  Often some type of sensor or "foot" is used to control the Z height while cutting.

Then another M code to put Z back into the coordinated motion system with:

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


HTH
Regards
TK

On 5/5/2016 3:01 PM, g.astras@... [DynoMotion] wrote:
 

I install the patch, but i could not run the c program anymore.
It says that the DSP_KFLOP.out Date Stamp Doesn't match KFLOP Firmware.


The machine is a oxy fuel flatbed cutter, and its cutting only on two axis X,Y. On Z axis is attached the oxy fuel torch. By the time i'm cutting, the gcode has only X and Y coordinates, not Z, i must be able to adjust the height of the torch, from the cutting sheet. This must be done by the time i'm cutting, because the sheet is not even and the distance from the torch is not constand and its possible to hit the torch.


Group: DynoMotion Message: 13229 From: geast1967 Date: 5/5/2016
Subject: Re: KmotionCNC wait issue
It's about an oxyfuel/plasma flatbed cutter. On the Z axis its attached the oxy/fuel torch , and the plasma torch. The machine will use either method to cut, not simultaneously.
When i cut with oxy fuel, i must be able to adjust the height of the torch, freely, by the time i'm cutting the sheet metal, manually, by using two button up/down. The Z axis does not any coordinated move with X,Y axis.
When i want to cut with plasma, the height of the plasma torch, must be controlled, from an analog voltage (the arc voltage). The longer the distance from the cutting sheet, the bigger the voltage of the arc. So when i'm cutting with plasma, the distance must be constant.By reading the arc voltage a c program will read this analog value and adjust the height of the plasma torch, in order to keep this voltage (height) constant.When the voltage will be for some reason increased the height of the torch must be decreased, in order to lower the voltage to the original value. The movement of the Z axis should not by coordinated with x,y axis, by the time of cutting.
I hope that i cleared a little bit my questions.
Group: DynoMotion Message: 13230 From: geast1967 Date: 5/5/2016
Subject: Re: KmotionCNC wait issue
I have installed on my PC the last software Kmotion434a.exe. I flashed the 434a version, everything is ok, i can run my c program.
After that i flash the patch you send me.
When i try to download the old c program, i get this error which i send you, about date stamps.
Group: DynoMotion Message: 13235 From: geast1967 Date: 5/6/2016
Subject: Re: KmotionCNC wait issue
The machine is a oxy fuel flatbed cutter, and its cutting only on two axis X,Y.
On Z axis is attached the oxy fuel torch. By the time i'm cutting, the gcode has only X and Y coordinates, not Z, i must be able to adjust the height of the torch, from the cutting sheet.
This must be done by the time i'm cutting, because the sheet is not even and the distance from the torch is not constant and its possible to hit the torch.
Group: DynoMotion Message: 13236 From: Tom Kerekes Date: 5/6/2016
Subject: Re: KmotionCNC wait issue

Test Version 4.34a already has the fix included.  If that Version works for you please use it without the patch.

Whenever you get the date stamps error message this means that you haven't flashed the firmware of the file

\DSP_KFLOP\DSPKFLOP.out

within the directory of the Version you are running.  You can not rename the file to something else.

HTH
Regards
TK
 
On 5/5/2016 10:29 PM, g.astras@... [DynoMotion] wrote:
 

I have installed on my PC the last software Kmotion434a.exe. I flashed the 434a version, everything is ok, i can run my c program.
After that i flash the patch you send me.
When i try to download the old c program, i get this error which i send you, about date stamps.


Group: DynoMotion Message: 13239 From: geast1967 Date: 5/7/2016
Subject: Re: KmotionCNC wait issue
The version 4.34a don't work under windows XP.
Any way i managed to use the wait bit with 0 state to 1 and its ok. Also the i managed to us the Z axis as you described. Many thanks. Now i have to write some code to implement the automatic height adjustment regarding an analog input.
Group: DynoMotion Message: 13288 From: geast1967 Date: 5/21/2016
Subject: Re: KmotionCNC wait issue
Hi Tom.
I notice that when i disable the Z axis "by means of command DefineCoordSystem(0,1,-1,-1)" and  the two other axis are executing gcode programm and by that time i don't move the Z axis "while disabled" and after the gcode is done, i enable the axis again DefineCoordSystem(0,1,2,-1), then everything is ok.
But when i move the Z axis while disabled "by means of command DefineCoordSystem(0,1,-1,-1)" and the enable him again, it is times that he moves in a very sudden way and goes to a random destination.
There is times that he drives the servo amplifier in an error, "over-current". Is there a way to eliminate this behavior by the time i issue the DefineCoordSystem(0,1,2,-1); command?
Group: DynoMotion Message: 13289 From: Tom Kerekes Date: 5/21/2016
Subject: Re: KmotionCNC wait issue

Are you using an MCode to execute code to add the Z axis into the coordinate system?  Does the M code have the Action type set to Exec/wait/Sync?   So that the Interpreter is re synchronized to the new Z location?

Regards

TK


On 5/21/2016 10:50 AM, g.astras@... [DynoMotion] wrote:
 

Hi Tom.
I notice that when i disable the Z axis "by means of command DefineCoordSystem(0,1,-1,-1)" and  the two other axis are executing gcode programm and by that time i don't move the Z axis "while disabled" and after the gcode is done, i enable the axis again DefineCoordSystem(0,1,2,-1), then everything is ok.
But when i move the Z axis while disabled "by means of command DefineCoordSystem(0,1,-1,-1)" and the enable him again, it is times that he moves in a very sudden way and goes to a random destination.
There is times that he drives the servo amplifier in an error, "over-current". Is there a way to eliminate this behavior by the time i issue the DefineCoordSystem(0,1,2,-1); command?


Group: DynoMotion Message: 13290 From: geast1967 Date: 5/22/2016
Subject: Re: KmotionCNC wait issue
Yes i'm using the M3 to disable the Z axis and M5 to enable him again.
No i suppose i don't do this.How can i do this action Exec/wait/Sync?
Regards.
GA 
Group: DynoMotion Message: 13292 From: TKSOFT Date: 5/22/2016
Subject: Re: KmotionCNC wait issue
Use:

KMotionCNC | Tool Setup | M0-M30 | M5 select the drop-down Action

Regards
TK

On 2016-05-22 01:54, g.astras@... [DynoMotion] wrote:
> Yes i'm using the M3 to disable the Z axis and M5 to enable him again.
> No i suppose i don't do this.How can i do this action Exec/wait/Sync?
> Regards.
> GA