Page 1 of 20
getting the 57cnc to work with G540
Posted: Sat Jan 09, 2016 4:08 am
by DanL
can someone please help me with this I can't work out how to get the 57cnc to work with the G540
Re: getting the 57cnc to work with G540
Posted: Sat Jan 09, 2016 4:19 am
by GlennD
Asking a stupid question, are you making sure the enable is active or jumpered?
From the manual
The G540 is designed to fault unless there is a normally closed switch (functionally identical to a jumper wire) between TERMINAL 10 and TERMINAL 12 on the 12-PIN TERMINAL BLOCK. Without TERMINAL 10 shorted to ground the G540 will remain disengaged to the motors and will not respond to commands. The red LED will be illuminated if there is no jumper connecting these two terminals.
I have one laying around, I will give it try if I get some time this weekend.
Since it is just 4each of the G250s in there, would I think it should just be match the pins but I could be wrong.
Glenn
Re: getting the 57cnc to work with G540
Posted: Sat Jan 09, 2016 4:30 am
by DanL
I have the G540 wired correctly, Not a stupid question, that's a good question and it not in fault mode, I have V1.2 of the 57cnc so the lpt is pin for pin, it's the settings in the pokeys config that I can't work out
Re: getting the 57cnc to work with G540
Posted: Sat Jan 09, 2016 4:46 am
by GlennD
Dan
It should work the same even though I don't have a G540 connected.
Can you do anything from the Pokeys Pulse engine page?
Here are my settings might get you started.
XYZ are pretty much all the same.
The values for the motion parameters aren't really set yet since the motors are just on the table behind me.
Re: getting the 57cnc to work with G540
Posted: Sat Jan 09, 2016 6:35 am
by DanL
well I found what was wrong RTFM I was look at versions 1.1 manual, I have 1.2 there is a jumper you use for testing or running a machine or whatever you can have so it's only connected to a usb port what powers it for testing only, if you use it on a machine you move the jumper and power it from a external sources.
your pick helped a lot, thank you now I just need to work out how to set the limits and home switches through the test IO port.
once I have it all working I will do a write up here, with picks they help 1/2 noobs like me
Re: getting the 57cnc to work with G540
Posted: Sat Jan 09, 2016 2:30 pm
by ArtF
Yell if you have trouble guys, BobL is hooking up a 56 to a G540,
he's going to document it as he goes as well. He's getting noisy motors
at the moment, so I think a grounding issue is there, but we'll let you know
how it goes.
Bob wont be doing laser, he's hooking up a small engraving table, so
the 56 should be fine and a good example of how to swap Auggie to
a milling mode..
Art
Re: getting the 57cnc to work with G540
Posted: Sat Jan 09, 2016 2:43 pm
by GlennD
Dan
Good deal glad i could help.
I have the 1.1 board.
Glenn
Re: getting the 57cnc to work with G540
Posted: Sat Jan 09, 2016 8:17 pm
by DanL
they were expecting my order and new I was going to use it with the G540 it will be the only reason I got the 1.2, and they upgrade the freight as well, they are a top bunch those boy's, art made a good decision going with pokeys even though it cost me $200 ;D ;D.
I did not realise that you don't need to set any pins to get movement, you pick showed me that, then I look at the manual again and it did not look correct then I read through it and came across no mention of 1.2 only 1.1, then came the head slap got the 1.2 manual and just had to move the power selector and was all go.
do you know what the math is for setting the max speed, max acc and max dec.
Art I will do the right up for the 57CNC to G540 once I work out how to set the limits, home and spindle, and I will send it to bob as well as posting here.
Re: getting the 57cnc to work with G540
Posted: Sat Jan 09, 2016 8:48 pm
by ArtF
Dan:
>>do you know what the math is for setting the max speed, max acc and max dec.
I advise setting a value at around 10000 for max vel, then set an accel and decel that move well
andbot accel and decel when you jog in the pokeys software. Set the accel as high as you can at
that speed up to like 1,000,000.
Basically, you want to set the pokeys for the speed you wish homing to work at, then increase
accel to the point where its good and fast to start. Leave it there. In Auggie, you will then
set steps/unit, and a velocity in units/minute. The formula there is
MaxVelPerMin divided by 60 multiplied by stepsPerUnit must not exceed 125000 for the 57CNC or
30,000 for all other types unless they have an external engine attached.
In Auggie set MaxJerk to 500, setup your max velocity till it sounds good,
if the accel is too slow, up the jerk to 5000, then start doubling it from there... till your happy with
the SCurving..
Art
Re: getting the 57cnc to work with G540
Posted: Sun Jan 10, 2016 7:18 am
by DanL
Art these boards are crazy, spent all day yesterday trying to get the motors to move, tryed to find what pins I need to set bla bla so on, turns out you don't set any it does it itself, same goes with the home switches 0 is the answer.
I was told these board where shit's of things to set up well they are not, they are too easy to set up.
on a side note in the pokeys software they seem to run the motors a bit smoother, than in auggie you can only tale by sound movement is fine. I have all motors working good, I have not tested homing yet, that will be some time this week, then I will get the limits and spindle going (does spindle control work in auggie). it will be through the G540 to a superpid.
the problem with the motors maybe because they are old sanyo decke steppers made in 1987