Here is a copy of my INI file for this machine, showing the remapped codes,
On 7/15/2015 11:53 AM, Sebastian Kuzminsky wrote:
Your M-codes are poking Motion pins that don't exist in LinuxCNC.
You must be using some other version, or be using some local patches, or
something. That will make this hard for anyone but you to debug.
On 7/15/15 9:36 AM, Rick Lair wrote:
Here are the codes,
And you are correct, bytes not kilobytes,
On 7/15/2015 11:20 AM, Sebastian Kuzminsky wrote:
On 7/15/15 8:54 AM, Rick Lair wrote:
Hello Seb,
I have been working on this all week, I have run this program numerous
times on my simulator test PC in my office without any issue, as soon as
I try to run it on the machine, it gives us this fault. This morning I
made a new config using the Axis GUI, and it gives us the same fault,
(we are running Gmoccapy on our turning centers, and wanted to make sure
it wasn't a GUI issue).
Which version of LinuxCNC are you using?
The only thing different between my test PC, and the machines are the
added m-codes for the gear change, and for the tail stock commands, and
we use the TXXYY tool change format on the lathes, so I modified the
g-code program to eliminate the m-codes for the gear change, and
tailstock, and change the tool changes to the MxTy format.
I take it this means your real machine (where you see the problem) uses
remapping?
Please post your remapped g-codes.
It doesn't matter which section he removes though ( no one section would
specifically give or not give the fault ), the only thing we have found
was program size made a difference, The main program is 367 lines long
6736 KB's, if it was kept under about 260 lines, or 5KB's
Interesting. (I think you meant 6736 bytes, not kilobytes.)
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Thanks
Rick Lair
Superior Roll & Turning LLC
399 East Center Street
Petersburg MI, 49270
PH: 734-279-1831
FAX: 734-279-1166
www.superiorroll.com
# General note: Comments can either be preceded with a # or ; - either is
# acceptable, although # is in keeping with most linux config files.
# General section -------------------------------------------------------------
[EMC]
VERSION = $Revision$
MACHINE = 15CC
DEBUG = 0x7FFFFFFF
[DISPLAY]
DISPLAY = gmoccapy
LATHE = 1
BACK_TOOL_LATHE = 1
PREFERENCE_FILE_PATH = ~/.gmoccapy_preferences
CYCLE_TIME = 90
MAX_SPINDLE_OVERRIDE = 1
MIN_SPINDLE_OVERRIDE = 1
MAX_FEED_OVERRIDE = 1.5
MIN_FEED_OVERRIDE = 0
MAX_LINEAR_VELOCITY = 1.5
DEFAULT_LINEAR_VELOCITY = 1
DEFAULT_ANGULAR_VELOCITY = 0.25
MAX_ANGULAR_VELOCITY = 1.00
MIN_ANGULAR_VELOCITY = 0.01
INCREMENTS = .0001, .0010, .0100, .1000, 1.0000
LATHE = true
PROGRAM_PREFIX = /home/cinci15cc/linuxcnc/nc_files
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
TOOL_EDITOR
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_RAPID_OVERIDE = 1
MIN_RAPID_OVERIDE = .3
# USER MESSAGES
#MESSAGE_BOLDTEXT = NONE
#MESSAGE_TEXT = This is a yes no dialog test
#MESSAGE_TYPE = yesnodialog
#MESSAGE_PINNAME = yndialogtest
#MESSAGE_BOLDTEXT = This is the short text
#MESSAGE_TEXT = This is the longer text of the both type test. It can be longer
then the status bar text
#MESSAGE_TYPE = okdialog status
#MESSAGE_PINNAME = bothtest
#MESSAGE_BOLDTEXT = NONE
#MESSAGE_TEXT =
#MESSAGE_TYPE = status
#MESSAGE_PINNAME =
MESSAGE_BOLDTEXT = LUBE SYSTEM FAULT
MESSAGE_TEXT = LUBE FAULT
MESSAGE_TYPE = okdialog
MESSAGE_PINNAME = lube-fault
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = X SHEAR PIN BROKEN
MESSAGE_TYPE = status
MESSAGE_PINNAME = xpin
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = Z SHEAR PIN BROKEN
MESSAGE_TYPE = status
MESSAGE_PINNAME = zpin
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = Z MOTOR OVERTEMP
MESSAGE_TYPE = status
MESSAGE_PINNAME = ztemp
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = X MOTOR OVERTEMP
MESSAGE_TYPE = status
MESSAGE_PINNAME = xtemp
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = SPINDLE MOTOR OVERTEMP
MESSAGE_TYPE = status
MESSAGE_PINNAME = spindle-temp
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = X MOTOR OVERLOAD
MESSAGE_TYPE = status
MESSAGE_PINNAME = xoverload
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = Z MOTOR OVERLOAD
MESSAGE_TYPE = status
MESSAGE_PINNAME = zoverload
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = SPINDLE MOTOR OVERLOAD
MESSAGE_TYPE = status
MESSAGE_PINNAME = spoverload
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = HYDRAULIC FILTER BYPASSING
MESSAGE_TYPE = status
MESSAGE_PINNAME = filter-bypass
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = HEAT EXCHANGER MOTOR OVERLOAD
MESSAGE_TYPE = status
MESSAGE_PINNAME = heat-exchanger
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = COOLANT MOTOR OVERLOAD
MESSAGE_TYPE = status
MESSAGE_PINNAME = coolant-motor
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = HYDRAULIC PUMP MOTOR OVERLOAD
MESSAGE_TYPE = status
MESSAGE_PINNAME = hydraulic-pump
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = CHIP CONVEYOR MOTOR OVERLOAD
MESSAGE_TYPE = status
MESSAGE_PINNAME = chip-conveyor
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = SPINDLE BLOWER MOTOR OVERLOAD
MESSAGE_TYPE = status
MESSAGE_PINNAME = spindle-blower
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = LUBE OIL TANK LOW
MESSAGE_TYPE = status
MESSAGE_PINNAME = lube-oil
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = SPINDLE FAULT
MESSAGE_TYPE = status
MESSAGE_PINNAME = spindle-fault
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = SPINDLE LUBE OIL HIGH TEMP
MESSAGE_TYPE = status
MESSAGE_PINNAME = spindle-oil
MESSAGE_BOLDTEXT = NONE
MESSAGE_TEXT = SPINDLE LUBE PRESSURE LOW
MESSAGE_TYPE = status
MESSAGE_PINNAME = spindle-pressure
MESSAGE_BOLDTEXT = TURRET MALFUNCTION
MESSAGE_TEXT = Turret Lost Position. Perform MDI tool call based upon what
position Tool Turret stopped at.
MESSAGE_TYPE = okdialog
MESSAGE_PINNAME = turret-lost
MESSAGE_BOLDTEXT = INITIALIZE
MESSAGE_TEXT = INITIALIZE CHUCK AND TAILSTOCK PRIOR TO OPERATION
MESSAGE_TYPE = okdialog
MESSAGE_PINNAME = init-chuck
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
PROGRAM_EXTENSION = .NGC XYZ Post Processor
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
TASK = milltask
CYCLE_TIME = 0.010
[PYTHON]
TOPLEVEL= /home/cinci15cc/linuxcnc/python/toplevel.py
PATH_APPEND= /home/cinci15cc/linuxcnc/python
PYTHON_TASK = 1
[RS274NGC]
RS274NGC_STARTUP_CODE = G18 G7
PARAMETER_FILE = emc.var
SUBROUTINE_PATH = /home/cinci15cc/linuxcnc/nc_files
USER_M_PATH = /home/cinci15cc/linuxcnc/M_codes
LOG_LEVEL = 1
#FEATURES = 64
REMAP = T python=index_fanuc_lathe_tool
REMAP=M1 modalgroup=4 ngc=extend_m1
REMAP=M41 modalgroup=4 ngc=my41
REMAP=M42 modalgroup=4 ngc=my42
REMAP=M84 modalgroup=4 ngc=my84
REMAP=M85 modalgroup=4 ngc=my85
REMAP=M86 modalgroup=4 ngc=my86
REMAP=M87 modalgroup=4 ngc=my87
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
SERVO_PERIOD = 1500000
#SERVO_PERIOD = 5000000
[HOSTMOT2]
# **** This is for info only ****
# DRIVER0=hm2_pci
# BOARD0=5i23
CONFIG = sserial_port_0=0000xxxx num_resolvers=6 num_pwmgens=6 num_3pwmgens=0
num_stepgens=0
[HAL]
HALUI = halui
HALFILE = 15cc.hal
POSTGUI_HALFILE = postgui_call_list.hal
SHUTDOWN = shutdown.hal
[TRAJ]
MAX_VELOCITY = 8.000
MAX_ACCELERATION = 20
AXES = 3
COORDINATES = X Z
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
MAX_LINEAR_VELOCITY = 6.666
NO_FORCE_HOMING = 1
ARC_BLEND_ENABLE = 0
ARC_BLEND_FALLBACK_ENABLE = 0
ARC_BLEND_OPTIMIZATION_DEPTH = 50
ARC_BLEND_GAP_CYCLES = 4
ARC_BLEND_RAMP_FREQ = 100
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
TOOL_CHANGE_WITH_SPINDLE_ON = 1
#********************
# Axis X
#********************
[AXIS_0]
TYPE = LINEAR
HOME = 0.000
FERROR = .5
MIN_FERROR = .1
BACKLASH = 0.001
MAX_VELOCITY = 5
MAX_ACCELERATION = 15
P =4
I = 0.003
D = 0
FF0 = 0
FF1 = 0.5
FF2 = 0
BIAS = 0.006
DEADBAND = 1e-05
RESOLVER_SCALE = -0.20002
OUTPUT_SCALE = 6
MAX_OUTPUT = 7
MIN_LIMIT = -22.500
MAX_LIMIT = 0.000
HOME = -.250
HOME_OFFSET = 0.000
HOME_SEARCH_VEL = .333
HOME_LATCH_VEL = -0.1667
HOME_FINAL_VEL = .500
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = yes
#HOME_IS_SHARED = <N>
HOME_SEQUENCE = 0
VOLATILE_HOME = 0
#********************
# Axis Y
#********************
[AXIS_1]
TYPE = LINEAR
HOME = 0.000
FERROR = 999999
MIN_FERROR = 999999
MAX_VELOCITY = 5
#MAX_ACCELERATION = 100
RESOLVER_SCALE = 0.0
OUTPUT_SCALE = 0
MAX_OUTPUT = 0
MIN_LIMIT = 0
MAX_LIMIT = 0
#********************
# Axis Z
#********************
[AXIS_2]
TYPE = LINEAR
HOME = 0.0000
FERROR = 1.000
MIN_FERROR = .2
BACKLASH = 0.001
MAX_VELOCITY = 5.833
MAX_ACCELERATION = 15
P =5.5
I = 0.001
D = 0.01
FF0 = 0
FF1 = 0.35
FF2 = 0
BIAS = 0
DEADBAND = 0.000
RESOLVER_SCALE = -0.19998
OUTPUT_SCALE = 5
MAX_OUTPUT = 6.125
MIN_LIMIT = -40.750
MAX_LIMIT = 0.000
HOME = -.250
HOME_OFFSET = 0.0000
HOME_SEARCH_VEL = 0.333
HOME_LATCH_VEL = -0.1667
HOME_FINAL_VEL = .200
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = yes
#HOME_IS_SHARED = <N>
HOME_SEQUENCE = 1
VOLATILE_HOME = 0
#********************
# Spindle
#********************
[SPINDLE_9]
MAX_VELOCITY = 2240
MAX_ACCELERATION = 50
RESOLVER_SCALE = 1
OUTPUT_SCALE = 410
#465
MAX_OUTPUT = 10.0
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users