Dan:
Was that an arc move it did that overspeed detection on?
(Looks like your spindle code is working at any rate..
Art
Re: getting the 57cnc to work with G540
Re: getting the 57cnc to work with G540
I have not done the spindle code yet. that was the roadrunner file, it just shows you got it correct for the spindle control.
I have worked out the code for a on off button with no direction control (will never need it on my routers) that was easy if statement YaNvrNo and Scott tough me that one in M4.
as you posted.
this will be in a button
if( state)
{
speed = GlobalGet("SpindleSpeed");
FreeSetSpeed( 8, speed );
}
else
{ FreeSetSpeed( 8,0);
}
or this just playing on inside computer they both compile ok
//my frequency spindle will use axis 8 step output
global MySpindleAxis = 8;
//axis 8 will be set to constant speed mode
FreeSetAxisMode(MySpindleAxis,1); //set spindle to freq mode
if( state)
{
speed = GlobalGet("SpindleSpeed");
FreeSetSpeed( 8, speed );
}
else
{ FreeSetSpeed( 8,0);
}
then as you said this
FreeSetAxisType( 8,1 ); //in the MainScreenInit script
I have worked out the code for a on off button with no direction control (will never need it on my routers) that was easy if statement YaNvrNo and Scott tough me that one in M4.
as you posted.
this will be in a button
if( state)
{
speed = GlobalGet("SpindleSpeed");
FreeSetSpeed( 8, speed );
}
else
{ FreeSetSpeed( 8,0);
}
or this just playing on inside computer they both compile ok
//my frequency spindle will use axis 8 step output
global MySpindleAxis = 8;
//axis 8 will be set to constant speed mode
FreeSetAxisMode(MySpindleAxis,1); //set spindle to freq mode
if( state)
{
speed = GlobalGet("SpindleSpeed");
FreeSetSpeed( 8, speed );
}
else
{ FreeSetSpeed( 8,0);
}
then as you said this
FreeSetAxisType( 8,1 ); //in the MainScreenInit script
Last edited by DanL on Sun Jan 24, 2016 6:42 am, edited 1 time in total.
Re: getting the 57cnc to work with G540
Art I cant get any movement with a G code, I have not turned any scripts on just left as as is from install.
Here is the G code and log the scripter show nothing
Here is the G code and log the scripter show nothing
You do not have the required permissions to view the files attached to this post.
Re: getting the 57cnc to work with G540
Dan:
Because you've used the software before, your scripts are on. I suspect your failure is because you dont
have a spindle turned on. If the GCode library or call back libraries are on, at least one spindle library must be
on. Also, there was a version early today where the root scripts button didnt properly turn off all scripts.
Anyway, turn on the GCode lib, and a spindle and see if it runs..
Watch todays video to see how to see whats failing by turning on the scripter..
Art
Because you've used the software before, your scripts are on. I suspect your failure is because you dont
have a spindle turned on. If the GCode library or call back libraries are on, at least one spindle library must be
on. Also, there was a version early today where the root scripts button didnt properly turn off all scripts.
Anyway, turn on the GCode lib, and a spindle and see if it runs..
Watch todays video to see how to see whats failing by turning on the scripter..
Art
Re: getting the 57cnc to work with G540
i have seen the vid I will try again soon with a spindle control on, and all off.
it works fine in M3
I will test a few ideas and post back
it works fine in M3
I will test a few ideas and post back
Re: getting the 57cnc to work with G540
hay Art I have got it down to the spindle control not working, I am going to get it all going through M3 so it gives me the pin numbers, then get it working in Auggie, I am very sure it's the spindle.
I worked it through from nothing ticked, bringing up the scripting window each time, it showed what was need to be turned on or off, I did that and repeated to it got to the spindle control.
using the scripting window to test makes it quite fast.
I worked it through from nothing ticked, bringing up the scripting window each time, it showed what was need to be turned on or off, I did that and repeated to it got to the spindle control.
using the scripting window to test makes it quite fast.
Re: getting the 57cnc to work with G540
Dan:
If you turn on a spindle library it should run... relayonly maybe..
Art
If you turn on a spindle library it should run... relayonly maybe..
Art
Re: getting the 57cnc to work with G540
I got going the 57CNC or computer needed to be powered down, or pin 17 needed set it was one of these 3 I did all 3
Last edited by DanL on Wed Jan 27, 2016 5:46 am, edited 1 time in total.
Re: getting the 57cnc to work with G540
Next version will have some safeties as Ive added ways for a script to call
a routine name which may or may not yet exist, and do so with no error. This
will keep you from erroring out..
Art
Re: getting the 57cnc to work with G540
thanks art, it's still a problem with the G540 the other pin does not show up so I may have to do it through the 57CNC only more testing will tale I should have 2 pins active, I only have pin 17 output 1,
