PDA

View Full Version : Issue with Nested Files and CG command



BrandanS
05-21-2014, 03:56 PM
Hey SBer's,

Could you have a look at this code? Again, there is a Masterfile (Master) which executes one of two other files (O8001/O8002). Both O8001/O8002 execute fine, but when I call them from the MasterFile, SB Control returns "Circle Diameter is 0 (or less)". I can see that the subFiles are calling for >0 diameter circles, but something is happening when I am running from VO command. I should note that the O8001/O8002 files are ported from an old CNC program, but they run fine by themselves.

Thanks,

Brandan

EDIT: I am just found that running either O8001/O8002 consecutively returns the same error

srwtlc
05-22-2014, 10:48 AM
Emailed Brandan on this late last night, but for anyone interested and if it happens to anyone else in the future (pretty slim chances), the posted code in his called files didn't position the Y axis properly before the first CG command (circle/arc G-code) and therefore, the CG commanded diameter, end point X, and end point Y couldn't be done, giving the error "Circle Diameter is 0 (or less)".