Is there by any chance a parameter that I can set which will constrain the sub program search of the main program to a folder within the same in closing folder?
▼Main Program Folder/
├── Main Program.cnc
└── ▼ Subprograms/
├── O9401.cnc
├── O9402.cnc
├── O9403.cnc
│ ...
└── O9412.cnc
This would help clean up my NC folder a lot.
Thanks!
User parameters
Moderator: cnckeith
-
- Posts: 6
- Joined: Mon May 01, 2023 5:17 pm
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: No
User parameters
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3536
- Joined: Tue Mar 22, 2016 10:03 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192 - DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Boston, MA
- Contact:
Re: User parameters
Parameter 4 controls the file loading options.
Cheers,
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Tech Support
- Posts: 126
- Joined: Wed Jan 29, 2025 9:39 am
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: User parameters
As far as I'm aware there's no way of changing the path it looks at specifically for subprograms.
I believe you're best option would be to call the subprogram as a path.
For example:
"subprogram_test.cnc" is in the ncfiles folder.
"O9102.cnc" is in the subprograms folder which I created inside the ncfiles folder.
I believe you're best option would be to call the subprogram as a path.
For example:
"subprogram_test.cnc" is in the ncfiles folder.
"O9102.cnc" is in the subprograms folder which I created inside the ncfiles folder.
Code: Select all
G90 G0 X2 Y5 Z0.5 ; Move to first hole pattern
M98 "subprograms\O9102.cnc" L1 ; Call subprogram O9102.cnc from cncm\ncfiles\subprograms
G90 G0 X4Y1 Z0.5 ; Move to second hole pattern
M98 "subprograms\O9102.cnc" L1 ; Call subprogram
G90 G0 X6 Y5 Z0.5 ; Move to third hole pattern
M98 "subprograms\O9102.cnc" L1 ; Call subprogram
; End program
- Attachments
-
- O9102.cnc
- (85 Bytes) Not downloaded yet
-
- subprogram_test.cnc
- (347 Bytes) Not downloaded yet
Want to post your own question?
Check this out first: http://centroidcncforum.com/viewtopic.php?f=60&t=1043
Acorn CNC tech tips: viewforum.php?f=63
Check this out first: http://centroidcncforum.com/viewtopic.php?f=60&t=1043
Acorn CNC tech tips: viewforum.php?f=63
(Note: Liking will "up vote" a post in the search results helping others find good information faster)