Re: getting the 57cnc to work with G540

Discussions and file drops for Auggie
DanL
Old Timer
Posts: 362
Joined: Wed Sep 10, 2014 1:35 pm

Re: getting the 57cnc to work with G540

Post by DanL »

Art it's smooth in pokey ruff in auggie, I dropped the speed down to they came right, I will speed them up a little bit a see if I can tune them through the G540 I just have to rember to get my ceramic skewdriver.

I will try to get them to home in pokeys, if that fails I will just plug them into the correct plug I have some header that will fit, it's a rewire but nothing hard.

it's still fun and terminals would be better or if they came with the plugs that would be even better.
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4648
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: getting the 57cnc to work with G540

Post by ArtF »

Dan:

Mine sounds pretty much the same either way, Bobs sounds bad but he's on a 57E which has shorter pulses,
we'll see if its a current limitation..

  So once you tune in the motors let me know, really Auggie should be as smooth or smoother
than the pokeys config..

Art
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4648
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: getting the 57cnc to work with G540

Post by ArtF »

Dan:

Oh, one other thing to check, Augie is running in Buffered mode, so its
sensitive to network conditions for motion. If its noisy.. it may be the network,
so make sure the "Time anomolies" DRO on the diags stays at zero, if not, yell
and we'll discuss how to troubleshoot that..

Art
DanL
Old Timer
Posts: 362
Joined: Wed Sep 10, 2014 1:35 pm

Re: getting the 57cnc to work with G540

Post by DanL »

Yer I will have to rember to turn the internet off, wireless. both my laptops are win10 so I can sink to and from them, what's a cool thing win10 has, it make remembering your passwords easy.

next time I get stepper drivers I am not getting geckos, they work well but are a pain in arse to tune, if I had a scope it would be easy 
DanL
Old Timer
Posts: 362
Joined: Wed Sep 10, 2014 1:35 pm

Re: getting the 57cnc to work with G540

Post by DanL »

Art turning the net off and tuning the G540 did the trick, I was able to take it up to the machines max speed 600. that's that job done, now to the home/limit switches.
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4648
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: getting the 57cnc to work with G540

Post by ArtF »

Dan:

Thanks, I was curious if the tuning had to be done to conform it to the pulse stream.. I'm not sure
how Marris designed those drivers, but he's something of a genius , which is why those trim pots
exist I suspect, most drivers have no such thing in them. Personally, I suspect highly Marris made those
motor drivers analogous to servos and the pot is setting count difference sensitivity or something.

  Ill have to get Bob to try his tuning to see if it makes a difference on the 56E.

  For those that wonder in future about pulse width and such..

The 57CNC uses 1/2 pulse width, so the pulses get narrower as you get faster. I find this
greatly smoothing and can hear the difference between a 56/57E and a 57CNC. All the
3 axis internal engines use a 20us pulse ( 1/2 of max frequency of 25Khz), which is a smart
minimum to use. My AMD drivers seem to like the wider pulses more, but I suspect the 4ma limit
on the pokeys vs most printer ports limit of 12ma may be the difference..We're running
experiments to see if thats the case by feeding a TTL gate with a higher current limit , but
your tests may show a need to retune a G540 is all thats required..

Thx for the results..
Art
DanL
Old Timer
Posts: 362
Joined: Wed Sep 10, 2014 1:35 pm

Re: getting the 57cnc to work with G540

Post by DanL »

yer Marris is clever they are a shit to tune by ear if I had a scope easy as, the other board's the pots and holes don't line up and you have to use a non conductive screwdriver, it makes it super hard, to tune them that's on the 213V boards.

I came up with a cleaver idea to get plugs for the 57cnc the pin pattern is the same as pc internal cables, I have a few 10 pin so that was easy to do, I am have the day off so I am doing the wiring for the home a limit switches, that should be fine.
DanL
Old Timer
Posts: 362
Joined: Wed Sep 10, 2014 1:35 pm

Re: getting the 57cnc to work with G540

Post by DanL »

well setting up home and limit switches is really easy with mechanical switches, the only home switch I have is a mechanical one it's on Z I wired it into the 57 cnc could not get it to work not sure why ( i might have blown the port) put it back into the G540 it worked first try.

the other home switches are hall effect and did not work at all, couple of reasons, don't know why but with them plugged into the 57cnc in the home switch port I was getting a negative voltage of -2.86 vdc pulled the wire out and put the voltmeter on it and it was reading 5 off, 0 on, put it into the G540 I was getting 19vdc. so I have ripped them out and are putting mechanical switches in.

there is only 5.8vdc going into the 57 cnc, the hall effects had there own power supply 5.1vdc, common ground, so the switches were putting the correct voltage out through the signal wire.

they worked fine with M3 and M4 through the G540, but not in the 57cnc. the home and - limit port may be blown, the 57 cnc still works. well the DB 25 does.

I have a -y mechanical switch I will plug that in tomorrow and test the port out to see if it is blown hope not.

Art or anyone else have a idea why this is a problem please say for future references. I have removed the hall effect switches and wired the mechanical switch in I am not changing again.
if I change my big machine to auggie this will be a problem again I have hall effect switches on that machine that work fine with M3 and M4.

the next person who sets up the G540 through the 57 cnc 1.2 is going to have a easy time of it.
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4648
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: getting the 57cnc to work with G540

Post by ArtF »

Dan:

    The PoKeys can sink/source only 4ma per pin, it may be the hall effect needed more than that,
my switches are proximity and 12 volts so I haven't decided yet what to do there.. I just installed
Din rails and started wiring up the servo power circuit..

  Hard to say why the 19 volts and such, sounds like something was switching fast in there.. the
ports probably OK, Id just hook a switch to make sure.. I haven't blown any ports ..yet.. but Ill
let you know if I manage to torture mine enough to see that. :)

Art


 
DanL
Old Timer
Posts: 362
Joined: Wed Sep 10, 2014 1:35 pm

Re: getting the 57cnc to work with G540

Post by DanL »

thanks art I will just stick with the mechanical switches with this machine I know they work, we may have to ask the pokeys people how the hall effect or proximity switches are to be wired, they were done with reverse voltage protection.
DanL
Old Timer
Posts: 362
Joined: Wed Sep 10, 2014 1:35 pm

Re: getting the 57cnc to work with G540

Post by DanL »

I have run into a problem the inputs on the G540 are putting out 11.26 VDC, going by the manual it should only be 5VDC, any off you other G540 user's, have this problem.
I have asked gecko about this as well. 
DanL
Old Timer
Posts: 362
Joined: Wed Sep 10, 2014 1:35 pm

Re: getting the 57cnc to work with G540

Post by DanL »

I moved the home switches to the 57cnc they are working as they should in pokeys, going the correct direction. X, Y and Z motors are going correct direction.

when I run homing in auggie, they are working, X is going the correct direction, Y and Z are going the wrong direction. the motors are going in the correct direction.

I think 2 of the inputs in the G540 are dead, I had the switches lined up from the pin order in the 57cnc Z was working Y was working in B.

bob make sure you check the voltage in the inputs for the G540
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4648
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: getting the 57cnc to work with G540

Post by ArtF »

Dan:

  Once you have it so Pokeys can run the homing, in Auggie you still have to set Homing direction
for each axis , as well as accel , velocity and steps/unit. Its in the config button on auggies config menu,
just doesnt look like a button is all. :)

Art
DanL
Old Timer
Posts: 362
Joined: Wed Sep 10, 2014 1:35 pm

Re: getting the 57cnc to work with G540

Post by DanL »

thanks Art I forgot that (smack on head) I ask the G540 puts out 10 to 12 vdc on inputs. but for some reason only Y and Z where working if I put X in where I had Y it would work, so I don't know what going on with the other 2 inputs, it works fine with the home switches connected to the 57CNC.

I am wiring up the spindle now.

I will fire it backup and set the home switches.

I will try doing the code for the spindle this weekend, in between setting up my 3D printer.
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4648
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: getting the 57cnc to work with G540

Post by ArtF »

I ask the G540 puts out 10 to 12 vdc on inputs. but for some reason only Y and Z where working if I put X in where I had Y it would work, so I don't know what going on with the other 2 inputs, it works fine with the home switches connected to the 57CNC.

Wow, really? 12 volts on inputs?  Might explain why Bobs was going into recovery when he hooked all his pins up.. Ill look into that as I will begin wiring soon..

Dont actually run your spindle till next version, I have fixed many things , one was the spindle turning off early..

Art

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest