Manual

5-4 Programming Basics and Setup
FmNT Program Structure
All FmNT programs consist of a:
Pre-Fiducial Block
Main Program
Workpiece Pattern
In addition to the Workpiece Pattern, you may include additional patterns. However, all programs contain
the Main Program and Workpiece Pattern at minimum.
Pre-Fiducial Block
The Pre-Fiducial block is executed prior to the Main Program. The Pre-Fiducial Block allows the
dispensing program to execute non-dispense related instructions before the fiducials are found at the
beginning of a dispensing program. For example, input signals could be checked or output signals could
be set prior to fiducial finding. The program could be aborted if a given input signal was not at the
correct state.
Main Program
The Main Program is a set of commands usually hidden from the Programming Window. The Main
Program begins and ends the program and contains:
Comments about program flow
Mode Setting Instructions (Zfast, height sensing, etc.)
Process Instructions
User Added Setup Processes
Workpiece Pattern Call
Program End Command
FmNT automatically creates the Main Program for you based on your configuration settings. See the
Beginning Programming section for information about editing the Main Program.
Workpiece Pattern
All FmNT programs include a Workpiece Pattern. You have the option of creating additional patterns.
Generally these patterns are executed from the Workpiece pattern, however you may execute a pattern
from another pattern (nested pattern or subpattern).
The Workpiece Pattern typically contains:
Pattern Instructions
Dispensing Instructions/Process Commands
Procedures
Subpattern Calls
Pattern End Command