M19 command in Acorn

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

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

M19 command in Acorn

Post by mick41zxr »

Trying to get my head around M19 command in preparation for toolchanger setup in a small 3 axis VMC.
I have the spindle setup with spindle orient on output7 & position complete on input 5, orientation position is controlled by the driver.
Input-Output.jpg
The spindle orients successfully but the system hangs waiting for memory bit #240 to change state (I think).
Alt-I screen shows input 5 closing but memory #240 doesn't change state.
Debug1.jpg
Debug2.jpg
If I cancel the command or hit reset the spindle remains locked. Only way to unlock the spindle is to power down Acorn & restart.
Is there something I am missing, or a command system is waiting for?
Thanks,
Michael
report_F045DA486298-0813181135_2019-03-21_16-32-32.zip
(239.97 KiB) Downloaded 134 times
Centroid_Tech
Posts: 286
Joined: Thu Mar 18, 2010 2:24 pm

Re: M19 command in Acorn

Post by Centroid_Tech »

You're using the incorrect input. The photo shows that you have assigned input 5 as SpindleIsLocked but it should be assigned to SpindleIsOriented.

I also see that this doesn't have the correct custom macros. Please copy the attached macros into the c:\cncm directory.
Attachments
mfunc20.mac
(629 Bytes) Downloaded 131 times
mfunc19.mac
(705 Bytes) Downloaded 144 times
mfunc16.mac
(606 Bytes) Downloaded 136 times
mfunc15.mac
(804 Bytes) Downloaded 126 times
When requesting support, please ALWAYS post a current report. Find out how to take a report from your Acorn, CNC11 or CNC10 system here: https://www.youtube.com/watch?v=Ecvg0VJp1oQ.

If your question is PLC, Macro or program related, please also post a copy of the program or macro as well.

Without the above information we may not be able to help and/or reply until the required information is posted..
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: M19 command in Acorn

Post by mick41zxr »

Thankyou.
I have used those macro's however with the M15 M16 I could not get the system to recognise tool unclamp. Left output defined as output 8 & used M94 /68 instead.
With the M19 command it is no longer locking the outputs but system is not recognising memory bit 13. Should I be using 50005 instead?
IMG_1909.jpg
https://youtu.be/TaSKE6PtUiA
mfunc19.mac
(754 Bytes) Downloaded 127 times
Thanks,
Michael
Edit: I tried M101 /50005 to no avail, I do not think that the macro is moving from the M94 /19 command.
report_F045DA486298-0813181135_2019-03-23_15-54-25.zip
(241.88 KiB) Downloaded 112 times
Post Reply