Refer 10.7.6 F6-Other and further F6 for M&G Code (image enclosed).....
Wish to know whether Intercon can accept Customized M codes - supported by mfuncxx.mac files - in the intercon program?
Can Intercon Support Custom M Codes....
Moderator: cnckeith
-
- Posts: 35
- Joined: Mon Nov 23, 2020 9:09 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
-
- Posts: 35
- Joined: Mon Nov 23, 2020 9:09 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: Can Intercon Support Custom M Codes....
Final target is to put these M Codes before and after the actual machining program built using standard shapes or built using DXF files.....
-
- Posts: 238
- Joined: Mon Nov 20, 2017 10:13 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Frenchville, PA
Re: Can Intercon Support Custom M Codes....
nandkishork59 wrote: ↑Mon Mar 15, 2021 8:34 am Refer 10.7.6 F6-Other and further F6 for M&G Code (image enclosed).....
Wish to know whether Intercon can accept Customized M codes - supported by mfuncxx.mac files - in the intercon program?
The answer is yes. But as the Warning states Any M & G codes entered here will be unrecognizable by Intercon. Careful consideration must be taken before using this function.nandkishork59 wrote: ↑Mon Mar 15, 2021 8:37 am Final target is to put these M Codes before and after the actual machining program built using standard shapes or built using DXF files.....
I use the F6 Other to call different sub programs and macros. For a rotary table calling out turning the clamp on and off. Calling subprograms that will do other cutting operations. You have to be careful about moves that are in the macro or subprogram that may cause positioning problems that Intercon will not recognize and position back to a previous position or a new portion that the tool may not clear.
Depending on the macro you may have to add in the macro an IF statement to skip the graphing and/or the search if searching to restart the program.
The IF statement would have to be added if you are waiting for input. Or if there is counter being down so this would keep it from indexing the counter if graphing or doing a run search.
IF [#4201 != 0 || #4202 != 0] THEN GOTO 999 ; Skip to N999 if in backplot or search mode The || is or
IF #4201 || #4202 THEN GOTO 999 ; does the same as above just a different way of expressing it. This express will do the THEN if not equal to zero.
I may explain this in to much detail, but for the novice just starting out the first express might be easier to understand. Once you got use to the IF expressions when you see the second express you will understand what it is looking for.
Dana
When requesting support, please ALWAYS post a current report.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
When requesting support, please ALWAYS post a current report.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61