Using GENER
The Icam Post post-processor tape generator “GENER” provides the capability to post-process a center line data file (called CLDATA or CL for short), which has been created by a CAM system. GENER does not require that the MACHIN/name,n statement specifying the post-processor name be present in the CL file. Instead, the desired post-processor can be selected at the start of GENER processing via a command line option or Launch Panel selection.
When coupled with Icam’s Virtual Machine product, GENER can also simulate the motions of the CNC machine’s axes, while testing for over-travel conditions and collisions between the various machine, tool, part and fixture components. When coupled with Icam’s Material Removal Simulation product, GENER can simulate the cutting actions of the tool on the stock and also include the in-process stock when testing for collisions.
GENER has a “full interface” mode that provides the following:
A Diagnostic window that lists all diagnostic messages (see “Diagnostics”).
Tracing windows that show the flow of processing of GENER by listing events as they occur (see “Tracing”).
Simulation windows to view the machine model and material removal simulation, as well as to view or change tool and workpiece compensation amounts (see “Simulation”).
Debugging windows that aid the Icam Post developer to better understand the relationship between CL data, macro processing and resultant NC program data. It does this by tracing the processing of various types of data and also by providing the capabilities of a fully functional debugger (see “Debugging”).
Menu bar functions, keyboard shortcuts and associated toolbar buttons to access the many features of GENER (see “Menus”).
When GENER is run in full interface mode, post-processing starts in a
paused state. The Run»
The simulation can be viewed from one or more Virtual Machine
windows, which are activated by a Simulation»
Diagnostics
Diagnostic messages can be reviewed in the Diagnostics Window,
activated by a View»
Diagnostic messages are also output to the Console trace window but
only when activated by a View»
A count of diagnostics will appear in the Status bar at the bottom of
the GENER full interface window. Status bar visibility can be toggled
using the View»
Tracing
There are four trace windows that trace (i.e., list) various types of
input and output records. GENER provides Run»
View»Input traces CL file as it is read View»Output traces NC program data (MCD) as it is written View»Console traces diagnostics, operator messages and other console I/O View»Macro traces macro commands as they are processed
You can single-step the post-processor by clicking with the
left-mouse button in any trace window. This produces the same effect
as setting the focus on the trace window and selecting the Run»
For dual-channel merging lathes, the trace windows will have buttons on the title-bar labeled “0:Main” and “1:Side”, that cause traced output to be shown only for the selected channels. A right-mouse pop-up menu “Split View” selection toggles between side-by-side vs. sequential tracing of information.
A Synchronize function is available for the trace windows, using the right-mouse pop-up menu. Synchronizing on a line of output in one trace window will cause the other trace windows as well as the source and simulation windows to identify the corresponding point they were at when the selected line was output. The up and down arrows can be used to change the line of output being synchronized.
Tracing windows will continue to record information when minimized, which may speed up processing since the screen does not have to be updated as frequently. Tracing information will not be recorded to any trace window that has been closed, which may significantly speed up processing.
The maximum number of lines remembered in each of the trace windows
can be set from the Tools»
More information on the View menu selection options can be found in “View Menu”.
Simulation
There are three windows that are used to view and control the Virtual Machine model and/or material removal process. These windows will only be available if machine simulation and/or material removal simulation were selected when GENER was started (see “VM Tab”).
The simulation windows are:
Simulation»Virtual Machine views the model, fixtures and parts Simulation»Controller views/modifies compensation and other controller features Simulation»Manager views/modifies tooling, parts, fixtures and setups
The Virtual Machine window is where you view the actions of the machine when running with a Virtual Machine model. Up to four independent viewing windows are supported. If material removal simulation is active, then the in-process stock will be displayed within the machine model environment and collision detection will include the in-process stock as one of the components to be checked against the tool and any other collision enabled objects that can move with respect to the stock.
This same Virtual Machine window is used when running Material Removal Simulation without a Virtual Machine model. In this case, only the tooling, stock, part and fixture components are drawn (i.e., the machine is not shown). Collision detection checks tool vs. part, tool vs. in-process stock and tool vs. fixtures. All motions are viewed from the perspective of the part (e.g., a table rotation will appear as the tool arcing through space).
All of the physical components of the simulation will be automatically setup on entry when running with a Manufacturing Extractor (see “Starting GENER from an Extractor”). These include parts (design parts and their in-process stock), fixtures, as well as tools and their holders. The manufacturing extractors also have the ability to set tool compensation amounts to their nominal values and to automatically define appropriate offsets for workpiece compensation. Some extractors can determine multiple setup requirements as defined by supporting CAM systems. All of these settings can be reviewed or modified from the Simulation menu as follows:
Simulation»Parts/ Fixtures defines parts (design/ stock) and holding fixtures Simulation»Tools/ Holders/ Heads defines cutting tools and holders; selects active head Simulation»Controller defines tool and fixture compensation amounts Simulation»Manager defines setups; views/ modifies all of the above
The parts and fixtures define the various components that are
attached to the Stock Axis of the model. The tools and their holders
define the various components that are attached to the Tool Axis of
the model. Fixture (workpiece) compensation is generally required to
ensure the correct relationship between parts/
More information on the Simulation menu selection options can be found in “Simulation Menu”.
Debugging
There are three debugging windows that can be used to perform more advanced Visual debugging and testing of a post-processor. The debugging windows are:
Debug»Source lists CL and macro source. Debug»Variables enables viewing and setting of macro variables. Debug»Stack shows the current CL record and all active macros. Debug»Kinematics shows the current kinematics status information
At the start of the program, the Source window shows the CL data file to be processed. This window is updated whenever processing is paused to show the current CL record or macro line being processed.
The Variables window shows the macro variables that are currently in use by the program. Variables can be viewed and modified if necessary from this window.
The Stack window shows the nesting of CL, subprograms and macros.
The Kinematics window shows the current status of all components of the Kinematics chain used by GENER to transform input cldata coordinates to final machine coordinates.
GENER provides Debug»
GENER provides a Debug»
GENER also provides Run»
More information on the Run and Debug menu selection options can be found in “Run Menu” and “Debug Menu”.