181
dspMC/IP Motion Controller / Re: DSPMC Macro
« on: December 13, 2013, 09:35:07 PM »
Anilam should have the technical info you need, with an explanation of the sequence involved. I am sure the scales had a specific software routine for setting machine Ref Zero point, which certainly is not like the basic sub-routine in the dspmc controller software.
As I understand macro's and/or ModBus, neither is fast enough to accurately place the Z channel location after it goes Hi.
There is something missing in this equation.
The two marks must be made to work in sync, for placing the axis Ref point. There is a reason the two marks are 10cm apart.
I have a dspmc controller, and use the CNC mill original ref switch, and the encoder Z channel to set the "Machine Zero" point. This is on a 1985 commercial CNC machine I retrofitted a few years ago after the original controller went bellly up. The original machine method for setting "Machine Home" is exactly as it is done today. No macro's involved.
Also, the Ref micro switch is not a limit switch. My machines have 3 micro switches per axis; the Ref micro switch trips slightly before the limit switch for that axis is reached. Once the Ref switch has set "Ref axis" cycle in motion, it does not trigger again, unless you re-run the Ref cycle for that axis. The limit switches are almost never tripped, unless you forcibly jog into them, due to settings in "Homing and Limits."
It could be, the 2 Anilam "Z" channels 10cm apart are made to work in sync, with the first one tripped being a signal to slow the machine, and approach the second Z channel as one being the Ref "Machine Zero" point. This would allow a faster speed in the Ref cycle, without overshooting the target Z channel. Then all the machine limit parameters could be written into a table, based on machine axis travel.
Some set-ups use one of the Limit switches as a Ref switch, but that is not as accurate for repeat-ability. A lot of Mach3 users do not have encoders, or need them for the kind of work they do.
Maybe another forum member with the same setup using glass scales will have the answer. I am just making an educated guess.
John
As I understand macro's and/or ModBus, neither is fast enough to accurately place the Z channel location after it goes Hi.
There is something missing in this equation.
The two marks must be made to work in sync, for placing the axis Ref point. There is a reason the two marks are 10cm apart.
I have a dspmc controller, and use the CNC mill original ref switch, and the encoder Z channel to set the "Machine Zero" point. This is on a 1985 commercial CNC machine I retrofitted a few years ago after the original controller went bellly up. The original machine method for setting "Machine Home" is exactly as it is done today. No macro's involved.
Also, the Ref micro switch is not a limit switch. My machines have 3 micro switches per axis; the Ref micro switch trips slightly before the limit switch for that axis is reached. Once the Ref switch has set "Ref axis" cycle in motion, it does not trigger again, unless you re-run the Ref cycle for that axis. The limit switches are almost never tripped, unless you forcibly jog into them, due to settings in "Homing and Limits."
It could be, the 2 Anilam "Z" channels 10cm apart are made to work in sync, with the first one tripped being a signal to slow the machine, and approach the second Z channel as one being the Ref "Machine Zero" point. This would allow a faster speed in the Ref cycle, without overshooting the target Z channel. Then all the machine limit parameters could be written into a table, based on machine axis travel.
Some set-ups use one of the Limit switches as a Ref switch, but that is not as accurate for repeat-ability. A lot of Mach3 users do not have encoders, or need them for the kind of work they do.
Maybe another forum member with the same setup using glass scales will have the answer. I am just making an educated guess.
John