RE: [CAD_CAM_EDM_DRO] EMC motion interruption?
Posted by
Tim Goldstein
on 2001-12-16 17:22:43 UTC
One thing that jumps immediately to mind. Your system is plenty fast, switch
from steppermod.o to freqmod.o. I have indicated below the 3 changes you
need to make to do that. You may want to also tune the PERIOD parameter. A
smaller number gives better performance until you get to the point that the
non-realtime kernel is starved for cycles. You will also have to change the
values in the OUTPUT_SCALE entry for each axis to be the same as the
INPUT_SCALE (you have the correct for steppermod.o).
Try that and let us know how it works.
Tim
[Denver, CO]
following line
EMCMOT = freqmod.o
from steppermod.o to freqmod.o. I have indicated below the 3 changes you
need to make to do that. You may want to also tune the PERIOD parameter. A
smaller number gives better performance until you get to the point that the
non-realtime kernel is starved for cycles. You will also have to change the
values in the OUTPUT_SCALE entry for each axis to be the same as the
INPUT_SCALE (you have the correct for steppermod.o).
Try that and let us know how it works.
Tim
[Denver, CO]
> -----Original Message-----Comment out the above line by putting a ; in the front of it then add the
> ; Motion control section
> ------------------------------------------------------
> [EMCMOT]
>
> ; Platform for motion, e.g., realtime, nonrealtime
> PLAT = realtime
> ; PLAT = nonrealtime
>
> ; Name of motion control program
> EMCMOT = steppermod.o
following line
EMCMOT = freqmod.o
> ; EMCMOT = stgmod.oUncomment the above period line by removing the ;
> ; EMCMOT = stg8mod.o
> ; EMCMOT = emcmotsim
>
> ; Key for real OS shared memory, e.g., for simulated motion
> SHMEM_KEY = 100
>
> ; Base address for physical shared memory, e.g., for real-time motion.
> ; Note that if you change this, you may need to change OS parameters,
> e.g.,
> ; /etc/lilo.conf
> ; SHMEM_BASE_ADDRESS = 0x1F00000
> SHMEM_BASE_ADDRESS = 0x3F00000
>
> ; Address for parallel port used for steppers
> PARPORT_IO_ADDRESS = 0x378
>
> ; Timeout for comm to emcmot, in seconds
> COMM_TIMEOUT = 1.0
>
> ; Interval between tries to emcmot, in seconds
> COMM_WAIT = 0.010
>
> ; Base task period, in seconds
> ; PERIOD = 0.000016
Discussion Thread
confusered
2001-12-16 17:07:07 UTC
EMC motion interruption?
Tim Goldstein
2001-12-16 17:22:43 UTC
RE: [CAD_CAM_EDM_DRO] EMC motion interruption?
Ray
2001-12-17 08:06:28 UTC
Re: EMC motion interruption?
ccs@m...
2001-12-17 08:27:18 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC motion interruption?
confusered
2001-12-23 07:26:08 UTC
Re: EMC motion interruption?