I enabled sub routines on my CAM programs post and the file was one but when I loaded it from the floppy into the haas memory it had the main program O4111 then 2 new ones O4112 (sub routine) and O4113 (sub routine) on the program list. Is this normal for how haas does subs? It caught me off guard since I thought it would have been in the same program with a sub call out. Here is the last bit of code in the program and how it was sent to the Haas via a floppy.
N38993Z-.2F25.
N38994M98P4113
N38995M9
N38996G91G28Z0.
N38997G91G28Y0.M5
N38998M30
O4112
( SUB NUMBER: 4112 )
N1G41X8.3755D6
N2G3X8.5005Y3.43J.125
N3G1Y4.5345F60.
N4X5.2135
N5Y1.2475
N6X8.5005
N7Y3.43
N8G3X8.3755Y3.555I-.125
N9G1X8.2755
N10G40
N11M99
O4113
( SUB NUMBER: 4113 )
N1G41X4.4115D6
N2G3X4.5365Y3.0261J.125
N3G1Y4.5345F60.
N4X1.2495
N5Y1.2475
N6X4.5365
N7Y3.0261
N8G3X4.4115Y3.1511I-.125
N9G1X4.3115
N10G40
N11M99
%
( FILE LENGTH: 7278.94 FEET )