M Codes For Open/Close Chuck

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

eflor8234
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

Post by eflor8234 »

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?
martyscncgarage
Posts: 9914
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

Post by martyscncgarage »

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?
Please follow this post for better assistance.
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
eflor8234
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

Post by eflor8234 »

Thanks, Marty. I'll be with the machine later today and will pull the report.
eflor8234
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

Post by eflor8234 »

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
Attachments
report_74E1829FF44A-0311191748_2019-04-07_12-16-04.zip
(218.52 KiB) Downloaded 153 times
martyscncgarage
Posts: 9914
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

Post by martyscncgarage »

I have asked Centroid to look at the macros
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
eflor8234
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

Post by eflor8234 »

It's a new install.

I reinstalled this afternoon, same thing.

Thanks
cncsnw
Posts: 3855
Joined: Wed Mar 24, 2010 5:48 pm

Re: M Codes For Open/Close Chuck

Post by cncsnw »

The time in Parameter 992 is in milliseconds. Enter 1500 for 1.5 seconds.
eflor8234
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

Post by eflor8234 »

cncsnw wrote: Sun Apr 07, 2019 4:26 pm The time in Parameter 992 is in milliseconds. Enter 1500 for 1.5 seconds.
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.
Ken Rychlik
Posts: 353
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

Post by Ken Rychlik »

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
mick41zxr
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

Post by mick41zxr »

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.
Post Reply