nat_wheatley
06-17-2016, 05:39 PM
Hoping for some programming help. I'm using Enroute to create my cut files (from DXF's created by KCD). Enroute creates a tool path file for each sheet (ex: Smith Job_ Melamine_1, Smith Job_ Melamine_2, Smith Job_ Melamine_3 etc.) I'm wanting (if possible) to create a file that will run each job start to finish, without having to manually load a file for each sheet. All necessary commands to process each sheet are in each cut file (Turn vacuum on/off, send spindle home at end of files etc.)
I'm thinking that it would go something like this:
Message 'Put material onto table and press enter when ready'
Load file C:\Documents and Settings\Valued Customer\Desktop\ATP\Smith Job_ Melamine_1
Continues same same steps, adding 1 to the sheet number until it's gone through all the sheets
This is what I've come up with, with my very limited programming abilities:
&SheetNumber=1
Input "Enter Job Name" &JobName
MSGBOX(Place Material on Table and Press Enter When Ready)
Shell "C:\Documents and Settings\Valued Customer\Desktop\ATP\Smith Job_ Melamine_1" **(Need to somehow insert &JobName and &SheetNumber into this command?)**
&SheetNumber=&SheetNumber+1
Return **(Not sure how to return to the 2nd line now?)
I've only done a small amount of SB programming, so any help guidance would be very much appreciated.
Thanks
I'm thinking that it would go something like this:
Message 'Put material onto table and press enter when ready'
Load file C:\Documents and Settings\Valued Customer\Desktop\ATP\Smith Job_ Melamine_1
Continues same same steps, adding 1 to the sheet number until it's gone through all the sheets
This is what I've come up with, with my very limited programming abilities:
&SheetNumber=1
Input "Enter Job Name" &JobName
MSGBOX(Place Material on Table and Press Enter When Ready)
Shell "C:\Documents and Settings\Valued Customer\Desktop\ATP\Smith Job_ Melamine_1" **(Need to somehow insert &JobName and &SheetNumber into this command?)**
&SheetNumber=&SheetNumber+1
Return **(Not sure how to return to the 2nd line now?)
I've only done a small amount of SB programming, so any help guidance would be very much appreciated.
Thanks