All pastes #64667 Raw Edit

Anonymous

public unlisted text v1 · immutable
#64667 ·published 2006-06-12 02:59 UTC
rendered paste body
 English (CA)  French  German
general pastebin - Something - post number 64666
Stuff to Do

    * New Post
    * Upload a Post
    * Goto Newest
    * Search
    * Archives

Information

    * Site News
    * Get a Pastebin
    * Other Pastebins
    * What is This?
    * Features
    * Statistics
    * Comments
    * Polls

Recent Posts

    * Something
      2 secs
    * TheLegace
      Visual Basic Source
      5 mins 58 secs
    * Unnamed
      6 mins 16 secs
    * Mine
      7 mins 3 secs
    * Untitled
      19 mins 30 secs
    * Something
      22 mins 43 secs
    * Stuff
      30 mins 5 secs
    * Unnamed
      30 mins 29 secs
    * Anonymous
      33 mins 33 secs
    * Something
      36 mins
    * Stuff
      54 mins 10 secs
    * Someone
      1 hour 1 min
    * Something
      1 hour 10 mins
    * Stuff
      1 hour 41 mins
    * Someone
      1 hour 49 mins

Poll: Should the Pastebin have a "comments" or "forum" section linked to pastes?
Yes No Very simple ones Full blown forums Inline comment support
comment on this poll — view details and comments (5)
Post: Something on Sunday, June 11th, 2006 at 8:53:38pm MDT (2 secs ago)
This URL: http://pastebin.ca/64666

   1.
      # EMC controller parameters for generic controller. Make these what you need
   2.
      # for your system.
   3.
       
   4.
      # General note: Comments can either be preceded with a # or ; - either is
   5.
      # acceptable, although # is in keeping with most linux config files.
   6.
       
   7.
      # Settings with a + at the front of the comment are likely needed to get
   8.
      # changed by the user.
   9.
      # Settings with a - at the front are highly unneeded to be changed
  10.
      ###############################################################################
  11.
      # General section
  12.
      ###############################################################################
  13.
      [EMC]
  14.
      #+ Name of machine, for use with display, etc.
  15.
      MACHINE =               stepper
  16.
       
  17.
      #- Name of NML file to use, default is configs/common/emc.nml
  18.
      NML_FILE =              emc.nml
  19.
       
  20.
      #+ Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
  21.
      DEBUG =                0x00000001
  22.
       
  23.
      ###############################################################################
  24.
      # Sections for display options
  25.
      ###############################################################################
  26.
      [DISPLAY]
  27.
       
  28.
      #+ Name of display program, e.g., xemc
  29.
      DISPLAY =             axis
  30.
      # Cycle time, in seconds, that display will sleep between polls
  31.
      CYCLE_TIME =            0.200
  32.
       
  33.
      #- Path to help file
  34.
      HELP_FILE =             doc/help.txt
  35.
       
  36.
      #- Initial display setting for position, RELATIVE or MACHINE
  37.
      POSITION_OFFSET =       RELATIVE
  38.
       
  39.
      #- Initial display setting for position, COMMANDED or ACTUAL
  40.
      POSITION_FEEDBACK =     ACTUAL
  41.
       
  42.
      #+ Highest value that will be allowed for feed override, 1.0 = 100%
  43.
      MAX_FEED_OVERRIDE =     2.0
  44.
       
  45.
      #- Prefix to be used
  46.
      PROGRAM_PREFIX =        ~/nc_files/
  47.
       
  48.
      #- Introductory graphic
  49.
      INTRO_GRAPHIC =         emc2.gif
  50.
      INTRO_TIME =            5
  51.
       
  52.
       
  53.
      ###############################################################################
  54.
      # Task controller section
  55.
      ###############################################################################
  56.
      [TASK]
  57.
       
  58.
      #- Name of task controller program, e.g., bridgeporttask
  59.
      TASK =                  milltask
  60.
      # TASK =                minimilltask
  61.
       
  62.
      #- Cycle time, in seconds, that task controller will sleep between polls
  63.
      CYCLE_TIME =            0.010
  64.
       
  65.
      ###############################################################################
  66.
      # Part program interpreter section
  67.
      ###############################################################################
  68.
      [RS274NGC]
  69.
       
  70.
      #- File containing interpreter variables
  71.
      PARAMETER_FILE =        stepper.var
  72.
       
  73.
      ###############################################################################
  74.
      # Motion control section
  75.
      ###############################################################################
  76.
      [EMCMOT]
  77.
       
  78.
      #- Name of the motion controller to use (only one exists for nontrivkins)
  79.
      EMCMOT =              motmod
  80.
       
  81.
      #- Key for real OS shared memory, e.g., for simulated motion
  82.
      SHMEM_KEY =             111
  83.
       
  84.
      #- Timeout for comm to emcmot, in seconds
  85.
      COMM_TIMEOUT =          1.0
  86.
       
  87.
      #- Interval between tries to emcmot, in seconds
  88.
      COMM_WAIT =             0.010
  89.
       
  90.
      #+ Base task period, in secs - this is the fastest thread in the machine
  91.
      BASE_PERIOD =                28409
  92.
      #- Servo task period, in secs - will be rounded to an int multiple of BASE_PERIOD
  93.
      SERVO_PERIOD =               1000000
  94.
      #- Trajectory Planner task period, in secs - will be rounded to an
  95.
      #   integer multiple of SERVO_PERIOD
  96.
      TRAJ_PERIOD =                1000000
  97.
       
  98.
      ###############################################################################
  99.
      # Hardware Abstraction Layer section
 100.
      ###############################################################################
 101.
      [HAL]
 102.
       
 103.
      # The run script first uses halcmd to execute any HALFILE
 104.
      # files, and then to execute any individual HALCMD commands.
 105.
      #
 106.
       
 107.
      # list of hal config files to run through halcmd
 108.
      #+ files are executed in the order in which they appear
 109.
      HALFILE =                    core_stepper.hal
 110.
      HALFILE =                    pinout.hal
 111.
       
 112.
      #- list of halcmd commands to execute
 113.
      # commands are executed in the order in which they appear
 114.
      #HALCMD =                    save neta
 115.
       
 116.
      ###############################################################################
 117.
      # Trajectory planner section
 118.
      ###############################################################################
 119.
      [TRAJ]
 120.
      #+ machine specific settings
 121.
      AXES =                  3
 122.
      COORDINATES =           X Y Z
 123.
      HOME =                  0 0 0
 124.
      LINEAR_UNITS =          0.0393700787402
 125.
      ANGULAR_UNITS =         1.0
 126.
      CYCLE_TIME =            0.010
 127.
      DEFAULT_VELOCITY =      0.0167
 128.
      MAX_VELOCITY =          1.2
 129.
      DEFAULT_ACCELERATION =  15.0
 130.
      MAX_ACCELERATION =      20.0
 131.
      PROBE_INDEX =           0
 132.
      PROBE_POLARITY =        1
 133.
       
 134.
      ###############################################################################
 135.
      # Axes sections
 136.
      ###############################################################################
 137.
       
 138.
      #+ First axis
 139.
      [AXIS_0]
 140.
      TYPE =                          LINEAR
 141.
      UNITS =                         0.0393700787402
 142.
      HOME =                          0.000
 143.
      MAX_VELOCITY =                  1
 144.
      # NOTE:  the step generator module applies its own limits to
 145.
      # acceleration and velocity.  We have discovered that it needs
 146.
      # to have a little "headroom" over the accel by the trajectory
 147.
      # planner, otherwise it can fall slightly behind during accel
 148.
      # and later overshoot as it catches up.  In the long term we
 149.
      # hope to come up with a clean fix for this problem.  In the
 150.
      # meantime, please set STEPGEN_MAXACCEL below to a few percent
 151.
      # higher than the regular acceleration limit MAX_ACCELERATION
 152.
      MAX_ACCELERATION =              5
 153.
      STEPGEN_MAXVEL =                1.1
 154.
      STEPGEN_MAXACCEL =              5.5
 155.
      BACKLASH = 0
 156.
      CYCLE_TIME =                    0.001000
 157.
      INPUT_SCALE =                   16000    0
 158.
      OUTPUT_SCALE = 1.000 0.000
 159.
      MIN_LIMIT =                     -10
 160.
      MAX_LIMIT =                     10
 161.
      FERROR = 0.050
 162.
      MIN_FERROR = 0.010
 163.
      HOME_OFFSET =                    0.0
 164.
      HOME_SEARCH_VEL =                0.0
 165.
      HOME_LATCH_VEL =                 0.0
 166.
      HOME_USE_INDEX =                 NO
 167.
      HOME_IGNORE_LIMITS =             NO
 168.
       
 169.
      #+ Second axis
 170.
      [AXIS_1]
 171.
      TYPE =                          LINEAR
 172.
      UNITS =                         0.0393700787402
 173.
      HOME =                          0.000
 174.
      MAX_VELOCITY =                  1
 175.
      MAX_ACCELERATION =              5
 176.
      STEPGEN_MAXVEL =                1.1
 177.
      STEPGEN_MAXACCEL =              5.5
 178.
      BACKLASH = 0
 179.
      CYCLE_TIME =                    0.001000
 180.
      INPUT_SCALE =                   16000    0
 181.
      OUTPUT_SCALE = 1.000 0.000
 182.
      MIN_LIMIT =                     -3.5
 183.
      MAX_LIMIT =                     3.5
 184.
      FERROR = 0.050
 185.
      MIN_FERROR = 0.010
 186.
      HOME_OFFSET =                    0.0
 187.
      HOME_SEARCH_VEL =                0.0
 188.
      HOME_LATCH_VEL =                 0.0
 189.
      HOME_USE_INDEX =                 NO
 190.
      HOME_IGNORE_LIMITS =             NO
 191.
       
 192.
       
 193.
      #+ Third axis
 194.
      [AXIS_2]
 195.
      TYPE =                          LINEAR
 196.
      UNITS =                         0.0393700787402
 197.
      HOME =                          0.000
 198.
      MAX_VELOCITY =                  1
 199.
      MAX_ACCELERATION =              5
 200.
      STEPGEN_MAXVEL =                1.1
 201.
      STEPGEN_MAXACCEL =              5.5
 202.
      BACKLASH = 0
 203.
      CYCLE_TIME =                    0.001000
 204.
      INPUT_SCALE =                   16000    0
 205.
      OUTPUT_SCALE = 1.000 0.000
 206.
      MIN_LIMIT =                     0
 207.
      MAX_LIMIT =                     3.5
 208.
      FERROR = 0.050
 209.
      MIN_FERROR = 0.010
 210.
      HOME_OFFSET =                    0.0
 211.
      HOME_SEARCH_VEL =                0.0
 212.
      HOME_LATCH_VEL =                 0.0
 213.
      HOME_USE_INDEX =                 NO
 214.
      HOME_IGNORE_LIMITS =             NO
 215.
       
 216.
       
 217.
      ###############################################################################
 218.
      # section for main IO controller parameters
 219.
      ###############################################################################
 220.
      [EMCIO]
 221.
       
 222.
      #- Name of IO controller program, e.g., io
 223.
      EMCIO =                 io
 224.
       
 225.
      #- cycle time, in seconds
 226.
      CYCLE_TIME =            0.100
 227.
       
 228.
      #- tool table file
 229.
      TOOL_TABLE =            stepper.tbl
 230.
       
 231.
       
 232.
      ###############################################################################
 233.
      # section for external NML server parameters
 234.
      ###############################################################################
 235.
      [EMCSERVER]
 236.
      # Uncomment the following line if you need to run a remote GUI.
 237.
      # EMCSERVER =           emcsvr 

Raw Content Download: http://pastebin.ca/raw/64666
Total Paste Views: 1

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.
paste below
# EMC controller parameters for generic controller. Make these what you need # for your system. # General note: Comments can either be preceded with a # or ; - either is # acceptable, although # is in keeping with most linux config files. # Settings with a + at the front of the comment are likely needed to get # changed by the user. # Settings with a - at the front are highly unneeded to be changed ############################################################################### # General section ############################################################################### [EMC] #+ Name of machine, for use with display, etc. MACHINE = stepper #- Name of NML file to use, default is configs/common/emc.nml NML_FILE = emc.nml #+ Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others DEBUG = 0x00000001 ############################################################################### # Sections for display options ############################################################################### [DISPLAY] #+ Name of display program, e.g., xemc DISPLAY = axis # Cycle time, in seconds, that display will sleep between polls CYCLE_TIME = 0.200 #- Path to help file HELP_FILE = doc/help.txt #- Initial display setting for position, RELATIVE or MACHINE POSITION_OFFSET = RELATIVE #- Initial display setting for position, COMMANDED or ACTUAL POSITION_FEEDBACK = ACTUAL #+ Highest value that will be allowed for feed override, 1.0 = 100% MAX_FEED_OVERRIDE = 2.0 #- Prefix to be used PROGRAM_PREFIX = ~/nc_files/ #- Introductory graphic INTRO_GRAPHIC = emc2.gif INTRO_TIME = 5 ############################################################################### # Task controller section ############################################################################### [TASK] #- Name of task controller program, e.g., bridgeporttask TASK = milltask # TASK = minimilltask #- Cycle time, in seconds, that task controller will sleep between polls CYCLE_TIME = 0.010 ############################################################################### # Part program interpreter section ############################################################################### [RS274NGC] #- File containing interpreter variables PARAMETER_FILE = stepper.var ############################################################################### # Motion control section ############################################################################### [EMCMOT] #- Name of the motion controller to use (only one exists for nontrivkins) EMCMOT = motmod #- Key for real OS shared memory, e.g., for simulated motion SHMEM_KEY = 111 #- 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 secs - this is the fastest thread in the machine BASE_PERIOD = 28409 #- Servo task period, in secs - will be rounded to an int multiple of BASE_PERIOD SERVO_PERIOD = 1000000 #- Trajectory Planner task period, in secs - will be rounded to an # integer multiple of SERVO_PERIOD TRAJ_PERIOD = 1000000 ############################################################################### # Hardware Abstraction Layer section ############################################################################### [HAL] # The run script first uses halcmd to execute any HALFILE # files, and then to execute any individual HALCMD commands. # # list of hal config files to run through halcmd #+ files are executed in the order in which they appear HALFILE = core_stepper.hal HALFILE = pinout.hal #- list of halcmd commands to execute # commands are executed in the order in which they appear #HALCMD = save neta ############################################################################### # Trajectory planner section ############################################################################### [TRAJ] #+ machine specific settings AXES = 3 COORDINATES = X Y Z HOME = 0 0 0 LINEAR_UNITS = 0.0393700787402 ANGULAR_UNITS = 1.0 CYCLE_TIME = 0.010 DEFAULT_VELOCITY = 0.0167 MAX_VELOCITY = 1.2 DEFAULT_ACCELERATION = 15.0 MAX_ACCELERATION = 20.0 PROBE_INDEX = 0 PROBE_POLARITY = 1 ############################################################################### # Axes sections ############################################################################### #+ First axis [AXIS_0] TYPE = LINEAR UNITS = 0.0393700787402 HOME = 0.000 MAX_VELOCITY = 1 # NOTE: the step generator module applies its own limits to # acceleration and velocity. We have discovered that it needs # to have a little "headroom" over the accel by the trajectory # planner, otherwise it can fall slightly behind during accel # and later overshoot as it catches up. In the long term we # hope to come up with a clean fix for this problem. In the # meantime, please set STEPGEN_MAXACCEL below to a few percent # higher than the regular acceleration limit MAX_ACCELERATION MAX_ACCELERATION = 5 STEPGEN_MAXVEL = 1.1 STEPGEN_MAXACCEL = 5.5 BACKLASH = 0 CYCLE_TIME = 0.001000 INPUT_SCALE = 16000 0 OUTPUT_SCALE = 1.000 0.000 MIN_LIMIT = -10 MAX_LIMIT = 10 FERROR = 0.050 MIN_FERROR = 0.010 HOME_OFFSET = 0.0 HOME_SEARCH_VEL = 0.0 HOME_LATCH_VEL = 0.0 HOME_USE_INDEX = NO HOME_IGNORE_LIMITS = NO #+ Second axis [AXIS_1] TYPE = LINEAR UNITS = 0.0393700787402 HOME = 0.000 MAX_VELOCITY = 1 MAX_ACCELERATION = 5 STEPGEN_MAXVEL = 1.1 STEPGEN_MAXACCEL = 5.5 BACKLASH = 0 CYCLE_TIME = 0.001000 INPUT_SCALE = 16000 0 OUTPUT_SCALE = 1.000 0.000 MIN_LIMIT = -3.5 MAX_LIMIT = 3.5 FERROR = 0.050 MIN_FERROR = 0.010 HOME_OFFSET = 0.0 HOME_SEARCH_VEL = 0.0 HOME_LATCH_VEL = 0.0 HOME_USE_INDEX = NO HOME_IGNORE_LIMITS = NO #+ Third axis [AXIS_2] TYPE = LINEAR UNITS = 0.0393700787402 HOME = 0.000 MAX_VELOCITY = 1 MAX_ACCELERATION = 5 STEPGEN_MAXVEL = 1.1 STEPGEN_MAXACCEL = 5.5 BACKLASH = 0 CYCLE_TIME = 0.001000 INPUT_SCALE = 16000 0 OUTPUT_SCALE = 1.000 0.000 MIN_LIMIT = 0 MAX_LIMIT = 3.5 FERROR = 0.050 MIN_FERROR = 0.010 HOME_OFFSET = 0.0 HOME_SEARCH_VEL = 0.0 HOME_LATCH_VEL = 0.0 HOME_USE_INDEX = NO HOME_IGNORE_LIMITS = NO ############################################################################### # section for main IO controller parameters ############################################################################### [EMCIO] #- Name of IO controller program, e.g., io EMCIO = io #- cycle time, in seconds CYCLE_TIME = 0.100 #- tool table file TOOL_TABLE = stepper.tbl ############################################################################### # section for external NML server parameters ############################################################################### [EMCSERVER] # Uncomment the following line if you need to run a remote GUI. # EMCSERVER = emcsvr
details of this paste

Note: Only the paste content is required, though a Name for it is useful.
Description / Question:	
Content Type:	
Expire this post in:	
Name/Title:	(if left blank, it will be set for you randomly)
	Save this name/title in a cookie?
	

Please note that information posted here will not expire by default. If you want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that aren't marked to expire will be indexable by search engines. Be careful with your passwords.
Valid XHTML 1.0! Valid CSS! services provided and written by NetMonks Consulting Corporation