[Bdi4emc-help] Re: Bdi4emc-help Digest

Andy Holcomb andyholcomb at comcast.net
Sat Oct 7 21:43:05 CEST 2006




>
>------------------------------
>
>Message: 2
>Date: Sat, 7 Oct 2006 00:50:30 +0100
>From: Paul <bdi4emc at bulldoghome.com>
>Subject: Re: [Bdi4emc-help] Feed rate override not working
>To: bdi4emc-help at lists.ourproject.org
>Message-ID: <200610070050.30322.bdi4emc at bulldoghome.com>
>Content-Type: text/plain;  charset="us-ascii"
>
>
>Hi Andy
>
>On Friday 06 October 2006 16:54, Andy Holcomb wrote:
>  
>
>>I am running quick step on EMC1 and my Feed rate override is not
>>working, I don't know what version I am running but I did run get update
>>last night and it didn't change anything.
>>    
>>
>
>The latest build would be 1.0-49... Got some tweaks in the pipeline, so it's 
>probably about time I rebuilt the package(s) and bumped up the version 
>number. As for the feed override, could you post the ini file please.
>
>
>Regards, Paul.
>
>
>
>------------------------------
>
>  
>
Yes, I can, here it is

Andy



Andy's EMC ini file Below Here

# EMC controller parameters for generic controller. Make these what you need
# for your system.

# General section -------------------------------------------------------------
[EMC]

# Version of this INI file
VERSION =               $Revision: 1.4 $

# Name of machine, for use with display, etc.
MACHINE =               Generic

# Name of NML file to use, default is emc.nml
NML_FILE =              emc.nml

# Debug level, 0 means no messages. See emc/src/emcnml/emcglb.h for others
#DEBUG =                 0x00000003
# DEBUG =               0x00000007
DEBUG =               0x7FFFFFFF

# Sections for display options ------------------------------------------------
[DISPLAY]

# Name of display program, e.g., xemc
DISPLAY =               tkemc
# DISPLAY =             keystick

# 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 =     1.2

# Prefix to be used
PROGRAM_PREFIX =        ~/gcode

# Introductory graphic
INTRO_GRAPHIC = emc.gif
INTRO_TIME = 5

# Task controller section -----------------------------------------------------
[TASK]

# Name of task controller program, e.g., bridgeporttask
# TASK =                  bridgeporttask
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 =        emc.var

# Motion control section ------------------------------------------------------
[EMCMOT]

# Name of motion control program
# Don't use an extension with the module name - The script works it out.
EMCMOT =              quickstep
#EMCMOT =              freqmod
# EMCMOT =              smdromod
# EMCMOT =              vitalmod

# Key for real OS shared memory, e.g., for simulated motion
SHMEM_KEY =             100

# Base address the DRO card when using smdromod.o
# DRO_BASE_ADDRESS =      0x200

# Address for parallel port used for steppers
;IO_BASE_ADDRESS =    0x378
IO_BASE_ADDRESS =    0xd000

# 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.000010

# Trajectory planner section --------------------------------------------------
[TRAJ]

AXES =                  3
# COORDINATES =         X Y Z R P W
COORDINATES =           X Y Z
HOME =                  0 0 0
LINEAR_UNITS =          0.03937007874016
ANGULAR_UNITS =         1.0
CYCLE_TIME =            0.010
DEFAULT_VELOCITY =      2.3
MAX_VELOCITY =          2.3
DEFAULT_ACCELERATION =  8
MAX_ACCELERATION =      8
PROBE_INDEX =           3
PROBE_POLARITY =        1

# Axes sections ---------------------------------------------------------------

# First axis
[AXIS_0]

TYPE =                          LINEAR
UNITS =                         0.03937007874016
HOME =                          0.000
MAX_VELOCITY =           	2.3
MAX_ACCELERATION =              8
P = 1000.000
I = 0.000
D = 0.000
FF0 = 0.000
FF1 = 0.000
FF2 = 0.000
BACKLASH = 0.000
BIAS = 0.000
MAX_ERROR = 0.000
DEADBAND = 0.0000
CYCLE_TIME =                    0.001000
INPUT_SCALE =                   10000    0
OUTPUT_SCALE = 10000.000 0.000
MIN_LIMIT =                     -30.0
MAX_LIMIT =                     30.0
MIN_OUTPUT =                    -30
MAX_OUTPUT =                    30
FERROR = 1.000
MIN_FERROR = 0.010
HOMING_VEL =                    0.1
SETUP_TIME = 			1
HOLD_TIME =			2
HOME_OFFSET =                   0.0

ENABLE_INDEX = x
ENABLE_POLARITY =               0

MIN_LIMIT_SWITCH_INDEX = 1
MIN_LIMIT_SWITCH_POLARITY =     0

MAX_LIMIT_SWITCH_INDEX = 0
MAX_LIMIT_SWITCH_POLARITY =     0

HOME_SWITCH_INDEX = 2
HOME_SWITCH_POLARITY =          1
HOMING_POLARITY =               1
JOGGING_POLARITY =              1

FAULT_INDEX = x
FAULT_POLARITY =                1

DIR_INDEX = 0
STEP_INDEX = 1

# Second axis
[AXIS_1]

TYPE =                          LINEAR
UNITS =                         0.03937007874016
HOME =                          0.000
MAX_VELOCITY =                  2.3
MAX_ACCELERATION =              8
P = 1000.000
I = 0.000
D = 0.000
FF0 = 0.000
FF1 = 0.000
FF2 = 0.000
BACKLASH = 0.000
BIAS = 0.000
MAX_ERROR = 0.000
DEADBAND = 0.0000
CYCLE_TIME =                    0.001000
INPUT_SCALE =                   10000    0
OUTPUT_SCALE = 10000 0.000
MIN_LIMIT =                     -12.0
MAX_LIMIT =                     12.0
MIN_OUTPUT =                    -12
MAX_OUTPUT =                    12
FERROR = 1.000
MIN_FERROR = 0.010
HOMING_VEL =                    0.1
SETUP_TIME = 			1
HOLD_TIME =			2
HOME_OFFSET =                   0.0

ENABLE_INDEX = x
ENABLE_POLARITY =               0

MIN_LIMIT_SWITCH_INDEX = 1
MIN_LIMIT_SWITCH_POLARITY =     0

MAX_LIMIT_SWITCH_INDEX = 0
MAX_LIMIT_SWITCH_POLARITY =     0

HOME_SWITCH_INDEX = 2
HOME_SWITCH_POLARITY =          1
HOMING_POLARITY =               1
JOGGING_POLARITY =              1

FAULT_INDEX = x
FAULT_POLARITY =                1

DIR_INDEX = 2
STEP_INDEX = 3

# Third axis
[AXIS_2]

TYPE =                          LINEAR
UNITS =                         0.03937007874016
HOME =                          0.000
MAX_VELOCITY =                  .9
MAX_ACCELERATION =              3
P = 1000.000
I = 0.000
D = 0.000
FF0 = 0.000
FF1 = 0.000
FF2 = 0.000
BACKLASH = 0.000
BIAS = 0.000
MAX_ERROR = 0.000
DEADBAND = 0.0000
CYCLE_TIME =                    0.001000
INPUT_SCALE =                   -10000    0
OUTPUT_SCALE = -10000 0.000
MIN_LIMIT =                     -7.0
MAX_LIMIT =                     7.0
MIN_OUTPUT =                    -7
MAX_OUTPUT =                    7
FERROR = 1.000
MIN_FERROR = 0.010
HOMING_VEL =                    0.1
SETUP_TIME = 			1
HOLD_TIME =			2
HOME_OFFSET =                   0.0

ENABLE_INDEX = x
ENABLE_POLARITY =               0

MIN_LIMIT_SWITCH_INDEX = 1
MIN_LIMIT_SWITCH_POLARITY =     0

MAX_LIMIT_SWITCH_INDEX = 0
MAX_LIMIT_SWITCH_POLARITY =     0

HOME_SWITCH_INDEX = 2
HOME_SWITCH_POLARITY =          1
HOMING_POLARITY =               1
JOGGING_POLARITY =              1

FAULT_INDEX = x
FAULT_POLARITY =                1

DIR_INDEX = 4
STEP_INDEX = 5

# section for main IO controller parameters -----------------------------------
[EMCIO]

# Name of IO controller program, e.g., bridgeportio
# EMCIO =                 bridgeportio
EMCIO =               minimillio
# EMCIO =               simio

# cycle time, in seconds
CYCLE_TIME =    0.100

# tool table file
TOOL_TABLE =    emc.tbl

# address for parallel port used for auxiliary IO
IO_BASE_ADDRESS =    0x378

# wait times in seconds for spindle brake, release
SPINDLE_OFF_WAIT          =     1.0
SPINDLE_ON_WAIT           =     1.5

# external digital inputs, outputs are always 0 for 0V, 1 for 5/24V

# digital in bits

ESTOP_SENSE_INDEX         =     1
LUBE_SENSE_INDEX          =     2

# digital in polarity, 0 is inverted, 1 is normal
# controller compares with polarity, equal means on, not equal means off

ESTOP_SENSE_POLARITY      =     0
LUBE_SENSE_POLARITY       =     1

# digital out bits

SPINDLE_FORWARD_INDEX     =     1
SPINDLE_REVERSE_INDEX     =     0
MIST_COOLANT_INDEX        =     6
FLOOD_COOLANT_INDEX       =     7
SPINDLE_DECREASE_INDEX    =     8
SPINDLE_INCREASE_INDEX    =     9
ESTOP_WRITE_INDEX         =     10
SPINDLE_BRAKE_INDEX       =     11
LUBE_WRITE_INDEX          =     5

# analog out bits

SPINDLE_ON_INDEX          =     3
MIN_VOLTS_PER_RPM         =     -0.001
MAX_VOLTS_PER_RPM         =     0.001042

# digital out polarity, 0 is inverted, 1 is normal
# controller writes the polarity to turn on, opposite of polarity to turn off

SPINDLE_FORWARD_POLARITY  =     0
SPINDLE_REVERSE_POLARITY  =     0
MIST_COOLANT_POLARITY     =     0
FLOOD_COOLANT_POLARITY    =     0
SPINDLE_DECREASE_POLARITY =     1
SPINDLE_INCREASE_POLARITY =     1
ESTOP_WRITE_POLARITY      =     1
SPINDLE_BRAKE_POLARITY    =     0
SPINDLE_ENABLE_POLARITY   =     1
SPINDLE_BRAKE_INDEX       =     11
LUBE_WRITE_POLARITY       =     1


# section for external NML server parameters ----------------------------------
[EMCSERVER]

# Name of NML server, e.g., emcsvr# if not found then none will run
# EMCSERVER =           emcsvr









More information about the Bdi4emc-help mailing list