M6 REMAP ERROR
- marco@cheli.info
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
29 Aug 2023 12:31 #279277
by marco@cheli.info
M6 REMAP ERROR was created by marco@cheli.info
HiI'm trying to get my first three axis machine to work. I'm not able to understand why during auto tool
measurement (chapter 4.2.6) I receive this error message:
pycall(remap.change_prolog)failed
Seems to related to REMAP=M6 instance but I'm outing crazy because I don't find the way to solve the issue.
The problem maybe in the stdglue.py file copied from /usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy of the iso linuxcnc-2.7.14-wheezy.iso image
Please can someone help me?
Thanks for the attention
marco c.
measurement (chapter 4.2.6) I receive this error message:
pycall(remap.change_prolog)failed
Seems to related to REMAP=M6 instance but I'm outing crazy because I don't find the way to solve the issue.
The problem maybe in the stdglue.py file copied from /usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy of the iso linuxcnc-2.7.14-wheezy.iso image
Please can someone help me?
Thanks for the attention
marco c.
Please Log in or Create an account to join the conversation.
29 Aug 2023 12:56 - 29 Aug 2023 12:58 #279280
by Aciera
Replied by Aciera on topic M6 REMAP ERROR
Make sure that all .py files are marked as executable.
Right click on the file -> Properties -> permissions (or something similar)
[edit]
Just to be clear, are you actually working with inuxcnc-2.7.14-wheezy or is that only where the file came from?
Right click on the file -> Properties -> permissions (or something similar)
[edit]
Just to be clear, are you actually working with inuxcnc-2.7.14-wheezy or is that only where the file came from?
Last edit: 29 Aug 2023 12:58 by Aciera.
Please Log in or Create an account to join the conversation.
- marco@cheli.info
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
29 Aug 2023 13:38 #279282
by marco@cheli.info
Replied by marco@cheli.info on topic M6 REMAP ERROR
Thanks for your reply
Yes all files in python folder are executable (now) but the problem persists
I'm using linuxcnc 2.7.15, there was an automatic update after first startup
marco
Yes all files in python folder are executable (now) but the problem persists
I'm using linuxcnc 2.7.15, there was an automatic update after first startup
marco
Please Log in or Create an account to join the conversation.
29 Aug 2023 13:51 #279284
by Aciera
Replied by Aciera on topic M6 REMAP ERROR
can you please post your ini file?
Please Log in or Create an account to join the conversation.
- marco@cheli.info
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
29 Aug 2023 14:03 #279286
by marco@cheli.info
Replied by marco@cheli.info on topic M6 REMAP ERROR
Hereafter
thanks
# Generated by stepconf 1.1 at Sat Aug 19 10:43:20 2023
# If you make changes to this file, they will be
# overwritten when you run stepconf again
[EMC]
MACHINE = FRESA
DEBUG = 0
[DISPLAY]
DISPLAY = gmoccapy
PREFERENCE_FILE_PATH = gmoaccapy_preferences
DEFAULT_LINEAR_VELOCITY =166.666
MAX_LINEAR_VELOCITY = 166.666
MAX_FEED_OVERRIDE = 1.5
MAC_SPINDLE_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
PROGRAM_PREFIX = /home/pi/linuxcnc/nc_files
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
MAX_FEED_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
MAX_SPINDLE_OVERRIDE = 1.2
DEFAULT_LINEAR_VELOCITY = 2.50
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 25.00
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/pi/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
[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 = linuxcnc.var
SUBROUTINE_PATH = macros
FEATURES=12
ON_ABORT_COMMAND=O <on_abort> call
REMAP=M6 modalgroup=6 prolog=change_prolog ngc=change epilog=change_epilog
[PYTHON]
PATH_PREPEND = python
TOPTRAVEL = python/toplevel.py
[TOOLSENSOR]
X = 85
Y = 180
Z = 140
MAXPROBE = -20
[CHANGE_POSITION]
X = 180
Y = 180
Z = 180
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 100000
SERVO_PERIOD = 1000000
[HAL]
HALFILE = FRESA.hal
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal
[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 2.50
MAX_VELOCITY = 25.00
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
[AXIS_0]
TYPE = LINEAR
HOME = 195.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 80.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = 0.0
MAX_LIMIT = 200.0
HOME_OFFSET = 199.000000
HOME_SEARCH_VEL = 20.000000
HOME_LATCH_VEL = 6.250000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
[AXIS_1]
TYPE = LINEAR
HOME = 195.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 80.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = 0.0
MAX_LIMIT = 200.0
HOME_OFFSET = 199.000000
HOME_SEARCH_VEL = 20.000000
HOME_LATCH_VEL = 6.250000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2
[AXIS_2]
TYPE = LINEAR
HOME = 195.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 80.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = 0.0
MAX_LIMIT = 200.0
HOME_OFFSET = 199.000000
HOME_SEARCH_VEL = 20.000000
HOME_LATCH_VEL = 6.250000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
thanks
# Generated by stepconf 1.1 at Sat Aug 19 10:43:20 2023
# If you make changes to this file, they will be
# overwritten when you run stepconf again
[EMC]
MACHINE = FRESA
DEBUG = 0
[DISPLAY]
DISPLAY = gmoccapy
PREFERENCE_FILE_PATH = gmoaccapy_preferences
DEFAULT_LINEAR_VELOCITY =166.666
MAX_LINEAR_VELOCITY = 166.666
MAX_FEED_OVERRIDE = 1.5
MAC_SPINDLE_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
PROGRAM_PREFIX = /home/pi/linuxcnc/nc_files
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
MAX_FEED_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
MAX_SPINDLE_OVERRIDE = 1.2
DEFAULT_LINEAR_VELOCITY = 2.50
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 25.00
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/pi/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
[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 = linuxcnc.var
SUBROUTINE_PATH = macros
FEATURES=12
ON_ABORT_COMMAND=O <on_abort> call
REMAP=M6 modalgroup=6 prolog=change_prolog ngc=change epilog=change_epilog
[PYTHON]
PATH_PREPEND = python
TOPTRAVEL = python/toplevel.py
[TOOLSENSOR]
X = 85
Y = 180
Z = 140
MAXPROBE = -20
[CHANGE_POSITION]
X = 180
Y = 180
Z = 180
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 100000
SERVO_PERIOD = 1000000
[HAL]
HALFILE = FRESA.hal
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal
[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 2.50
MAX_VELOCITY = 25.00
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
[AXIS_0]
TYPE = LINEAR
HOME = 195.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 80.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = 0.0
MAX_LIMIT = 200.0
HOME_OFFSET = 199.000000
HOME_SEARCH_VEL = 20.000000
HOME_LATCH_VEL = 6.250000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
[AXIS_1]
TYPE = LINEAR
HOME = 195.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 80.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = 0.0
MAX_LIMIT = 200.0
HOME_OFFSET = 199.000000
HOME_SEARCH_VEL = 20.000000
HOME_LATCH_VEL = 6.250000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2
[AXIS_2]
TYPE = LINEAR
HOME = 195.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 80.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = 0.0
MAX_LIMIT = 200.0
HOME_OFFSET = 199.000000
HOME_SEARCH_VEL = 20.000000
HOME_LATCH_VEL = 6.250000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
Please Log in or Create an account to join the conversation.
29 Aug 2023 14:15 #279288
by Aciera
Replied by Aciera on topic M6 REMAP ERROR
You have a typo in the [PYTHON] section of your ini. Try changing:
TOPTRAVEL = python/toplevel.py
to
TOPLEVEL = python/toplevel.py
TOPTRAVEL = python/toplevel.py
to
TOPLEVEL = python/toplevel.py
Please Log in or Create an account to join the conversation.
- marco@cheli.info
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
29 Aug 2023 14:32 #279289
by marco@cheli.info
Replied by marco@cheli.info on topic M6 REMAP ERROR
I'm really stupid...
sorry
something is changed but may be present some other stupid think I made...
linuxcnc starts but gmoccapy doesn't appare....
thanks
sorry
something is changed but may be present some other stupid think I made...
linuxcnc starts but gmoccapy doesn't appare....
thanks
Please Log in or Create an account to join the conversation.
- marco@cheli.info
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
29 Aug 2023 14:35 #279290
by marco@cheli.info
Replied by marco@cheli.info on topic M6 REMAP ERROR
Sorry ...
Now seems to be all OK
thanks
Now seems to be all OK
thanks
Please Log in or Create an account to join the conversation.
29 Aug 2023 14:37 #279291
by Aciera
Replied by Aciera on topic M6 REMAP ERROR
No problem, glad you got it working.
The following user(s) said Thank You: tommylight, zz912
Please Log in or Create an account to join the conversation.
Time to create page: 0.087 seconds