0% found this document useful (0 votes)
85 views24 pages

02 Post Configurator Enablement HandsOn UI-Settings

Uploaded by

Ertan Dur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views24 pages

02 Post Configurator Enablement HandsOn UI-Settings

Uploaded by

Ertan Dur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

Post Configurator Enablement Training

Basics – Adapting the NC code by setting UI settings

Unrestricted © Siemens AG 2016


Realize innovation.
Topics

General
• Create a Post based on Sim08 and Sinumerik 840D

Configure Post Configurator Options (UI) – Example settings


• Information Listing
• Home Position
• Tool Preselect
• Coolant Output
• Machine Mode
• Arc Output Mode
• Default Output Unit
• Check NX Version
• File Output Handling
• Check Post Configurator Library Version
• Output Event Message
• Header
• Cycle800, Approach motion splitting
General
• Pretreatment
• Turbo Mode
• Important Debugging settings

Unrestricted © Siemens AG 2016


Page 2 25.11.2016 Siemens PLM Software
Session - 01

Create a new Postprocessor based on Sinumerik 840D with OOTB Machine and Manufacturer Level

o Open existing CAM-Setup (sim08_mill_5ax_cam_sinumerik_mm.prt)

o Open Post Configurator UI in Ribbon bar

o Select create new Postprocessor

o Browse for a new output folder (e.g. Enablement2016_EMEA/PC_Session01)

o Select a unique name for Postprocessor

o Select Sinumerik840D as controller

o Select OOTB Sinumerik Machine Level

o Select OOTB Sinumerik Manufacturing Level

o Create the post and open the post

Unrestricted © Siemens AG 2016


Page 3 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI settings– Information Listing

Configuration Object Information Listing

Property Tool list


Operation list
Company name
URL

Information listing is only visible in the


listing window
This information is provided by the
pretreatment

Tool List contains Toolnumber, Toolname,


Description and Processingtime

Operationlist contains Operationname,


Toolname, Operationtype and
Cuttingtime

Unrestricted © Siemens AG 2016


Page 4 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI settings– Home Position Setting

Configuration Home Position Settings


with creation of post the default value Object
is 99999.9 Property Z
must change after creation 99999.9
Value
if work with kinematic machine this are N1 G40 G17 G21 G94 G90
normaly the initial axis values (FACE_TOP , TOOL :
UGT0202_001)
N2 G0 G53 Z99999.9
Tip: If you plan to use the post for N3 T01 M6
N370 ;Initial Move
metric and inch and Home Position is
Value 0
not 0,0,0 you have to add some N1 G40 G17 G21 G94 G90
additional tcl in service layer (see (FACE_TOP , TOOL :
UGT0202_001)
Advanced Modifications) N2 G0 G53 Z0
N3 T01 M6
N370 ;Initial Move

Unrestricted © Siemens AG 2016


Page 5 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI Settings– Tool Preselect

Configuration Object Tool Change

Property Tool Preselect


Value OFF
N1 G40 G17 G21 G94 G90
(FACE_TOP , TOOL : UGT0202_001)
N2 G0 G53 Z0
N3 T01 M6
N370 ;Initial Move

Value ON
N1 G40 G17 G21 G94 G90
(FACE_TOP , TOOL : UGT0202_001)
N2 G0 G53 Z0.
N3 T01 M6
N4 T06
N5 G54

Unrestricted © Siemens AG 2016


Page 6 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI settings– Coolant Output

Configuration Object Coolant

Property Coolant output before motion


Value OFF
N210 CYCLE800(1,"R_DATA",0,57,0,0,0,0,0,0,0,0,0,1,0)
N220 G0 X-79.599 Y42. Z50. S2228 D1 M3
N230 Z3.
N240 G17 G1 G90 Z0. M8 F1203.
Value ON
N210 CYCLE800(1,"R_DATA",0,57,0,0,0,0,0,0,0,0,0,1,0)
N220 G0 X-79.599 Y42. Z50. S2228 D1 M3
N230 M8
N240 Z3.
N250 G17 G1 G90 Z0. F1203.

Unrestricted © Siemens AG 2016


Page 7 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI settings– Machine Mode

Machine mode supported by postprocessor. Compatibility will be checked with operation’s machine mode.
Configuration Object Machine Mode
Property Machine Mode
Value File Based
Defined in machine layer

Value TURN
(If operation is milling)

machine mode and machine type control general output,


like templates for home positions or toolchange

Unrestricted © Siemens AG 2016


Page 8 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI settings– Arc Output Mode Full_Circle/ Linear

Configuration Object CONF_container_arc

Property Arc Output Mode

Value FULL_CIRCLE
N260 G2 X-5.964 Y9.832 I-41.067 J68.581
N270 G3 X-5.983 Y-9.821 I5.964 J-9.832

Value LINEAR
N250 G17 G1 G90 X-5.074 Y10.358
F1203.
N260 X-5.964 Y9.832
N270 X-7.702 Y8.58
N280 X-9.158 Y7.005
N290 X-10.297 Y5.187

Also there are other Arc Ouput settings:

max. and min. Arc radius output


min. arc length
Valid plane

Unrestricted © Siemens AG 2016


Page 9 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI settings– Default Output unit

Configuration Object KinContainer_MTB

Property Default Output Unit

Value Metric
N220 G0 X-79.599 Y42. Z50. S2228 D1 M3
N230 M8
N240 Z3.
N250 G17 G1 G90 Z0. F1203.
N260 X-56.
N270 X56.

Value Inch
N220 G0 X-3.1338 Y1.6535 Z1.9685 S2228 D1 M3
N230 M8
N240 Z0.1181
N250 G17 G1 G90 Z0. F47.4
N260 X-2.2047
N270 X2.2047

Unrestricted © Siemens AG 2016


Page 10 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI settings- Check NX Version

Configuration Object Check NX Version


Property Check Version
Value ON
Property Check NX version

Value If current version not same


as input version

normally post librarys are backwards compatible without


restrictions to NX9.0 and with restrictions to NX8.5
if add functionality which only works with one NX Version it‘s
recommend to switch this on and check the version

Unrestricted © Siemens AG 2016


Page 11 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI settings- File Output Handling

Analyze:
• Checks for a value for the Output directory
Direct Output:
• Names the directory with the Output directory value
Function call:
• Calls the procedure LIB_SPF_output_setting_directory
Custom Procedure:
• TCL procedure, must return a result, e.g. return my_name

• NC file output to D:\Outputdir


• there is also the option for create CSE INI-File (necessary for
Sinumerik)
• set up max. line length of output

Unrestricted © Siemens AG 2016


Page 12 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI settings- File Output Handling Max. Line Length

Some controller have a maximum Line length

In library version 3.7.5 this property cut off the values and
put out a warning what the output is before/ after

In updated version on Kitstore the lines are splitted (see


Kitstore slides)

Unrestricted © Siemens AG 2016


Page 13 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI settings- Check Library Version

Library version of the used librarys for this post

It‘s a read only property

Useful for updating posts

Value can read through:


„set myVersion [LibraryInformation library_version]“
Or
MOM_output_to_listing_device "----> [LibraryInformation library_version]"

Unrestricted © Siemens AG 2016


Page 14 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI settings– Output Event Message

Configuration Message Output Handling


Object
Property Output event message

Value ON
N1 G40 G17 G21 G94 G90
(START OF PATH)
(FACE_TOP , TOOL : UGT0202_001)
In default off N2 ( )
(OPERATION : FACE_TOP)
N3 ( )
useful for debugging (FIRST TOOL)
to switch it on N4 G0 G53 Z0.
(TOOL CHANGE)
N5 T01 M6
(RAPID MOVE)

Value OFF
N1 G40 G17 G21 G94 G90

(FACE_TOP , TOOL : UGT0202_001)

N2 G0 G53 Z0.
N3 T01 M6

Unrestricted © Siemens AG 2016


Page 15 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI settings- Header

Output file basename:


Output the partname

Selected group:
Output the selected group in ONT

Ignore:
no output at start of program

Custom procedure:
Customized output with tcl

Unrestricted © Siemens AG 2016


Page 16 25.11.2016 Siemens PLM Software
Post Configurator – UDE Handling

most of OOTB UDE‘s work also with PostConfigurator

add them as start or end events

possible to add own UDE‘s (see Advanced


Modifications)

to reuse own UDE‘s add them in service.cdl and copy


your procs into service layer or own UDE-Layer

Unrestricted © Siemens AG 2016


Page 17 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI settings- Cycle800

All important informations for Cycle800 can be set


here.

Plane output motion with init:


MOVE-> Motion is done with Cycle800
STAY -> Rotary motion is done before

Change Toolcarrier name:


Enter name of the Toolcarrier

Rotate axis after Cycle800 output

_DIR:
Auto: Post set the prefered direction
-1/1 -> user defined

Unrestricted © Siemens AG 2016


Page 18 25.11.2016 Siemens PLM Software
Post Configurator – Changing Properties in the UI
UI settings- Approach motion splitting

N310 CYCLE800(1,"R_DATA",0,57,0,0,0,0,0,0,0,0,0,1,0)
N320 ;Initial Move
N330 G0 X-79.599 Y42. Z50. S2228 D1 M3
N340 M8
N350 Z3.

Options to configure different


Approach motions easy by one-click

N310 CYCLE800(1,"R_DATA",0,57,0,0,0,0,0,0,0,0,0,1,0)
N320 ;Initial Move
N330 G0 X-79.599 Y42. S2228 D1 M3
N340 Z50.
N350 M8
N360 Z3.

Unrestricted © Siemens AG 2016


Page 19 25.11.2016 Siemens PLM Software
Pretreatment Run

Post Configurator Post do a double run


1. Pretreatment Run
2. Actual Run
Information of the Post Run are collected
This can be extended to collect more information
This is used to enable certain Post options (like
Turbo Mode)
Post Configurator always needs the Pretreatment
run
Happens hidden in the background
Example: special tool informations at the begin of a
program

Unrestricted © Siemens AG 2016


Page 20 25.11.2016 Siemens PLM Software
Turbo Mode

Turbo Mode can be used to speed up to post


processing for simple Movement outputs
Turbo Mode will bypass the Tcl Interpreter and directly
output the code using a C-Routine
Can speed up post processing for those cases by 6-
times

Note:
Its not possible to execute Tcl code for those events
A lot of standard post MOM functions do not work
(Review Tool)
Output can be wrong in certain situations (Changing
tool axis)

Unrestricted © Siemens AG 2016


Page 21 25.11.2016 Siemens PLM Software
Important Debugging settings

Show where Output comes from:


• Adds debugging information to the information window
• Shows which Tcl commands generated NC code lines
• Is needed to use Entry points and change buffers

Show Element Ids in UI:


• Activates debugging information for elements in the UI
• With this information new propertys can create in the UI

Unrestricted © Siemens AG 2016


Page 22 25.11.2016 Siemens PLM Software
Final Tasks

o use the Master spindle Option to output NC code like:

o Change to TRANS/ ROT output:

o Change CYCLE800 to _MODE 39:

Unrestricted © Siemens AG 2016


Page 23 25.11.2016 Siemens PLM Software
QA

Unrestricted © Siemens AG 2016


Page 24 25.11.2016 Siemens PLM Software

You might also like