I've been doing some air cuts on the saw beveler the last couple of afternoons, using a pretty simple g code file called test_strip.ngc (attached). As soon as I hit the run button, a message window pops up saying "Program exceeds machine negative minimum on Axis Z" and gives me two options, to cancel the operation, or to continue despite.

My modus operandi:

Home the axes
touch off the X and Z axes (only two I have on the machine) and enter those numbers as G55 values.

Run program, message pops up, I hit continue, and the machine goes along on it's merry way, not exceeding or even coming close to the machine hard limits.

I don't have soft limits set up currently. How is EMC determining that the the minimum is being exceeded? If I really am exceeding the minimum (according to EMC, what do I need to do to fix this so it doesn't happen - ie, ini file, g code, procedures getting ready to cut [am I doing something wrong with touch off, or not understanding how the G5x parameter really works?], or anything else I can't think of?).

Attached is the test_strip.ngc, my ini file and emc.var.

Thanks,
Mark
(My first attempt at writing G Code for bamboo fishin' poles)
G18 G20 G40 G49 G54 G80 G90 G94
G55 G0 X0 Z0
G1 F40 X1 Z-.0640
G1 F40 X2 Z-.0662
G1 F40 X3 Z-.0684
G1 F40 X4 Z-.0706
G1 F40 X5 Z-.0728
G1 F40 X6 Z-.0750
G1 F40 X7 Z-.0780
G1 F40 X8 Z-.0810
G1 F40 X9 Z-.0840
G1 F40 X10 Z-.0840
G1 F40 X11 Z-.0840

G55 G0 Z0
(G4 P2)
G55 G0 X0

M2
# Generated by stepconf at Sat Mar 13 15:20:58 2010
# If you make changes to this file, they will be
# overwritten when you run stepconf again

[EMC]
MACHINE = Cane-Cutter
DEBUG = 0

[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 1.2
INTRO_GRAPHIC = emc2.gif
INTRO_TIME = 2
PROGRAM_PREFIX = /home/mark/emc2/nc_files
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
PYVCP = custompanel.xml

[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[RS274NGC]
PARAMETER_FILE = emc.var

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 31250
SERVO_PERIOD = 1000000

[HAL]
HALUI = halui
HALFILE = Cane-Cutter.hal
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal

[HALUI]
# add halui MDI commands here (max 64) 

[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 0.30
#MAX_LINEAR_VELOCITY = 3.00
MAX_LINEAR_VELOCITY = 2.00

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

[AXIS_0]
TYPE = LINEAR
HOME = 0.0
#MAX_VELOCITY = 4.0
#MAX_ACCELERATION = 20.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 20.0
STEPGEN_MAXACCEL = 25.0
#SCALE = 1527.8838816
SCALE = 6111.5355264
FERROR = 0.05
MIN_FERROR = 0.01
#MIN_LIMIT = -0.4946
#MAX_LIMIT = 56.27
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -0.40000
HOME_LATCH_VEL = 0.050000

[AXIS_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 0.06
MAX_ACCELERATION = 3.0
STEPGEN_MAXACCEL = 3.3
SCALE = -48000.0
FERROR = 0.05
MIN_FERROR = 0.01
#MIN_LIMIT = -0.242
#MAX_LIMIT = 2.4472
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -0.050000
HOME_LATCH_VEL = 0.010417
5161    0.000000
5162    0.000000
5163    0.000000
5164    0.000000
5165    0.000000
5166    0.000000
5167    0.000000
5168    0.000000
5169    0.000000
5181    0.000000
5182    0.000000
5183    0.000000
5184    0.000000
5185    0.000000
5186    0.000000
5187    0.000000
5188    0.000000
5189    0.000000
5211    0.000000
5212    0.000000
5213    0.000000
5214    0.000000
5215    0.000000
5216    0.000000
5217    0.000000
5218    0.000000
5219    0.000000
5220    2.000000
5221    0.000000
5222    0.000000
5223    -0.000000
5224    0.000000
5225    0.000000
5226    0.000000
5227    0.000000
5228    0.000000
5229    0.000000
5230    0.000000
5241    1.000000
5242    0.000000
5243    -2.251949
5244    0.000000
5245    0.000000
5246    0.000000
5247    0.000000
5248    0.000000
5249    0.000000
5250    0.000000
5261    0.000000
5262    0.000000
5263    0.000000
5264    0.000000
5265    0.000000
5266    0.000000
5267    0.000000
5268    0.000000
5269    0.000000
5270    0.000000
5281    0.000000
5282    0.000000
5283    0.000000
5284    0.000000
5285    0.000000
5286    0.000000
5287    0.000000
5288    0.000000
5289    0.000000
5290    0.000000
5301    0.000000
5302    0.000000
5303    0.000000
5304    0.000000
5305    0.000000
5306    0.000000
5307    0.000000
5308    0.000000
5309    0.000000
5310    0.000000
5321    0.000000
5322    0.000000
5323    0.000000
5324    0.000000
5325    0.000000
5326    0.000000
5327    0.000000
5328    0.000000
5329    0.000000
5330    0.000000
5341    0.000000
5342    0.000000
5343    0.000000
5344    0.000000
5345    0.000000
5346    0.000000
5347    0.000000
5348    0.000000
5349    0.000000
5350    0.000000
5361    0.000000
5362    0.000000
5363    0.000000
5364    0.000000
5365    0.000000
5366    0.000000
5367    0.000000
5368    0.000000
5369    0.000000
5370    0.000000
5381    0.000000
5382    0.000000
5383    0.000000
5384    0.000000
5385    0.000000
5386    0.000000
5387    0.000000
5388    0.000000
5389    0.000000
5390    0.000000
------------------------------------------------------------------------------

_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to