开云体育

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: parts counter

spencer@spencerserolls.com
 

two question. i did get it to work with a simple test program putting all the code for the part in a sub and calling it a number of times. once i realized that the B axis was not enabled and i enabled it, it worked :)

how do i run a sub continuously instead of a fixed number of times???

it seems that the #111 variable needs to be initialized which is why i need a top level program and then a sub. if i don't use a sub and don't initialize the variable it does not work, program is constantly updating the B DRO.

so i guess i do need to put all the code in a sub, right? but how do i keep it running indefinitely until i stop the top program?

?
?
Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...


(425) 791-0309
(707) 223-8212

------ Original Message ------
From: "Martin Connelly" <martin.at.leasingham@...>
Sent: 2/15/2020 1:23:12 AM
Subject: Re: [MachCNC] parts counter

[Edited Message Follows]

It sounds like the parts you are talking about are not using the 4th axis A. If you set A to zero at the start of your loop you can have a counter that increases by 1 at the end of the loop and moves A to that value. The A axis DRO will then act as a visible loop count.

Here is what I expect it to have added to the code:-

#111=[0] ; pick a suitable number for the subroutine counter
G0 A 0 ; set A to zero, if necessary you can put an M1 pause here to remind you if A has a large value to set zero and restart.

; call the subroutine

; end program

;? subroutine

#111=[#111 + 1]
G0 A [#111]

; return from subroutine

If you have not got the A axis set up then it should not be hard to set it up with a high speed to simulate it as required for this process.? If you are using A and are willing to modify the screen then use axis B and add the B axis DRO somewhere.

Martin


Re: parts counter

spencer@spencerserolls.com
 

great because i can't seem to get any screen editor to work. tried running in virtual box. i was ready to get the scale out which i might do anyway. i am ready to start making parts so i will check the diag screen.

?
?
Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...


(425) 791-0309
(707) 223-8212

------ Original Message ------
From: "Martin Connelly" <martin.at.leasingham@...>
Sent: 2/15/2020 12:10:50 PM
Subject: Re: [MachCNC] parts counter

If you use the b axis you can see the count on the diagnostics screen. No need to add the DRO to a screen then.

Martin


Re: parts counter

 

If you use the b axis you can see the count on the diagnostics screen. No need to add the DRO to a screen then.

Martin


Re: parts counter

spencer@spencerserolls.com
 

i think i just confirmed that none of the screen editors work on win 10 64 bit. so if i want to edit a screen, should i just try doing it with an xp computer? or maybe try it in virtual xp?? my only really nice computer with a good keyboard mouse and nice display is my win 10 computer.

?
?
Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...


(425) 791-0309
(707) 223-8212

------ Original Message ------
From: "Spencer Chase" <spencer@...>
Sent: 2/15/2020 11:04:22 AM
Subject: Re[2]: [MachCNC] parts counter

that looks like an easy solution. i am using the A axis. i should post a video some day. the machine is pretty neat but still full of bugs after just 7 years working on it.?

i would like to add a B axis dro to the screen but might need to do some searching to find a computer that will run the screen editor. most of my computers are running win 10 now and i am almost certain that the screen editor does not work anymore. i looked at it briefly and could not get anything to work.

i do have an xp machine running the router so i can probably do it there.

any suggestions on the best way (which program etc) to edit a screen, possibly on a win 10 computer?

?
?
Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...


(425) 791-0309
(707) 223-8212

------ Original Message ------
From: "Martin Connelly" <martin.at.leasingham@...>
Sent: 2/15/2020 1:23:12 AM
Subject: Re: [MachCNC] parts counter

[Edited Message Follows]

It sounds like the parts you are talking about are not using the 4th axis A. If you set A to zero at the start of your loop you can have a counter that increases by 1 at the end of the loop and moves A to that value. The A axis DRO will then act as a visible loop count.

Here is what I expect it to have added to the code:-

#111=[0] ; pick a suitable number for the subroutine counter
G0 A 0 ; set A to zero, if necessary you can put an M1 pause here to remind you if A has a large value to set zero and restart.

; call the subroutine

; end program

;? subroutine

#111=[#111 + 1]
G0 A [#111]

; return from subroutine

If you have not got the A axis set up then it should not be hard to set it up with a high speed to simulate it as required for this process.? If you are using A and are willing to modify the screen then use axis B and add the B axis DRO somewhere.

Martin


Re: parts counter

spencer@spencerserolls.com
 

that looks like an easy solution. i am using the A axis. i should post a video some day. the machine is pretty neat but still full of bugs after just 7 years working on it.?

i would like to add a B axis dro to the screen but might need to do some searching to find a computer that will run the screen editor. most of my computers are running win 10 now and i am almost certain that the screen editor does not work anymore. i looked at it briefly and could not get anything to work.

i do have an xp machine running the router so i can probably do it there.

any suggestions on the best way (which program etc) to edit a screen, possibly on a win 10 computer?

?
?
Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...


(425) 791-0309
(707) 223-8212

------ Original Message ------
From: "Martin Connelly" <martin.at.leasingham@...>
Sent: 2/15/2020 1:23:12 AM
Subject: Re: [MachCNC] parts counter

[Edited Message Follows]

It sounds like the parts you are talking about are not using the 4th axis A. If you set A to zero at the start of your loop you can have a counter that increases by 1 at the end of the loop and moves A to that value. The A axis DRO will then act as a visible loop count.

Here is what I expect it to have added to the code:-

#111=[0] ; pick a suitable number for the subroutine counter
G0 A 0 ; set A to zero, if necessary you can put an M1 pause here to remind you if A has a large value to set zero and restart.

; call the subroutine

; end program

;? subroutine

#111=[#111 + 1]
G0 A [#111]

; return from subroutine

If you have not got the A axis set up then it should not be hard to set it up with a high speed to simulate it as required for this process.? If you are using A and are willing to modify the screen then use axis B and add the B axis DRO somewhere.

Martin


Re: parts counter

spencer@spencerserolls.com
 

i was going to add an electrical counter but that would of course take time to get right and not just destroy switchs. could use a hall effect switch. i had a nice little counter on my punch press that worked that way but i can't find it.

your suggestion has merit. i just happen to have a large digital platform scale that is not being used. it might even have parts counting as a feature. if not, all i need to do is to calculate the weight of the target number. the only reason i want to count parts is because it is horribly boring to make them and some times i can't wait until i have enough to ship.?

this is a solution i can put into effect within minutes and allows me to use my few remaining brain cells for something more important.
thanks for thinking outside the box.

?
?
Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...


(425) 791-0309
(707) 223-8212

------ Original Message ------
From: "phill005" <phill05@...>
Sent: 2/15/2020 1:50:48 AM
Subject: Re: [MachCNC] parts counter

I just thought of something that might work but it will not allow for decrementing. I could keep all the bad parts until I finish the job and then count them separately.”

?

What about two bins one bin for good parts, one bin for bad parts and a set of weighing scales.


Re: parts counter

 

开云体育

I just thought of something that might work but it will not allow for decrementing. I could keep all the bad parts until I finish the job and then count them separately.”

?

What about two bins one bin for good parts, one bin for bad parts and a set of weighing scales.


Re: parts counter

 
Edited

It sounds like the parts you are talking about are not using the 4th axis A. If you set A to zero at the start of your loop you can have a counter that increases by 1 at the end of the loop and moves A to that value. The A axis DRO will then act as a visible loop count.

Here is what I expect it to have added to the code:-

#111=[0] ; pick a suitable number for the subroutine counter
G0 A 0 ; set A to zero, if necessary you can put an M1 pause here to remind you if A has a large value to set zero and restart.

; call the subroutine

; end program

;? subroutine

#111=[#111 + 1]
G0 A [#111]

; return from subroutine

If you have not got the A axis set up then it should not be hard to set it up with a high speed to simulate it as required for this process.? If you are using A and are willing to modify the screen then use axis B and add the B axis DRO somewhere.

Martin


Re: parts counter

Stephen Gould
 

开云体育

Spencer,
Interesting project, would you need to have a counter for each part type you made, or just the one currently on the cancel? The latter is easier, but you would still need to remember to reset if you changed the part.
Regards
Steve Gould
Hampshire
Uk

Get


From: MachCNC@groups.io <MachCNC@groups.io> on behalf of Tony Smith <ajsmith1968@...>
Sent: Saturday, February 15, 2020 4:08:54 AM
To: MachCNC@groups.io <MachCNC@groups.io>
Subject: Re: [MachCNC] parts counter
?

G-Code has a range of variables (#500-#1000 IIRC) where you can store stuff like that.

?

Tony

?

From: MachCNC@groups.io [mailto:MachCNC@groups.io] On Behalf Of spencer@...
Sent: Saturday, 15 February 2020 3:18 AM
To: MachCNC@groups.io
Subject: [MachCNC] parts counter

?

I looked in the forums and did find "answers" to? this but nothing that did not seem like a lot of work and beyond my current understanding of how mach 3 works and how to hack it. So, the question is, is it possible to add a parts counter that keeps track of how many times a gcode is run? I can probably edit my screen as I have done it in the past and can probably re-figure out how the editor works.

?

I would like to have an on screen counter either in the main program space or elsewhere and ideally would like to be able to decrement the counter in case a part was rejected. I am making a lot of little wooden parts and even if the job runs properly some parts are not good enough to keep because of things like out of square stock that was not noticed or excessive damage caused by crazy grain.?

?

I have various electrical counters that i can use as a switch so if this will be a big project the simple electrical switch would be easier. I am currently using a counter app on my phone but the environment is too messy for the phone and I am not good at remembering to increment manually.?

?

I just thought of something that might work but it will not allow for decrementing. I could keep all the bad parts until I finish the job and then count them separately. I have a foot switch that starts the program. I think it might have two internal switches so one could operate the counter.

?

I also like programming Arduinos and might have something thrown together that I can convert to some sort of smart counter but I am running out of time for projects. Need to just get some work done and spend less time with distractions.

?

Still a hopefully simple computer bed solution would be best.

?

?

?

Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...
http://www.spencerserolls.com
http://www.poodlex.com
(425) 791-0309
(707) 223-8212

?


Re: parts counter

 

开云体育

G-Code has a range of variables (#500-#1000 IIRC) where you can store stuff like that.

?

Tony

?

From: MachCNC@groups.io [mailto:MachCNC@groups.io] On Behalf Of spencer@...
Sent: Saturday, 15 February 2020 3:18 AM
To: MachCNC@groups.io
Subject: [MachCNC] parts counter

?

I looked in the forums and did find "answers" to? this but nothing that did not seem like a lot of work and beyond my current understanding of how mach 3 works and how to hack it. So, the question is, is it possible to add a parts counter that keeps track of how many times a gcode is run? I can probably edit my screen as I have done it in the past and can probably re-figure out how the editor works.

?

I would like to have an on screen counter either in the main program space or elsewhere and ideally would like to be able to decrement the counter in case a part was rejected. I am making a lot of little wooden parts and even if the job runs properly some parts are not good enough to keep because of things like out of square stock that was not noticed or excessive damage caused by crazy grain.?

?

I have various electrical counters that i can use as a switch so if this will be a big project the simple electrical switch would be easier. I am currently using a counter app on my phone but the environment is too messy for the phone and I am not good at remembering to increment manually.?

?

I just thought of something that might work but it will not allow for decrementing. I could keep all the bad parts until I finish the job and then count them separately. I have a foot switch that starts the program. I think it might have two internal switches so one could operate the counter.

?

I also like programming Arduinos and might have something thrown together that I can convert to some sort of smart counter but I am running out of time for projects. Need to just get some work done and spend less time with distractions.

?

Still a hopefully simple computer bed solution would be best.

?

?

?

Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...
http://www.spencerserolls.com
http://www.poodlex.com
(425) 791-0309
(707) 223-8212

?


parts counter

spencer@spencerserolls.com
 

I looked in the forums and did find "answers" to? this but nothing that did not seem like a lot of work and beyond my current understanding of how mach 3 works and how to hack it. So, the question is, is it possible to add a parts counter that keeps track of how many times a gcode is run? I can probably edit my screen as I have done it in the past and can probably re-figure out how the editor works.

I would like to have an on screen counter either in the main program space or elsewhere and ideally would like to be able to decrement the counter in case a part was rejected. I am making a lot of little wooden parts and even if the job runs properly some parts are not good enough to keep because of things like out of square stock that was not noticed or excessive damage caused by crazy grain.?

I have various electrical counters that i can use as a switch so if this will be a big project the simple electrical switch would be easier. I am currently using a counter app on my phone but the environment is too messy for the phone and I am not good at remembering to increment manually.?

I just thought of something that might work but it will not allow for decrementing. I could keep all the bad parts until I finish the job and then count them separately. I have a foot switch that starts the program. I think it might have two internal switches so one could operate the counter.

I also like programming Arduinos and might have something thrown together that I can convert to some sort of smart counter but I am running out of time for projects. Need to just get some work done and spend less time with distractions.

Still a hopefully simple computer bed solution would be best.

?
?
Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...
http://www.spencerserolls.com
http://www.poodlex.com
(425) 791-0309
(707) 223-8212


Re: NFS wizard edit password

 

Edit "new program.tap". It's in the Gcode folder.?

Martin


Re: MPG & Mach4

 

It shows up when I first add it but at some time after it disappears. I have tried adding photos to this group but could not find? way. It is an image of the wiring details of a universal pendant that I found by looking at a number of them on Ebay until I found it.

Martin


Re: NFS wizard edit password

 

I want to edit the actual output. the license is already established.
each wizard only lifts Z up above the part, there's no provision to retract Z all the way up,
no cancellation of TLO, no provision to move to a tool change postion.
Machine is a learning platform for Rochester Makerspace, and wizards are unsuitable as is
for a teaching environment due to so many things missing from the output.
Creates more confusion.

Very unhappy that NFS will not allow editing by the user.
I expect no support for anything I've modified.

Fallback position is to make M05 or M09 into a macro.
Not ideal, but better than what there is now.
Or maybe just write my own wizardss that behave better.

How muchdid they charge for NFS wizards back then?
I never paid attention.

End of a routine should include
G90 G00 Z.1 (lift out of work)
G53 G49 G00 H00 Z0 (cancel TLO and lift to Z machine zero)
Xx.xxxx Y.yyyy (move to tool change, not needed if next segment uses same tool)

?


Re: MPG & Mach4

 

开云体育

Martin,

Looks like the attachment did not come through.

Dale

On 2/8/2020 5:58 AM, Martin Connelly wrote:

Found this on one of the universal pendant web pages.




Martin


Re: MPG & Mach4

 

Have you considered a wireless hand held mini keyboard as a pendant. They are very cheap and I have seen a number of people using them as remote controllers for CNC machines. Search for "Rii i8" on Ebay to see them.? Also there are plug-ins for Xbox controllers that can be used as a pendant, see?

Martin


Re: NFS wizard edit password

 
Edited

Do you just want a licence password to use them as that is different from editing them and is, as pointed out, not good for the commercial supplier. To some extent wizards are parameterised Gcode programs with a pretty face. If you can explain exactly what you want it should be possible to produce a suitable Gcode program.

Here is my example for crank shaft roughing prior to finishing with a lathe or grinder. If you want to see the toolpath in Mach3 you have to drag the window around to look at the yz plane.?

This video shows it in action.

Martin

; This code assumes the units are mm, may work with inches but not checked.
; It is essential that the cutter is long enough to pass between the webs when the pin is at its lowest point.
; y zero and z zero should be on the a axis centre line.
; Set x to suit your requirements for each pin. Set radius in the settings tab to zero and set config-toolpath-use radius for feedrate to off.
M0????????????????????????????????????????????????????? ; Optional stop, set a axis value to zero if required to avoid long wait.

??????????????????????????????????????????????????????? ; The following parameters should be set by the user to suit the part being made.
#1=[20] ; Bar diameter
#2=[14]? ; PCD of the crank pin
#3=[6]? ; Crank pin diameter
#4=[6]? ; Cutter diameter
#8=[0]? ; Pin offset from TDC.
#9=[1]? ; a axis rotation. Set this to -1/+1 if the a axis rotation is wrong direction. Check before cutting any material.
#12=[250]?????????????????????????????????????????????? ; Set the speed to suit your cutter and material.
??????????????????????????????????????????????????????? ; The following are calculated parameters.
#6=[[#1 /2] + #2]?????????????????????????????????????? ; Calculated z start height for first pass.
#7=[[#2 /2] + [#3 /2]]????????????????????????????????? ; Calculated z finish height for final pass.
#5=[[#6 - #7] / #2]???????????????????????????????????? ; Calculated step size.
??????????????????????????????????????????????????????? ; The number of passes is taken as the pin pcd #2.
??????????????????????????????????????????????????????? ; This gives a step size close to 1mm but increases if the bar diameter is much larger than the pcd.
f[#1]
#10=[#2]??????????????????????????????????????????????? ; Step counter for looping the sub-routine.
??????????????????????????????????????????????????????? ; Used as a multiplier to set the z axis before each rotation.
#11=[1]???????????????????????????????????????????????? ; Adds 360 degrees to the angle each rev to save rotating backwards each pass.
??????????????????????????????????????????????????????? ; Initialisation
G0 G49 G40.1 G64 G17 G80 G50 G90 G98 G91 G91.1
M6 T1
M03 S4000
G43
G19???????????????????????????????????????????????????? ; Set circular motion to the yz plane.
??????????????????????????????????????????????????????? ; Start motion
G0 z[#6 + 2]??????????????????????????????????????????? ; Go to initial start height.
G0 a[#9*#8]???????????????????????????????????????????? ; Move a axis to TDC plus offset.
M98 P003 Q#2??????????????????????????????????????????? ; Loop subroutine #2 times
??????????????????????????????????????????????????????? ; Polish passes.
G1 z[#7 + #5*#10] y[#4 /-4] F[#12]????????????????????? ; Reposition cutter to clean up more of the pin.
G03 a[[#9 *#11 *360] + [#9 *#8]] y[#4 /-4] k[#2 /-2] F[#12 *360 /[3.1415*#1]]?? ; Circular motion 360 degrees.
#11=[#11 +1]??????????????????????????????????????????? ; Increase degrees multiplier for final rotation.
G1 z[#7 + #5*#10] y[#4 /-2] F[#12]????????????????????? ; Reposition cutter to clean up the centre of the pin.
G03 a[[#9 *#11 *360] + [#9 *#8]] y[#4 /-2] k[#2 /-2] F[#12 *360 /[3.1415*#1]]?? ; Circular motion 360 degrees.
G0 z[#6 + 2]??????????????????????????????????????????? ; Go to initial start height.
G17???????????????????????????????????????????????????? ; Set circular motion back to the xy plane.
M5 M9?????????????????????????????????????????????????? ; Turn off spindle, coolant etc as required.
M30???????????????????????????????????????????????????? ; End program

O003 ; Circular motion subroutine.
G1 y[#4 *-1.5 *#9] F[#12]?????????????????????????????? ; Move slightly to one side.
#10=[#10 - 1]?????????????????????????????????????????? ; Multiplier for z height.
G1 z[#7 + #5*#10] y0 f[#12]????????????????????????? ; Ramp down to inital cutting position for circular motion.
G03 a[[#9 *#11 *360] + [#9 *#8]] y0 k[#2 /-2] F[#12 *360 /[3.1415*#1]]??? ; Circular motion in yz plane 360 degrees.
#11=[#11 +1]??????????????????????????????????????????? ; Increase degrees multiplier for next rotation.
M99???????????????????????????????????????????????????? ; End subroutine.


Re: changing direction

spencer@spencerserolls.com
 

thanks 10-4, over :) hugs ?

Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...


(425) 791-0309
(707) 223-8212

------ Original Message ------
From: "mike allen" <animal@...>
Sent: 2/11/2020 6:36:09 PM
Subject: Re: [MachCNC] changing direction

??? ??? 10-4

??? ??? animal

On 2/11/2020 6:34 PM, spencer@... wrote:
what are you talking about? i was joking. you very gracefully said never mind. i was kidding? i was just suggesting that we can overthink this shit and need to not be too serious about it.

?
?
Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...


(425) 791-0309
(707) 223-8212

------ Original Message ------
From: "mike allen" <animal@...>
Sent: 2/11/2020 6:23:42 PM
Subject: Re: [MachCNC] changing direction

??? ??? ??? ??? has anyone ever told you your a "dick" ? , just wonderin . you should go back & look at some of your post's & your reply's .. if your so much better then everyone else why are you here?


??? ??? animal

On 2/11/2020 6:18 PM, spencer@... wrote:
Yes turn off the mind and we would all be ok why do we insist on making the mind things work. Machines are the answer.

On February 11, 2020 5:29:56 PM PST, mike allen <animal@...> wrote:

??? ??? ??? ??? never mind

??? ??? animal


On 2/11/2020 5:28 PM, spencer@... wrote:
I could change motor direction with a relay. It would have to swap both the motor power wires and also the encoder phase pins. This is what I did manually. So a relay, probably something like a four pole double throw. Basically two relays set up the way you do DC motor reversing. And the brain just started working. Two double pole double throw would do it but why?

I wrote a tiny z axis Goode goes up and down 50 times at max speed also turned the 3 phase spindle on and off each cycle to be sure it was not a noise issue. Worked perfectly 0.000 each time it hit the dial indicator. Then I made a few parts and checked 0 at the end. Perfect again. I think the dampness in the shop had corroded the pin for direction on the gecko. I replaced that connector and lined them all with PPE contact lube. This stuff has fixed many problems over the years. Should have used it a long time ago

On February 11, 2020 5:13:58 PM PST, mike allen <animal@...> wrote:

??? ??? ya can't change motor sirection with a relay? just like ya can with a switch ?

??? ??? animal

On 2/11/2020 12:29 PM, spencer@... wrote:
i don't think it is a problem with the encoder. there was a problem with the connector which i think was fixed with some contact cleaner. the encoder is a cui which is not optical so it does not have problems caused by dirt etc. if the cable gets loose or anything of that sort the drive faults and does not move anything.?

i am currently not getting encoder errors, that is not an issue at the moment. i just had loss of direction signal which i verified. if i disconnect the direction wire and let it go to the default which i believe is low, the motor only moves down.

i have a list of things to check if i keep getting loss of direction:

pulse duration in mach3, all wires and connectors, might be more that i forget

all i want to do is to reverse the direction of the direction signal so the default is to go up instead of down. this will make it possible to recover from a loss of signal without ruining a part or damaging a fixture. i am going to try swapping motor leads and or A and B wires. maybe that is all i need to do and then change the active from low to high or high to low in mach 3

checking this now, hopefully it will be simple.

re the other reply, i don't understand how a relay would help anything??

?
?
Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...


(425) 791-0309
(707) 223-8212

------ Original Message ------
From: "Dan Mauch" <dmauch@...>
Sent: 2/11/2020 10:43:00 AM
Subject: Re: [MachCNC] changing direction

What kind of make of encoder? do you have on the Z axis?. The type matters because the G 320X has a feature that will fault if the encoder connection is lost. If its HED see the G320X PDF Page 2? "HEDS
SW6 “OFF” = Default
SW6 “ON” = Turned on if using encoders with HEDS optical heads or open collector encoders. Disables
encoder failure detection allowing user to run encoders that don’t have line drivers or active pullup."

On My us digital encoders I had to add a line driver from US Digital PC4-FH5? $16 to correct what I wanted which was that if an encoder line becomes? disconnected the drives would fault. I have all of my err/res line tied together so if one encoder/cable fails it shuts all the drives down.

You may also have a problem with your encoder. Some encoders are really fussy about the encoder disk to read head alignment and or if it is loose on the shaft, Last if there is exceesive backlash in the servo motor itself.

Dan Mauch



--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Re: changing direction

 

开云体育

??? ??? gotchya

??? ??? animal

On 2/11/2020 6:38 PM, spencer@... wrote:

also why do you think i think i am better than anyone else on the list? i have mainly asked questions for the experts to answer and rarely have answers. i am trying to hack my way through all of this and am grateful that there are people who really understand how it all works and can provide much need guidance.

?
?
Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...


(425) 791-0309
(707) 223-8212

------ Original Message ------
From: "mike allen" <animal@...>
Sent: 2/11/2020 6:23:42 PM
Subject: Re: [MachCNC] changing direction

??? ??? ??? ??? has anyone ever told you your a "dick" ? , just wonderin . you should go back & look at some of your post's & your reply's .. if your so much better then everyone else why are you here?


??? ??? animal

On 2/11/2020 6:18 PM, spencer@... wrote:
Yes turn off the mind and we would all be ok why do we insist on making the mind things work. Machines are the answer.

On February 11, 2020 5:29:56 PM PST, mike allen <animal@...> wrote:

??? ??? ??? ??? never mind

??? ??? animal


On 2/11/2020 5:28 PM, spencer@... wrote:
I could change motor direction with a relay. It would have to swap both the motor power wires and also the encoder phase pins. This is what I did manually. So a relay, probably something like a four pole double throw. Basically two relays set up the way you do DC motor reversing. And the brain just started working. Two double pole double throw would do it but why?

I wrote a tiny z axis Goode goes up and down 50 times at max speed also turned the 3 phase spindle on and off each cycle to be sure it was not a noise issue. Worked perfectly 0.000 each time it hit the dial indicator. Then I made a few parts and checked 0 at the end. Perfect again. I think the dampness in the shop had corroded the pin for direction on the gecko. I replaced that connector and lined them all with PPE contact lube. This stuff has fixed many problems over the years. Should have used it a long time ago

On February 11, 2020 5:13:58 PM PST, mike allen <animal@...> wrote:

??? ??? ya can't change motor sirection with a relay? just like ya can with a switch ?

??? ??? animal

On 2/11/2020 12:29 PM, spencer@... wrote:
i don't think it is a problem with the encoder. there was a problem with the connector which i think was fixed with some contact cleaner. the encoder is a cui which is not optical so it does not have problems caused by dirt etc. if the cable gets loose or anything of that sort the drive faults and does not move anything.?

i am currently not getting encoder errors, that is not an issue at the moment. i just had loss of direction signal which i verified. if i disconnect the direction wire and let it go to the default which i believe is low, the motor only moves down.

i have a list of things to check if i keep getting loss of direction:

pulse duration in mach3, all wires and connectors, might be more that i forget

all i want to do is to reverse the direction of the direction signal so the default is to go up instead of down. this will make it possible to recover from a loss of signal without ruining a part or damaging a fixture. i am going to try swapping motor leads and or A and B wires. maybe that is all i need to do and then change the active from low to high or high to low in mach 3

checking this now, hopefully it will be simple.

re the other reply, i don't understand how a relay would help anything??

?
?
Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...


(425) 791-0309
(707) 223-8212

------ Original Message ------
From: "Dan Mauch" <dmauch@...>
Sent: 2/11/2020 10:43:00 AM
Subject: Re: [MachCNC] changing direction

What kind of make of encoder? do you have on the Z axis?. The type matters because the G 320X has a feature that will fault if the encoder connection is lost. If its HED see the G320X PDF Page 2? "HEDS
SW6 “OFF” = Default
SW6 “ON” = Turned on if using encoders with HEDS optical heads or open collector encoders. Disables
encoder failure detection allowing user to run encoders that don’t have line drivers or active pullup."

On My us digital encoders I had to add a line driver from US Digital PC4-FH5? $16 to correct what I wanted which was that if an encoder line becomes? disconnected the drives would fault. I have all of my err/res line tied together so if one encoder/cable fails it shuts all the drives down.

You may also have a problem with your encoder. Some encoders are really fussy about the encoder disk to read head alignment and or if it is loose on the shaft, Last if there is exceesive backlash in the servo motor itself.

Dan Mauch



--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Re: changing direction

spencer@spencerserolls.com
 

also why do you think i think i am better than anyone else on the list? i have mainly asked questions for the experts to answer and rarely have answers. i am trying to hack my way through all of this and am grateful that there are people who really understand how it all works and can provide much need guidance.

?
?
Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...


(425) 791-0309
(707) 223-8212

------ Original Message ------
From: "mike allen" <animal@...>
Sent: 2/11/2020 6:23:42 PM
Subject: Re: [MachCNC] changing direction

??? ??? ??? ??? has anyone ever told you your a "dick" ? , just wonderin . you should go back & look at some of your post's & your reply's .. if your so much better then everyone else why are you here?


??? ??? animal

On 2/11/2020 6:18 PM, spencer@... wrote:
Yes turn off the mind and we would all be ok why do we insist on making the mind things work. Machines are the answer.

On February 11, 2020 5:29:56 PM PST, mike allen <animal@...> wrote:

??? ??? ??? ??? never mind

??? ??? animal


On 2/11/2020 5:28 PM, spencer@... wrote:
I could change motor direction with a relay. It would have to swap both the motor power wires and also the encoder phase pins. This is what I did manually. So a relay, probably something like a four pole double throw. Basically two relays set up the way you do DC motor reversing. And the brain just started working. Two double pole double throw would do it but why?

I wrote a tiny z axis Goode goes up and down 50 times at max speed also turned the 3 phase spindle on and off each cycle to be sure it was not a noise issue. Worked perfectly 0.000 each time it hit the dial indicator. Then I made a few parts and checked 0 at the end. Perfect again. I think the dampness in the shop had corroded the pin for direction on the gecko. I replaced that connector and lined them all with PPE contact lube. This stuff has fixed many problems over the years. Should have used it a long time ago

On February 11, 2020 5:13:58 PM PST, mike allen <animal@...> wrote:

??? ??? ya can't change motor sirection with a relay? just like ya can with a switch ?

??? ??? animal

On 2/11/2020 12:29 PM, spencer@... wrote:
i don't think it is a problem with the encoder. there was a problem with the connector which i think was fixed with some contact cleaner. the encoder is a cui which is not optical so it does not have problems caused by dirt etc. if the cable gets loose or anything of that sort the drive faults and does not move anything.?

i am currently not getting encoder errors, that is not an issue at the moment. i just had loss of direction signal which i verified. if i disconnect the direction wire and let it go to the default which i believe is low, the motor only moves down.

i have a list of things to check if i keep getting loss of direction:

pulse duration in mach3, all wires and connectors, might be more that i forget

all i want to do is to reverse the direction of the direction signal so the default is to go up instead of down. this will make it possible to recover from a loss of signal without ruining a part or damaging a fixture. i am going to try swapping motor leads and or A and B wires. maybe that is all i need to do and then change the active from low to high or high to low in mach 3

checking this now, hopefully it will be simple.

re the other reply, i don't understand how a relay would help anything??

?
?
Best regards, Spencer Chase
67550 Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
Spencer@...
Spencer@...


(425) 791-0309
(707) 223-8212

------ Original Message ------
From: "Dan Mauch" <dmauch@...>
Sent: 2/11/2020 10:43:00 AM
Subject: Re: [MachCNC] changing direction

What kind of make of encoder? do you have on the Z axis?. The type matters because the G 320X has a feature that will fault if the encoder connection is lost. If its HED see the G320X PDF Page 2? "HEDS
SW6 “OFF” = Default
SW6 “ON” = Turned on if using encoders with HEDS optical heads or open collector encoders. Disables
encoder failure detection allowing user to run encoders that don’t have line drivers or active pullup."

On My us digital encoders I had to add a line driver from US Digital PC4-FH5? $16 to correct what I wanted which was that if an encoder line becomes? disconnected the drives would fault. I have all of my err/res line tied together so if one encoder/cable fails it shuts all the drives down.

You may also have a problem with your encoder. Some encoders are really fussy about the encoder disk to read head alignment and or if it is loose on the shaft, Last if there is exceesive backlash in the servo motor itself.

Dan Mauch



--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.