M10 & M11 in latest cnc11
Moderator: cnckeith
-
- Posts: 66
- Joined: Wed Nov 16, 2011 5:50 pm
- Allin1DC CNC Controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: Yes
M10 & M11 in latest cnc11
In the latest CNC11 software an M11 code is automatically generated when the software is stopped or paused.Cant have this. M10 and M11 are the lathes spindle close and open respectfully. When the program stops it sends an M11 opening the chuck and the work piece falls out. How do I stop this.
Re: M10 & M11 in latest cnc11
CNC11 does not automatically execute an M11 code at program stop or pause, or any other time.
However, typical PLC programs do cancel the M10 request (which is typically the action of M11) when the program cycle stops running.
That is due to a block of PLC logic near the end of MainStage, something like this:
So if you delete the "RST M10" action (remembering also to remove the comma after "RST M7") and recompile, then it should leave M10 turned on even after the program has stopped running.
However, typical PLC programs do cancel the M10 request (which is typically the action of M11) when the program cycle stops running.
That is due to a block of PLC logic near the end of MainStage, something like this:
Code: Select all
;--M-Codes
; Reset these M-codes if not in CNC Program Running mode
IF !SV_PROGRAM_RUNNING
THEN RST M3,
RST M4,
RST M8,
RST M7,
RST M10
-
- Posts: 66
- Joined: Wed Nov 16, 2011 5:50 pm
- Allin1DC CNC Controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: Yes
Re: M10 & M11 in latest cnc11
Found it. That did it.
I was looking for M11 in the program. Did not thing of looking for a RST M10.
Thanks.
I was looking for M11 in the program. Did not thing of looking for a RST M10.
Thanks.