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
Re: getting the 57cnc to work with G540
-
ArtF
- Global Moderator

- Posts: 4557
- Joined: Sun Sep 05, 2010 5:14 pm
- Contact:
-
DanL
- Site Admin
- Posts: 357
- Joined: Thu Sep 11, 2014 12:35 am
Re: getting the 57cnc to work with G540
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.
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
- Site Admin
- Posts: 357
- Joined: Thu Sep 11, 2014 12:35 am
Re: getting the 57cnc to work with G540
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.
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.
-
ArtF
- Global Moderator

- Posts: 4557
- Joined: Sun Sep 05, 2010 5:14 pm
- Contact:
Re: getting the 57cnc to work with G540
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
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
- Site Admin
- Posts: 357
- Joined: Thu Sep 11, 2014 12:35 am
Re: getting the 57cnc to work with G540
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
- Site Admin
- Posts: 357
- Joined: Thu Sep 11, 2014 12:35 am
Re: getting the 57cnc to work with G540
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.
I have asked gecko about this as well.
-
DanL
- Site Admin
- Posts: 357
- Joined: Thu Sep 11, 2014 12:35 am
Re: getting the 57cnc to work with G540
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
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
-
ArtF
- Global Moderator

- Posts: 4557
- Joined: Sun Sep 05, 2010 5:14 pm
- Contact:
Re: getting the 57cnc to work with G540
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
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
- Site Admin
- Posts: 357
- Joined: Thu Sep 11, 2014 12:35 am
Re: getting the 57cnc to work with G540
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.
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.
-
ArtF
- Global Moderator

- Posts: 4557
- Joined: Sun Sep 05, 2010 5:14 pm
- Contact:
Re: getting the 57cnc to work with G540
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
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