-
Re: MAHO 600E
After half of day a was able to send a constant to the plc from kflop. Now it works but i think kflop interogates to fast the plc.
What is the variable for the spindle speed which i can use it ?? ( the Sxxxx value from the g code, not the value that includes spindle over ride)
Sent from my SM-A510F using Tapatalk
-
Re: MAHO 600E
Hi swat cat,
Congrats!
The desired speed is passed into the variable configured for the S Action in KMotionCNC | Tool Setup. See the Spindle.c example that prints the RPM read from Var=0 as a 32-bit floating point value.
[CODE]#include "KMotionDef.h"
main()
{
float speed = *(float *)&persist.UserData[0]; // value stored is actually a float
printf("Spindle Set to %f\n",speed); // print the desired speed
}
[/CODE]
However it does include the SSO. Why wouldn't you want to include the SSO?
-
Re: MAHO 600E
Because i have a mecanical 20 speed gearbox. The spinde speed for the plc is used to select a gear. SSO i will use just for the frequency converter, were i will make a closed loop with kflop.Thats another story...
Sent from my SM-A510F using Tapatalk
-
Re: MAHO 600E
And if i make a SSO while the machine is running, i will not want to make a gear change
Sent from my SM-A510F using Tapatalk
-
Re: MAHO 600E
It s not reading the S value. At this moment i don't have any spindle program running.i am starting manualy the spindle[IMG]https://uploads.tapatalk-cdn.com/20190530/b5a647828e620d624788f0bc9ff101b3.jpg[/IMG][IMG]https://uploads.tapatalk-cdn.com/20190530/a82d9cae19d04015342661badc2a0ad2.jpg[/IMG][IMG]https://uploads.tapatalk-cdn.com/20190530/43b7535bf6086117acb96612ebca5198.jpg[/IMG]
Sent from my SM-A510F using Tapatalk
-
Re: MAHO 600E
So.. what do i need to have the value for the Spindle rpm request ?
Sent from my SM-A510F using Tapatalk
-
Re: MAHO 600E
I've made this changes and it works.
Back to the first question... How do i get the real S xxxx value? Not the speed*spindle_Override. I have a mechanical gearbox and the modbuss is sending this to the plc that selects the correct gear.
[IMG]https://uploads.tapatalk-cdn.com/20190623/a99fd8c4a504db1091fb59fb6736042a.jpg[/IMG][IMG]https://uploads.tapatalk-cdn.com/20190623/3b18f839413ec9ff729d3b041ae6bd93.jpg[/IMG]
Sent from my SM-A510F using Tapatalk
-
Re: MAHO 600E
Hi swat cat,
There isn't currently a method of accessing the S value. Only the desired speed.
Couldn't you use the initial desired speed to decide which gear to use?
Maybe use an MCode to explicitly select a gear?
Otherwise new functionality would need to be added.
-
Re: MAHO 600E
[QUOTE=swat cat;2109788]Hello, I`m a proud owner of a MAHO 600E with philips 432 cnc.
I intend to upgrade it to MACH 3/4 using the indramat drivers (+/-10v), KFLOP+KANALOG and heidenheim linear scales.
My first problem is the heidenheim scales, wich are Sin/cos type.... what comverter do you recomand to covert the to TTL or someting that will work with Kflop.[/QUOTE]
We have done a retrofit for MAHO several years ago, the machine body is still in very good condition.
[url=http://cncmakers.com/cnc/Tech_Support/Deckel_Maho_Retrofit_Photos.html]Deckel Maho Retrofit Photos[/url]
-
Re: MAHO 600E
I could read the spidle overide value and divide my spindle speed to reverse calculate my original Sxxxx speed?
I don't want to have a dedicated gcode for this machine.
Sent from my SM-A510F using Tapatalk
-
Re: MAHO 600E
Hi swat cat,
There isn't a function to read the SSO value. There is a function to set the SSO from KFLOP:
DoPCFloat(PC_COMM_SET_SSO,SSO);
If you are setting the SSO from KFLOP, for example based on a potentiometer, then KFLOP could save the last SSO and use it to calculate the original Sxxxx speed.
-
Re: MAHO 600E
Why the kflop post procesor in fusion 360 loads last tool then the corect tool?[IMG]https://uploads.tapatalk-cdn.com/20190701/abfd717e0df23d9cf04ead7aa59d9789.jpg[/IMG][IMG]https://uploads.tapatalk-cdn.com/20190701/03bea07c28e9ea9cd5cc849be1af86c5.jpg[/IMG]
Sent from my SM-A510F using Tapatalk
-
Re: MAHO 600E
Hi swat cat,
Where did you get the post processor?
Maybe ask Autodesk?
-
Re: MAHO 600E
[QUOTE=TomKerekes;2305032]Hi swat cat,
Where did you get the post processor?
Maybe ask Autodesk?[/QUOTE]
[url]https://www.dynomotion.com/wiki/index.php?title=Known_KMotionCNC_CAD/CAM_Post_Processors[/url]
Where can i find another CAM for Kmotion?
-
Re: MAHO 600E
I ve changed cam with a kmotion rs-274D version; It generates g code ok.
But a have a problem.If i change the tool from drop down list on the kmotion interface, its selecting my tool and the tool offset from the tool table. But if i type in MDI ex. T10 M6, it changes my tool but the tool lenght is ingnored. It uses the last tool lenght. The drop down list for the tools in kmotion it uses a Txx M6 and a G43 Hxx comand???
Sent from my SM-A510F using Tapatalk
-
Re: MAHO 600E
Hi swat cat,
To have the Tool Length Compensation turned on from the MDI or GCode include G43 Hxx. This allows the compensation to be applied independently from which/when tools are loaded.
Note the drop down list has the option of automatically applying compensation or not. See [URL="http://dynomotion.com/Help/KMotionCNC/ToolSetupScreenTP.htm#Tool_Length/Offset_Immediately"]here[/URL].
-
1 Attachment(s)
Re: MAHO 600E
if i disable "Tool Length/Offset Immediately",and i change the tool from "the tool drop down list" it will ignore the tool length ...so not good.
With the option active it`s ok. but when i use a gcode program with a multi tool (and length) and just " Txx M6 " command it will ignore the tool length..... not a good outcome
In fusion 360 post processor do i have something to make a tool change with a G43 Hxx command after Txx M6?
or
In Kmotion to take a Txx M6 command automatic with the tool length offset?
-
Re: MAHO 600E
Hi swat cat,
[QUOTE]if i disable "Tool Length/Offset Immediately",and i change the tool from "the tool drop down list" it will ignore the tool length ...so not good. [/QUOTE]Some Users prefer this to have control of exactly when the compensation is applied.
[QUOTE]when i use a gcode program with a multi tool (and length) and just " Txx M6 " command it will ignore the tool length..... not a good outcome[/QUOTE]This is to give you control over when the compensation is applied.
[QUOTE]In fusion 360 post processor do i have something to make a tool change with a G43 Hxx command after Txx M6?[/QUOTE]I would expect fusion 360 to turn on length compensation when needed. I'm not familiar with Fusion360. But looking at the post processor in our wiki it looks like the Fusion360 statements below would output the G43Hxxx GCode.
gFormat.format(43), hFormat.format(lengthOffset)
-
3 Attachment(s)
Re: MAHO 600E
I was using another CAM were i don`t have the probleme with the 2 tool change..(RS-274D/KmotionCNC)
In there it was an option called Single tool mode. were it was ON. i turn`ed it off an now in included the G43 Hxx
why the post processor from [url]https://www.dynomotion.com/wiki/index.php?title=Known_KMotionCNC_CAD/CAM_Post_Processors[/url] is doing the two consecutive tool change??
-
Re: MAHO 600E
Hi swat cat,
[QUOTE]why the post processor from [url]https://www.dynomotion.com/wiki/inde...ost_Processors[/url] is doing the two consecutive tool change??[/QUOTE]
I'm having a hard time reading your images. Please use higher resolution.
Which post processor are you using? Our wiki has a few. Please be be more specific.
You might ask the fusion360 forum.
Did you have the pre-load tool option set when you generated the GCode?
In this pre-processor [URL="https://www.dynomotion.com/wiki/index.php?action=ajax&title=-&rs=SecureFileStore::getFile&f=/3/32/Fusion_360_KFLOP_Mill.cps.txt"]Fusion_360_KFLOP_Mill.cps[/URL] I see the code below. I think the code in red does [COLOR="#FF0000"]TxxxM6[/COLOR]. The green checks the [COLOR="#00FF00"]preload [/COLOR]tool option. The blue does [COLOR="#0000FF"]Txxx[/COLOR].
You might experiment removing each [B]writeBlock("T" + toolFormat.format(firstToolNumber));[/B] to determine which is causing it.
[COLOR="#FF0000"] writeBlock("T" + toolFormat.format(tool.number), mFormat.format(6));[/COLOR]
if (tool.comment) {
writeComment(tool.comment);
}
var showToolZMin = false;
if (showToolZMin) {
if (is3D()) {
var numberOfSections = getNumberOfSections();
var zRange = currentSection.getGlobalZRange();
var number = tool.number;
for (var i = currentSection.getId() + 1; i < numberOfSections; ++i) {
var section = getSection(i);
if (section.getTool().number != number) {
break;
}
zRange.expandToRange(section.getGlobalZRange());
}
writeComment(localize("ZMIN") + "=" + zRange.getMinimum());
}
}
if (properties.[COLOR="#00FF00"]preloadTool[/COLOR]) {
var nextTool = getNextTool(tool.number);
if (nextTool) {
[COLOR="#0000FF"] writeBlock("T" + toolFormat.format(nextTool.number))[/COLOR];
} else {
// preload first tool
var section = getSection(0);
var firstToolNumber = section.getTool().number;
if (tool.number != firstToolNumber) {
[COLOR="#0000FF"]writeBlock("T" + toolFormat.format(firstToolNumber));[/COLOR]
}
}
The extra T word shouldn't really matter as there is no M6 to cause a tool change. Does your system have a tool changer?