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 even if you got a kick back from pokeys, I would never have a problem with that, you just made a trucken excellent selection.
leveing the settings in pokeys very good idea sinces I know that now  ;D,

it's matanices week, so I have a big router to check over squire up calibrate, a manual mill and lathe to do as well. so when I have time I have to finish the re wiring on my little machine before I get to try my hand a Monkey
DanL
Old Timer
Posts: 362
Joined: Wed Sep 10, 2014 1:35 pm

Re: getting the 57cnc to work with G540

Post by DanL »

Hi art still can't get the motors to run smooth, question is homing working in auggie, I have the home switches connected to the G540, by looking at the board pinout it looks like it won't work through Test IO.
they are connected and working through the G540 but doing nothing in auggie, I have not tried in the pokeys set up yet.

by looking at the pinout should I just connected them to the Axis switch connector.

the superpid is through the G540 I will start on the script when I have time. have not finished the wireing.

I will be putting the probe in the probe spot.

another question what are the plugs on the 57cnc called
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:

>>Hi art still can't get the motors to run smooth,

  This is yet an open question, BobL is alow trying to get a 540 to work and is finding the motors dont sound good, but
he says they dont sound good jogging in pokeys either.. I havent yet seen this and Im not sure if its a G540 thing or not,
but the one time I had very odd motion, it seemed as if I has two threads running in my CPU as a reboot solved all
that issue, it hasnt repeated. So we'll report in the next few days... Is your jogging good in the Pokeys, just noisy in
Auggie, or is it good in jog, bad in motion..or ? 

>> question is homing working in auggie, I have the home switches connected to the G540, by looking at the board pinout it looks like it won't work through Test IO.
they are connected and working through the G540 but doing nothing in auggie, I have not tried in the pokeys set up yet.

  You have to make sure they home in PoKeys, Auggie simply tells Pokesy to home that axis, its the only time , other then MPG
use where motion comes from the Pokeys planner.

>>by looking at the pinout should I just connected them to the Axis switch connector .

  Yes, or anywhere, but if you set them as pin0, you just use the input on the axis plug
on the pokeys..


>>>the superpid is through the G540 I will start on the script when I have time. have not finished the wireing.
>>I will be putting the probe in the probe spot.

  I dont yet allow probeing, but eventually.. :)

>>another question what are the plugs on the 57cnc called

  I call them a pain in the ass, but your free to call them as you wish. :)
Personally, I like the terminal strips better, but thats a highly personal thing.
But as it forces tme to add a din rail and some terminal strips, I should like them
better as the unit will look better..
GlennD
Old Timer
Posts: 80
Joined: Tue Oct 18, 2011 4:19 pm

Re: getting the 57cnc to work with G540

Post by GlennD »

Dan
;D I agree with Art screw terminals would have been nice.
The connectors are IDC connectors as far as I know.
Digikey link for the cables http://www.digikey.com/product-search/en?keywords=h3cch-1006g that I bought.
The connector board I built has not been hooked up and tested so I haven't shared the files yet.  As soon as I get it hooked up and it works I will share.  Art's solution is easier since it is a purchased option but I am too cheap. :)
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. 
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests