Hello,

I am planning on integrating a Sherline CNC rotary table to an existing 3-axis
mill. I will not use Stepconf. Instead, I will manually edit the ini and hal
files. Could you please tell me whether the following lines will work? I am
using EMC 2 (Axis 2.2.6) with Ubuntu 6.06 and there will be no limit/home switch
on that rotary axis. (I just want to limit the rotation with a software limit).

Regards, Patrice.

*****************INI FILE********************

AXES =                  4
COORDINATES =         X Y Z A
HOME =                  0 0 0 0


[AXIS_3]
TYPE =                          ANGULAR
HOME =                          0.0
MAX_VELOCITY =                  36
MAX_ACCELERATION =              35.0
STEPGEN_MAXACCEL =              35.1
BACKLASH = 0.000
SCALE =                   160
OUTPUT_SCALE = 1.000
MIN_LIMIT =                     -10000.0
MAX_LIMIT =                     10000.0
FERROR = 0.50
MIN_FERROR = 0.10
HOME_OFFSET =                    0.0
HOME_SEARCH_VEL =                0.0
HOME_LATCH_VEL =                 0.0
HOME_USE_INDEX =                 NO
HOME_IGNORE_LIMITS =             NO


***********************HAL FILE*****************************

The hal file already contains this:

net adir => parport.0.pin-08-out
net astep => parport.0.pin-09-out
setp parport.0.pin-09-out-reset 1

I am planning on inserting the following lines:

setp stepgen.3.position-scale [AXIS_3]SCALE
setp stepgen.3.steplen 1
setp stepgen.3.stepspace 0
setp stepgen.3.dirhold 35000
setp stepgen.3.dirsetup 16000
setp stepgen.3.maxaccel [AXIS_3]STEPGEN_MAXACCEL
net apos-cmd axis.3.motor-pos-cmd => stepgen.3.position-cmd
net apos-fb stepgen.3.position-fb => axis.3.motor-pos-fb
net astep <= stepgen.3.step
net adir <= stepgen.3.dir
net aenable axis.3.amp-enable-out => stepgen.3.enable


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to