M Codes For Open/Close Chuck
Moderator: cnckeith
-
- Posts: 29
- Joined: Fri Apr 05, 2019 2:59 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
M Codes For Open/Close Chuck
Hi,
I'm setting up my Acorn and am trying to set my m14 and m16 to control a hydraulic chuck. The wizard tells me to use parameter 992 to set the timer, the parameter isn't changing the amount of time it takes to shut off the input.
Is there a way I can easily modify this? what I'd like to to do is stay active for 1.5 seconds and then shut off automatically.
Thanks
Also, the wizard says to use a M17 to turn off the output after commanding an M16. M17 causes an error?
I'm setting up my Acorn and am trying to set my m14 and m16 to control a hydraulic chuck. The wizard tells me to use parameter 992 to set the timer, the parameter isn't changing the amount of time it takes to shut off the input.
Is there a way I can easily modify this? what I'd like to to do is stay active for 1.5 seconds and then shut off automatically.
Thanks
Also, the wizard says to use a M17 to turn off the output after commanding an M16. M17 causes an error?
-
- Posts: 9915
- Joined: Tue Mar 28, 2017 12:01 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Mesa, AZ
Re: M Codes For Open/Close Chuck
Please follow this post for better assistance.eflor8234 wrote: ↑Fri Apr 05, 2019 3:13 pm Hi,
I'm setting up my Acorn and am trying to set my m14 and m16 to control a hydraulic chuck. The wizard tells me to use parameter 992 to set the timer, the parameter isn't changing the amount of time it takes to shut off the input.
Is there a way I can easily modify this? what I'd like to to do is stay active for 1.5 seconds and then shut off automatically.
Thanks
Also, the wizard says to use a M17 to turn off the output after commanding an M16. M17 causes an error?
viewtopic.php?f=60&t=1043
Hint: ALWAYS include a report in your support requests. Without it and other information, you may not get much if any help.
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
We can't "SEE" what you see...
Mesa, AZ
-
- Posts: 29
- Joined: Fri Apr 05, 2019 2:59 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: M Codes For Open/Close Chuck
Thanks, Marty. I'll be with the machine later today and will pull the report.
-
- Posts: 29
- Joined: Fri Apr 05, 2019 2:59 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: M Codes For Open/Close Chuck
Created this report. Also, it looks like my m9 has gone missing. Anyway I can simply load this back in? I modified it to use for m17 and thought I had saved the original...I guess not.
When I use M16 in the mdi and try to use it in the program it holds up on "311 Waiting for Memory #232 (M101)"
Thanks
When I use M16 in the mdi and try to use it in the program it holds up on "311 Waiting for Memory #232 (M101)"
Thanks
- Attachments
-
- report_74E1829FF44A-0311191748_2019-04-07_12-16-04.zip
- (218.52 KiB) Downloaded 153 times
-
- Posts: 9915
- Joined: Tue Mar 28, 2017 12:01 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Mesa, AZ
Re: M Codes For Open/Close Chuck
I have asked Centroid to look at the macros
Did you have this running on 4.12? Or is this a new install?
Did you have this running on 4.12? Or is this a new install?
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
We can't "SEE" what you see...
Mesa, AZ
-
- Posts: 29
- Joined: Fri Apr 05, 2019 2:59 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: M Codes For Open/Close Chuck
It's a new install.
I reinstalled this afternoon, same thing.
Thanks
I reinstalled this afternoon, same thing.
Thanks
Re: M Codes For Open/Close Chuck
The time in Parameter 992 is in milliseconds. Enter 1500 for 1.5 seconds.
-
- Posts: 29
- Joined: Fri Apr 05, 2019 2:59 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: M Codes For Open/Close Chuck
Still getting the same display that says it's waiting for memory. If I drop it below 1.000 the input activates for a very short period of time and then shuts off. Anything over.99999 and it doesn't complete the mdi, it also won't run as code.
-
- Posts: 354
- Joined: Wed Jan 23, 2019 4:19 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 80F5B5B92C3A-0213236854
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: M Codes For Open/Close Chuck
Why not just use a G4 pause command in the macro and give it the time frame you want? I don't see the need to go to the param 992. Replace that line with G4 P1.5 and that should give you a 1.5 second pause.
Ken
-
- Posts: 181
- Joined: Thu May 17, 2018 8:19 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
Re: M Codes For Open/Close Chuck
Looking at the Macro's in your report I don't think you have your outputs configured correctly.
Try testing by leaving the output set as OUTPUT#
Then using a,
M94 /61 ;to open output 1.... 62 for out2 etc
To close output use,
M95 /61 ;to close output 1
or you can use a M61 & M81 directly.
Try testing by leaving the output set as OUTPUT#
Then using a,
M94 /61 ;to open output 1.... 62 for out2 etc
To close output use,
M95 /61 ;to close output 1
or you can use a M61 & M81 directly.