- Posts: 142
- Thank you received: 0
REMAP M6 function doesn't work
2 years 9 months ago #289507
by greg23_78
REMAP M6 function doesn't work was created by greg23_78
Hello,
I'd like to start by wishing you a very happy new year.
I tried to work on my cnc this weekend but I ran into a few problems remapping the M6 function.
1st problem :
when I start axis, it tells me some pin doesn't exist ( toolchange_index.hal)
motion.digital-out-04
motion.digital-out-05
motion.digital-in-04
motion.digital-in-05
motion.digital-in-06
motion.digital-in-07
motion.digital-in-08
motion.digital-in-09
then the motion.digital-in/out-00.01.02.03 will not display an error
2nd problem
when axis starts up, it shows me this error below
Hal file
INI file
HAL toolchange file
NGC file
would anyone know where the errors come from?
I'd like to start by wishing you a very happy new year.
I tried to work on my cnc this weekend but I ran into a few problems remapping the M6 function.
1st problem :
when I start axis, it tells me some pin doesn't exist ( toolchange_index.hal)
motion.digital-out-04
motion.digital-out-05
motion.digital-in-04
motion.digital-in-05
motion.digital-in-06
motion.digital-in-07
motion.digital-in-08
motion.digital-in-09
then the motion.digital-in/out-00.01.02.03 will not display an error
2nd problem
when axis starts up, it shows me this error below
Attachment not found
Hal file
Attachment not found
INI file
Attachment not found
HAL toolchange file
Attachment not found
NGC file
Attachment not found
would anyone know where the errors come from?
Please Log in to join the conversation.
2 years 9 months ago #289536
by cmorley
Replied by cmorley on topic REMAP M6 function doesn't work
can you post the pre and post epilog files?
Please Log in to join the conversation.
2 years 9 months ago #289597
by greg23_78
Replied by greg23_78 on topic REMAP M6 function doesn't work
I have just RESOLVED on the error message, I had forgotten to insert a few lines of code in my INI program .
but I still have the same problem with input output M64 M65 M66
in attachments my stdglue.py file
Code:
[PYTHON]
TOPLEVEL=./toplevel.py
PATH_APPEND= ./
PATH_APPEND= ./stdglue.py
but I still have the same problem with input output M64 M65 M66
in attachments my stdglue.py file
Please Log in to join the conversation.
2 years 9 months ago #289600
by Aciera
Replied by Aciera on topic REMAP M6 function doesn't work
You might need to increase the number of digital I/O:
linuxcnc.org/docs/html/man/man9/motion.9.html
forum.linuxcnc.org/38-general-linuxcnc-q...ng-digital-i-o#33203
linuxcnc.org/docs/html/man/man9/motion.9.html
forum.linuxcnc.org/38-general-linuxcnc-q...ng-digital-i-o#33203
Please Log in to join the conversation.
Time to create page: 0.118 seconds
