Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
i
IMSpost Quickstart
ii
IMSpost Quickstart
QuickStart Guide
This guide will show the steps required to create a postprocessor utilizing
the standard IMSpost™ controller files and the IMSmodel™ machine
configuration files.
Cons ult the IMSpost™ Users Guide for additional information on the
various sections for development of a postprocessor.
iii
IMSpost Quickstart
iv
IMSpost Quickstart
Table of Contents
WINDOW ENVIRONMENT .................................................................1
IMS WINDOW INTERFACE ...................................................................1
IMS DIALOG BOXES..........................................................................2
DIALOG BOX DEFINITION .................................................................3
STARTING THE IMSPOST INTERFACE ENVIRONMENT....................4
CREATION OF THE IMSPOST PROCESSOR .....................................5
EXPLANATION OF SELECT POSTPROCESSOR DIALOG BOX..........6
USE DEFAULT MACHINE DESCRIPTION ...................................................6
NEW MACHINE DESCRIPTION ..........................................................7
SELECT NEW MACHINE DESCRIPTION .....................................................8
CUSTOMIZE THE POST PROCESSOR ..............................................9
IMS POST C HECKLIST .........................................................................9
START OF PROGRAM ..................................................................... 10
PARTNO DEFINITION...................................................................... 11
TEST COMMANDS – PROGRAM, PART NO ............................................ 12
TEST COMMANDS - COMPLETED ........................................................ 13
COOLANT DEFINITION.................................................................... 14
TEST COMMANDS – COOLANT DEFINITION .......................................... 15
TEST COMMANDS - COMPLETED ........................................................ 16
SPINDLE DEFINITION...................................................................... 17
REGISTER DEFINITION ................................................................... 18
TOOL CHANGE ............................................................................... 19
TOOL C HANGE – TOOL D EFINITION ..................................................... 19
TOOL C HANGE – TOOL D EFINITION ..................................................... 20
TOOL C HANGE – DATA OPTIONS ........................................................ 21
TOOL C HANGE – BEFORE/AFTER OUTPUT ........................................... 22
TEST COMMANDS – PROGRAM, PART NO, COOLANT, SPINDLE, TOOL CHG 23
FEEDRATE DEFINITION .................................................................. 24
CUTTER COMPENSATION .............................................................. 25
MOTION FUNCTIONS ...................................................................... 26
MOTION F UNCTION DATA TABS .......................................................... 26
I
IMSpost Quickstart
MOTION F UNCTIONS – RAPID/F ROM ................................................... 27
EXPLANATION OF RAPID/FROM D IALOG BOX ........................................ 27
Motion Functions - Rapid Area .................................................... 28
Motion Functions - From Area ..................................................... 29
TEST COMMANDS – LOAD TOOL ............................................................ 30
Test Commands - Completed ..................................................... 31
IMPORTANT QUICKSTART CHANGE TO CHECKLIST..................... 32
MOTION F UNCTIONS - L INEAR............................................................ 32
MOTION F UNCTIONS - L INEAR............................................................ 33
Explanation of Linear Dialog Box ................................................ 33
MOTION F UNCTIONS - C IRCLE ........................................................... 34
Explanation of Circle Dialog Box – Radius format ......................... 34
Motion Functions - Circle - Test Commands................................. 34
Motion Functions - Circle - Test Commands................................. 35
Radius Format – Absolute center coordinates .............................. 36
Radius Format – Distance from start to center ............................. 37
Radius Format – Distance from center to start ............................. 37
Radius Format – Distance from center to start ............................. 38
Radius Format – Unsigned distance from center to start ............... 38
Radius Format – Unsigned distance from center to start ............... 39
Radius Format – Circle radius ..................................................... 39
Radius Format – Circle radius ..................................................... 40
Radius Format – Linear moves ................................................... 40
Radius Format – Linear moves ................................................... 41
MOTION F UNCTION - N URBS .............................................................. 41
MOTION F UNCTION - N URBS .............................................................. 42
Explanation of Nurbs Dialog Box ................................................. 42
MOTION F UNCTIONS – ARC-F IT ......................................................... 43
Explanation of Arc-Fit Dialog Box ................................................ 43
MOTION F UNCTIONS – L INE-F IT ......................................................... 44
Explanation of Line-Fit Dialog Box ............................................... 44
DRILL CYCLES ................................................................................ 45
END OF PROGRAMS....................................................................... 46
PROGRAM CODES - SAVE PROJECT FILE .................................... 47
IMS POST C HECKLIST STATUS ............................................................ 47
CONTINUE CUSTOMIZING THE POST PROCESSOR ...................... 48
CONTROLLER FORMAT ..................................................................... 48
SEQUENCE NUMBERS ................................................................... 48
SEQUENCE NUMBERS ................................................................... 49
COMMENT BLOCKS ........................................................................ 50
REGISTER FORMAT........................................................................ 51
II
IMSpost Quickstart
SORT OUTPUT................................................................................ 51
SORT OUTPUT................................................................................ 52
TEST COMMANDS – SEQUENCE BLOCKS, SORT OUTPUT ........................ 53
TAPE FORMAT................................................................................ 54
POSTPROCESS .............................................................................. 55
POSTPROCESSOR – TEXT FILE OUTPUT ...................................... 56
III
IMSpost Quickstart
Window Environment
IMS Window Interface
The IMSpost uses a Windows interface for the creation of the postprocessor.
This guide will introduce a few Icon and Pull-down Toolbar definitions to get you
started. IMS instructional training will expand on the use and purpose of
additional Icon and Pull-down toolbar options.
Toolbar definition
Dialog boxes are launched by selecting the desired task from the menus, the
toolbars, or the checklist.
2
IMSpost Quickstart
Default input
Optional input
On-line documentation
3
IMSpost Quickstart
2 3 70 4
5. The execution of the program IMSpost will display the IMS Window Interface.
4
IMSpost Quickstart
31
5
3
5
IMSpost Quickstart
6
IMSpost Quickstart
Lets Do It!
This is similar to a previous selection of a new machine description.
1. Select File from toolbar ↓
2. Select New from pulldown.
3. Displays Select Postprocessor dialog box.
4. Select milling.def from listing.
5. Identify the radio button Select new machine description
6. Select OK standard post is loaded.
3
6
7
IMSpost Quickstart
The IMSpost will link the machine configuration with a standard controller file.
The IMSpost Checklist will be displayed allowing custom modifications to occur.
The Quickstart Guide will introduce the Program Codes from the IMSpost Checklist to
get you started with a 3-axis description.
The definition of multi-axis will require an expanded use of the IMSpost Checklist
that includes motion axes, machine comments and reference points.
8
IMSpost Quickstart
IMSpost Checklist
The IMSpost Checklist is a sheet of steps suggesting a set of tasks
necessary to complete the postprocessor
The checklist define three categories
• Program Codes – predefined parameters
• Controller Format - predefined parameters
• Machine Format - predefined parameters
First column of checkmarks indicates assigned parameter values.
Optional Choice: Double click checkmark to remove checkmark; a
parameter change will redisplay the checkmark, a visual verification.
9
IMSpost Quickstart
Start of Program
The start of program dialog controls what codes are output at the start of every program.
These codes typically set up the initial state of the machine – what units to use, initial
locations, absolute or incremental mode, etc.
Lets Do It!
1. Double click Start of Program in checklist.
2. Dialog box appears with default parameters.
3. Edit text as shown in dialog box, no spaces required.
Multiple lines are allowed.
4. Select OK – Red checkmark will appear in checklist.
2 4
3
3
10
IMSpost Quickstart
Partno Definition
The partnumber definition dialog provides control over part number processor when
postprocessing files. Part numbers can be read from the input file, input by the operator,
or ignored
Dialog box has two areas:
A. Part Number Options – prompt or no prompt sequence (see below).
o Take no action involving part number, no prompt.
o Process part number as APT statement or no action taken.
o Process part number as APT statement or prompts for value.
o Will prompt for part number, even with APT statement.
B. Relationship of values associated with part number
Lets Do It!
1. Double click Partno Definition in checklist.
2. Identify prefix string input, type Quickstart .
3. Identify part number pull down, select A.
4. Identify default part number value, edit to 100.
5. Select OK – Red checkmark will appear in checklist.
A
Default parameters
3
5
2
3
4
11
IMSpost Quickstart
This page will setup the input within Text Command dialog box. The output result
is displayed on the following page.
3
Input Block
4
Output Block
12
IMSpost Quickstart
Reminder:
Start of Program (from page 10) – G17G20G40 – see result below
G49G54G80
G90G94G98
Partno Definition (from page 11) – Prompts for value - see result below
Prefix string = QuickStart
Part register = A
Default value = 100
Start X, Y, Z
Note:
1. Output lines are defined as “N” with line numbers.
Lines N1, N2 and N3 are start program codes.
2. The “%” character is associated with tape format.
13
IMSpost Quickstart
Coolant Definition
The coolant definition dialog defines the codes for controlling the various coolant
operations (mist, flood, thru, air, off).
Lets Do It!
1. Double click Coolant Definition in checklist.
2. Dialog box appears with default parameters.
3. Identify mist coolant, edit to M8@MIST (see special note).
4. Identify mist coolant, edit to M8@FLOOD (see special note).
5. Select OK – Red checkmark will appear in checklist.
Default Parameters
2
3
5
3
3
4
3
Coolant Code Notes:
M9 – coolant off
M7 – coolant mist
M8 – coolant flood
Special Note: Different code must be
used for different functions. However,
the @ character will allow same code
for different functions. Output will be
before the @ character, M8@MIST.
14
IMSpost Quickstart
This page will setup the input within Text Command dialog box. The output result
is displayed on the following page.
3
Input Block
4
Output Block
15
IMSpost Quickstart
Reminder:
Coolant Definition (from page 15) – COOLNT/MIST
GOTO/1,2,3
COOLNT/OFF
Mist Off
Note:
Output lines are defined as “N” with line numbers.
Lines N1, N2 and N3 are start program codes.
Lines N4 and N5 are associated with coolant definition.
16
IMSpost Quickstart
Spindle Definition
The spindle definition dialog defines the codes used to control the spindle, and the default
value for spindle speed.
Lets Do It!
1. Double click Spindle Definition in checklist.
2. Dialog box appears with default parameters.
3. Identify spindle speed register, S (register definition on next page).
4. Select OK – Red checkmark will appear in checklist.
1
3
4
3
Default parameters
3
3 2
17
IMSpost Quickstart
Register Definition
Name Units Units Initial Digits Dec Lead Trail Sign Modal Incr
Out In Value
S CONST UNIT 0.000000 5.0
= OFF
= ON
Units Out Displays the output units (INCH, MM, DEG, CONST).
This parameter does not affect the output format except in the
case of rotary axis registers.
Digits Specifies the number of digits output before and after the
decimal point.
For example, 2.4 means output two places to the left
and four places to the right of the decimal.
Lead Indicates whether there will be leading zero output. Deselect the
checkbox to suppress leading zeros.
Trail Indicates whether there will be training zero output. Deselect the
checkbox to suppress trailing zeros.
18
IMSpost Quickstart
Tool Change
The tool change dialog provides a number of options for defining codes used for tool
change operations, and functions that occur when tools are changed. In addition, the
operator may provide additional codes before or after the first, and subsequent tool
changes.
Lets Do It!
1. Double click Tool Change in checklist.
2. Dialog box appears with default parameters.
Dialog box defines three sections
A. Tool Definition
B. Data Options
C. Before/After Output
A B
3
Lets Do It!
1. Verify or change tool definitions as shown.
Default parameters
1
3
20
IMSpost Quickstart
Default parameters
1
3
Lets Do It!
1. Dialog box appears with default parameters.
2. Identify parameter changes:
21
IMSpost Quickstart
Default parameters 1
Lets Do It
1. Dialog box appears with default parameters.
2. Identify first tool and other tools output values.
22
IMSpost Quickstart
GOTO/100,200,350
COOLNT/FLOOD
GOTO/110,21.5,47.375
LOADTL/5,OSETNO,11 3
GOTO/100,120,250
FEDRAT/MMPM,1500
GOTO/100,120,200
%
Quickstart A100. ←Partno Definition
N1 G17 G20 G40
N2 G49 G54 G80 ←Start program codes
N3 G90 G94 G98
N4 G1 X100. Y200. Z350. T0005 ←go to position x y z, tool register
N5 X110. Y21.5 Z47.375 M8←position flood coolant
N6 G28 G91 X Y ←incremental output before tool change
N7 M5 ←spindle off Output Block
N8 M9 ←coolant off
N9 T0005 M6 ←tool register, tool change
7
N10 G90 G55 ←output after tool change
N11 G0 X100. Y120. ←go to position x y plane
N12 G43 Z250. H11←cut length, depth, length register
N13 G1 Z200. F1500 . ←linear position, feedrate register and value
N14 M30 ←machine rewind
%
4
5
23
IMSpost Quickstart
Feedrate Definition
The federate definition dialog controls the codes used for feedrate output, and formatting
options for various feedrate types.
Lets Do It!
1. Double click Feedrate Definition in checklist.
2. Dialog box appears with default parameters.
3. Identify Feed per minute:, edit to:
Function G94 Format (mm) 5.3 Format (inch) 4.4
4. Identify Feed per revolution:, edit to:
Function G95 Format (mm) 3.3 Format (inch) 2.4
5. Select OK – Red checkmark will appear in checklist.
Feedrate Note:
o Enter the feederate only for the related
machine specifying INCH and MM output.
o Format values – number to the left are
integer places, number to the right are
decimal places (2.3= 00.000).
o The feedrate register value (F) in this dialog
box supercedes Register Format definition.
3
4
24
IMSpost Quickstart
Cutter Compensation
The cutter compensation dialog defines the codes for outputting cutter compensation
commands, and the register for the compensation value.
Lets Do It!
1. Double click Cutter Compensation in checklist.
2. Dialog box appears with default parameters.
3. Select OK – Red checkmark will appear in checklist.
No modification required.
Default parameters
2
25
IMSpost Quickstart
Motion Functions
The motion functions dialog has several tabs which control the output of various motion
types (lines, arcs/circles, and curves). Support is provided for different output formats for
arcs and circles; support for NURBS output is also included.
Options for line and arc fitting (including restricting arcs to certain planes) for reduced file
size and improved surface finish are also available.
26
IMSpost Quickstart
A
C
3
B
D
3
27
IMSpost Quickstart
Section A and B
Rapid Area
A Setting rapid motion
B Positioning move
4. Restore feed after rapid move. Feedrate value output on the next
non-rapid move following a rapid motion.
1
2
3
4
28
IMSpost Quickstart
29
IMSpost Quickstart
This page will setup the input within Text Command dialog box. The output result
is displayed on the following page.
2
3
3 Input Block
5
4 Output Block
5
30
IMSpost Quickstart
go to position xy plane
and z depth
go to position, feederate
register and value
31
IMSpost Quickstart
Remove Start of Program codes from the Program Codes category. This will
isolate output from the Test Commands relating to specific motion parameters.
Remove text
32
IMSpost Quickstart
Quickstart Note:
The use of Linear by example is beyond the intention of Quickstart and
satisfies a more advanced requirement.
33
IMSpost Quickstart
1
2
3
4
5
6
2
3
3
Input Block
35
IMSpost Quickstart
Make Selection
previous input
36
IMSpost Quickstart
Make Selection
previous input
37
IMSpost Quickstart
Make Selection
previous input
38
IMSpost Quickstart
Make Selection
previous input
39
IMSpost Quickstart
Make Selection
previous input
40
IMSpost Quickstart
Make Selection
previous input
41
IMSpost Quickstart
Quickstart Note:
The use of Nurbs by example is beyond the intention of Quickstart and
satisfies a more advanced requirement.
42
IMSpost Quickstart
1 2
3 4
5 6
7
8
9
An interpolation of incoming points using a tolerance value defining points used for
the arc fit result.
1. Minimum fit an arc points. Four point minimum.
2. Minimum required arc angle.
3. Minimum required arc radius.
4. Maximum required arc radius.
5. Tolerance value for plane fluctuation.
6. Tolerance value for radius fluctuation.
7. Plane selection, single major plane, all three planes.
8. Exact start point, exact end point to fit an arc.
9. On/Off will active/deactivate optimization results for postprocessor.
43
IMSpost Quickstart
44
IMSpost Quickstart
Drill Cycles
The drill cycles dialog allows the operator to specify required codes for standard
drilling cycles. Cycles may also be simulated by GOTO moves by IMSpost if the
cycle are not available in the machine control.
Lets Do It!
1. Double click Drill Cycles in checklist.
2. Dialog box appears with default parameters.
3. Select OK – Red checkmark will appear in checklist.
1 3
2
3
45
IMSpost Quickstart
End of Programs
The end of program dialog controls what codes are output at the end of every
program. These codes typically set up the final state of the machine – turning off
coolant, moving the machine to a home position, and the like.
Lets Do It!
1. Double click End of Program in checklist.
2. Enter text as shown in dialog box, no spaces required.
Multiple lines are allowed.
3. Select OK – Red checkmark will appear in checklist.
Default
3
1
46
IMSpost Quickstart
Completed
47
IMSpost Quickstart
Controller Format
Reminder: The checkmarks in the IMSpost Checklist are displayed by
default. The checkmarks indicate predefined parameters for the selected
machine. Double click checkmark to remove checkmark; a parameter
change will redisplay the checkmark, a visual verification.
Lets Do It! Remove checkmarks from Controller Format Category (not all) .
Sequence Numbers
Comment Blocks
Register Format
Sort Output
48
IMSpost Quickstart
Sequence Numbers
The sequence number dialog controls the output of block numbers for the posted program
– what code is to be used, the start and increment values for the numbering, whether to
use block numbers at all, etc.
Lets Do It!
1. Double click Sequence Numbers in checklist.
2. Dialog box appears with default parameters.
3. Edit Start value to 5.
4. Edit Increment value to 10
5. Edit Maximum value to 40
6. Select OK – Red checkmark will appear in checklist
Default parameters
6
3
4
5
Block Number Note: The program code will start with line N5
Each line will increment by 10; N15, N25…
Maximum line number is 40
49
IMSpost Quickstart
Comment Blocks
The comment blocks dialog specifies what characters are interpreted by the
control as the start of a comment, and various comment formatting options.
Comments may also be excluded from the final output using this dialog.
Lets Do It!
1. Double click Comment Blocks in checklist.
2. Dialog box appears with default parameters.
3. Edit Prefix string to <!> .
4. Edit Suffix string to !+!
5. Select OK – Red checkmark will appear in checklist
2
Default
parameters
3 5
4
Partial result from NC file
%
Quickstart A100.
N1 G17 G20 G40
N2 G49 G54 G80
N3 G90 G94 G98
<!>TOOLEND !+!
<!>ROUGHCUTTING !+!
<!>TOOL DIAMETER:25.4!+!
50
IMSpost Quickstart
Register Format
The register format dialog provides numerous options for formatting the various
registers, including decimal format, modality, leading & trailing zeros, and more.
Lets Do It!
1. Double click Sequence Numbers in checklist.
2. Dialog box appears with multiple registers, select Basic.
3. Edit Digits to 4. 5.
4. Edit Dec to ON
5. Edit Trail to ON
6. Identify K register, observe Test Output, verify register results
7. Select OK – Red checkmark will appear in checklist
6
Register = K
3 Digits = 4.5
6 5
Decimal = ON
4
Trailing zeros = ON
51
IMSpost Quickstart
Sort Output
The sort output dialog allows the operator to control the order of function code
output on a given block.
Lets Do It!
1. Double click Sort Output in checklist.
2. Dialog box appears with default parameters.
3. Edit Sort Order column, move M before T and G
4. Select OK – Red checkmark will appear in checklist
Default position
2
M after T and G
Default
parameters
52
IMSpost Quickstart
Input 3
N5 start value
N15 increment value by 10
Sort M before T 7
N5 start value max out at 40
and Sort M before T
5 4
53
IMSpost Quickstart
Tape Format
The Tape Format dialog allows for specific formatting of the NC output file, such
as start and end blocks, file size limits, and end block characters.
Lets Do It!
1. Select Controller from toolbar ↓.
2. Select Tape Format from pulldown.
3. Dialog box appears with default parameters.
4. Select OK.
1
3
Default parameters
54
IMSpost Quickstart
Postprocess
On-Line Test of codes and parameters.
1
2
3 4
3
5 7
55
IMSpost Quickstart
56