REMAP M6 function doesn't work
- greg23_78
- Offline
- Premium Member
Less
More
- Posts: 134
- Thank you received: 5
01 Jan 2024 20:23 - 01 Jan 2024 21:58 #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
Hal file
INI file
HAL toolchange file
NGC file
would anyone know where the errors come from?
Attachments:
Last edit: 01 Jan 2024 21:58 by greg23_78.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7776
- Thank you received: 2073
02 Jan 2024 06:55 #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 or Create an account to join the conversation.
- greg23_78
- Offline
- Premium Member
Less
More
- Posts: 134
- Thank you received: 5
02 Jan 2024 20:36 #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
[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 or Create an account to join the conversation.
- Aciera
- Away
- Administrator
Less
More
- Posts: 4001
- Thank you received: 1728
02 Jan 2024 20:55 #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 or Create an account to join the conversation.
Time to create page: 0.077 seconds