Re: [CAD_CAM_EDM_DRO] Re: EMC - Servo-To-Go - Analog output
Posted by
Jon Elson
on 2003-08-27 10:42:33 UTC
foxprints2003 wrote:
#3 is not used. There is a line in the .ini file
; analog out bits
SPINDLE_ON_INDEX = 3
that defines what DAC channel the spindle speed comes out. I have not
been able to get it to move to other DAC channels, but it does seem to
work on channel 3.
As for scaling, there are some new parameters that set it independently for
each direction. I think the following sets it so it will always be zero to
approximately +10 Volts at 10,000 RPM, for either direction. If both
numbers are positive, then spindle rotation in the reverse direction (M04)
will give a negative voltage. These lines go right below
the spindle_on_index line shown above.
MIN_VOLTS_PER_RPM = -0.001
MAX_VOLTS_PER_RPM = 0.001042
The standard servo DACs go from -10 V to +10 V, and the S speed value
is just multiplied by one of the above numbers to become voltage. So,
1000 RPM x .001 would be 1 Volt. (The numbers above were copied
from a .ini file, I suspect they are different to get the right calibration
for a particular motor drive.)
The info on this can mostly be found by reading the code, which is a
daunting
task even for me. Hopefully, the documentation will catch up.
Jon
>I need a little more info, such as what axis output is used, how toAxes are numbered 0-n internally. Usually x is 0, y is 1, z is 2, and axis
>set the scaling & direction etc. Do you know where to find this info?
>
>
#3 is not used. There is a line in the .ini file
; analog out bits
SPINDLE_ON_INDEX = 3
that defines what DAC channel the spindle speed comes out. I have not
been able to get it to move to other DAC channels, but it does seem to
work on channel 3.
As for scaling, there are some new parameters that set it independently for
each direction. I think the following sets it so it will always be zero to
approximately +10 Volts at 10,000 RPM, for either direction. If both
numbers are positive, then spindle rotation in the reverse direction (M04)
will give a negative voltage. These lines go right below
the spindle_on_index line shown above.
MIN_VOLTS_PER_RPM = -0.001
MAX_VOLTS_PER_RPM = 0.001042
The standard servo DACs go from -10 V to +10 V, and the S speed value
is just multiplied by one of the above numbers to become voltage. So,
1000 RPM x .001 would be 1 Volt. (The numbers above were copied
from a .ini file, I suspect they are different to get the right calibration
for a particular motor drive.)
The info on this can mostly be found by reading the code, which is a
daunting
task even for me. Hopefully, the documentation will catch up.
Jon
Discussion Thread
foxprints2003
2003-08-26 15:06:37 UTC
EMC - Servo-To-Go - Analog output
Paul
2003-08-26 15:28:51 UTC
Re: [CAD_CAM_EDM_DRO] EMC - Servo-To-Go - Analog output
Matt Shaver
2003-08-26 15:37:28 UTC
Re: [CAD_CAM_EDM_DRO] EMC - Servo-To-Go - Analog output
Jon Elson
2003-08-26 22:58:03 UTC
Re: [CAD_CAM_EDM_DRO] EMC - Servo-To-Go - Analog output
foxprints2003
2003-08-27 04:35:56 UTC
Re: EMC - Servo-To-Go - Analog output
Jon Elson
2003-08-27 10:42:33 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC - Servo-To-Go - Analog output
foxprints2003
2003-08-27 13:28:51 UTC
Re: EMC - Servo-To-Go - Analog output
Jon Elson
2003-08-27 22:20:41 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC - Servo-To-Go - Analog output