Manual
Table Of Contents
- Controls of the 3500i
- Manual Information
- Introduction
- Machining Fundamentals
- Manual Data Input
- Tool Management
- 4.1 Tool Table
- 4.2 Tool Data
- Program Management
- Conversational Editing
- Programming: Canned Cycles, sub-programs
- 7.1 Explaining Basic Cycles
- Round/Chamfer
- Rapid
- Line
- Arc
- Dwell:
- Plane Selection
- Reference Point Return:
- Fixture Offset (Work Coordinate System Select):
- Unit (Inch/MM)
- Dimension (Abs/Inc)
- Absolute Zero Set
- Block Form
- Temporary Path Tolerance
- System Data
- FeedRate
- FeedRate (4th-Axis)
- Spindle RPM
- M - Functions
- Tool Definition and Activation
- Repeat Blocks
- 7.2 Canned Cycles
- 7.3 Probing Cycles
- 7.4 Sub-programs
- 7.1 Explaining Basic Cycles
- Drawing Programs
- Running a Program on the Machine
- CAM: Programming
- 10.1 CAM Programming
- CAM Mode
- Recommended CAM Programming Sequence
- CAM Mode Mouse Operations
- CAM Mode Screen
- Activating CAM Mode
- Creating a New Program
- Tool Path Data Input
- Quick Coordinate Entry
- Job Setup: Basic tab
- Job Setup: Advanced tab
- Comment Tab
- Block Form: Basic tab
- Comment Tab
- Drilling Cycle:
- Drilling dialogue:
- Mill Cycle
- Pocket Cycle
- Pocket Finish Cycles
- Engraving Cycle
- Program Directive
- Modifying Toolbar
- Viewing Tools
- CAM Mode buttons
- CAM Setup
- Geometry
- DXF Import Feature
- Modifying Tools
- Shapes
- Tool Table
- Tool Paths
- CAM Example 1
- CAM Example 2
- 10.1 CAM Programming
- G-Code Edit, Help, & Advanced Features
- 11.1 G-Code Program Editing
- 11.2 G-Code and M-Code Definitions
- 11.3 Edit Help
- 11.4 Advanced Programming
- SPEED
- M - Functions
- Order of Execution
- Programming Non-modal Exact Stop:
- In-Position Mode (Exact Stop Check):
- Contouring Mode (Cutting Mode) :
- Setting Stroke Limit:
- Return from Reference Point:
- Move Reference from Machine Datum:
- Modifiers
- Block Separators
- Tool Offset Modification
- Expressions and Functions
- System Variables
- User Variables
- Variable Programming (Parametric Programming)
- Probe Move (G31)
- Conditional Statements
- Short Form Addressing
- Logical and Comparative Terms
- File Inclusion
- 11.5 Four Axis Programming
- Software Update
- Off-Line Software

236 7 Programming: Canned Cycles, sub-programs
7.4 Sub-programs
7.4 Sub-programs
Sub-program information:
Overview
Program repetitive sequences or patterns in a sub-program. Enter
sub-programs in the program after the end of the main program. Call
sub-programs from the main program.
A sub-program can use any code or move type. For example, to cut
a contour twice (one rough pass and one finish pass), program it as
a sub-program. You can call the sub-program from the main program
as many times as required, but you enter the parameters only once.
sub-program(s) must be stored in the same file as the main program
that calls them.
You can store sub-programs anywhere in the program after the main
program. They do not have to be entered in numerical order or begin
on any specific block number.
It is possible to nest Calls to sub-programs within other
sub-programs, not just from the main program.
Loop (repeat) sub-programs moving along any axis in increments
each time the loop runs.
Rotate, Mirror, and/or Scale sub-programs.
Ending the Main Program
The main program should always be defined in every program with the
EndMain command, although this is absolutely required when using a
sub-program. The EndMain command must come before any
sub-program definitions.
Select "Sub Programs" and then "EndMain" from the pop-up menu.
Conversational format: EndMain.
G-code format: M2.