post configurator enablement - siemens blogs · • chain/channel information can be reused from nx...

31
Post Configurator Enablement Multi-Function/Multi-Channel Machines Realize innovation. Unrestricted © Siemens AG 2016

Upload: others

Post on 26-Mar-2020

16 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Post Configurator EnablementMulti-Function/Multi-Channel Machines

Realize innovation.Unrestricted © Siemens AG 2016

Page 2: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 2 Siemens PLM Software

Multi-function support

Topic

PhilosophyNX Chains

• What are NX Chains• Set up chains

Sample Sim17• Create Post automatically with chains• Overview Multichain UI and settings• Adding Chains with Tcl• Adding chain conditions/ activate chains in Postprocess

Q&A

Page 3: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 3 Siemens PLM Software

Capabilities:

• Tread multi-function and multi-channel machine as multi-chainmachine

• Specify post processor settings based on the currently activechain for this operation

• Chain/Channel information can be reused from NX MTB

• Also fully accessible through Tcl commands and interface

Benefits:• Easier handling of multi channel/multi function machines

• Graphical user interface to program to program more complexmachines

Page 4: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 4 Siemens PLM Software

Multi-Channel support (Preview)

Capabilities:• Chains/Channels can be reused

from NX MTB• Settings can be changed based on

the active chain• Accessible through Tcl

Customer Benefits:• Easier handling of multi

channel/multi function machines• Graphical user interface to program

to program more complex machines

Page 5: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 5 Siemens PLM Software

Keyfacts new sim17 sample

Sinumerik S840D Controller

Multichannel and multi chain setup

Simultaneous turning/milling

6 different types of head devices for milling and turning

Combining head and tool offsets in different ways

TRANSMIT, TRAORI and CYCLE800 support

Moving and compensate W-Axis

Handling different types of axis names

Head magazine

Page 6: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 6 Siemens PLM Software

Reusability

Detailled manual included

Transparent and easy NC Code

Modularized head/tool change and subprogram for better andeasier reuse

Post Configurator Postprocessor (backward compatible to NX9)

Page 7: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 7 Siemens PLM Software

Outstanding points

• CAM Setup and Post Processor in progress

• Full testing

Page 8: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 8 Siemens PLM Software

ENV

Multichain functionality is in a preview statusfor in NX11.0.1 use this environment variable

set UGII_CAM_POST_CONFIGURATOR_MULTICHAIN_PREVIEW=1

Page 9: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

NX Chains

Page 10: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 10 Siemens PLM Software

How to set up Chains

• Kinematic chains are defined in the MTB in NX• Use of a kinematic model to create a post with Post Configurator is recommended• Information of the kinematic model is automatically transferred into the created post

Benefits:one location to define the kinematics for post & simulation

Page 11: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 11 Siemens PLM Software

Set up NX Chains 1/2

o Open the kinematic assembly from sim17 machine(installed_machines\sim17_vertical_turnmill_dualchannel\graphics\sim17_vertical_turnmill_dualchannel.prt

o If not in in MTB switch application

o Right click on the root name and choose Definekinematic chain

Page 12: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 12 Siemens PLM Software

Set up NX Chains 2/2

• 4 chains are defined in the sim17 sample machine• In general you can create multiple chains here, no limitations

• The name of the chain is used in Post Configurator so this should beunique and understandable

• Dependent on the Tool End and Part End assign the axes to thechain

Page 13: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 13 Siemens PLM Software

Channel Configuration

• Channel configuration is mainly needed forsimulation

• All axes and spindles should be assigned to achannel

• Post Configurator not use information from herewhen create the post

• For postprocessing it‘s needed if use the syncmanager

Page 14: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 14 Siemens PLM Software

Create the post based on MTB

o RBM to create a new post based on MTB

o Create a new folder (e.g. in the sim17 machine folder) and aunique name for the post

o Use the OOTB Manufacturer and Machine level

Page 15: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 15 Siemens PLM Software

Post Creation with OOTB Layern/ without

• The OOTB layer are optimized for the OOTB samples

• Recommendation is to use this for quick demos

• For complex machines or general new machines create the postwithout these layers or use your own

• In OOTB layer Manufacturer LIB_Entrys are used and Standarddefinitions like Header information for Sinumerik 840D

• In OOTB layer Machine normally only machine mode is set

Page 16: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 16 Siemens PLM Software

Open the new sample sim17

o The new sample is located in the machine folder

o Open the …\cam_setup\CAM_setup_new.prt

Page 17: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 17 Siemens PLM Software

Connect the generated post with machine

o Open sim17_vertical_turnmill_dualchannel.dat

o Replace the entry for the post with the new one

Page 18: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 18 Siemens PLM Software

Automatically generated Chains post overview

• The chains are added through the mtb Layer which was generatedwhen create the post

• After creation the default chain contains all propertys

• All created chains are empty and propertys can now assigned tothese chains

Page 19: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 19 Siemens PLM Software

Add the propertys to chains 1/2 general

• Properties which can be chain specific can add to single chains or to all chains

• Click on the + sign between the inherited lock and help sign and context menu will open

• User make decision which chains this property contains or add it to all chains

• Propertys which can not assigned to chains are greyed

Page 20: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 20 Siemens PLM Software

Add the propertys to chains 2/2 general

• When added to a chain the chain is marked andthe + symbol is converted into a wrench

• in UI it‘s fast to see which propertys are in chains

• When mouse is over the wrench a tooltip open inwhich chains this property is used

• When switching the chain in the tab the property which wasadded is in navigation tree with the origin group of setting

• Now value can changed for this property

Page 21: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 21 Siemens PLM Software

Define Chain conditions for automatic switching

• New property for Chain mapping

Workflow:o Assign chain conditiono Possibilities to use standard values for chain mapping e.g. mom_carrier_name for machines with head devices

Page 22: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 22 Siemens PLM Software

Chain conditions expert settings

LIB_GE_generate_chain_selection_condition_vars 7

set lib_ge_chain_selection_priority(3) mom_channel_id

set lib_ge_chain_selection_priority(1) mom_main_mcs

set lib_ge_chain_selection_priority(2) mom_machine_mode

set lib_ge_chain_selection_priority(0) mom_carrier_name

If more conditions needed in UI, because chains added manual with Tcl you can use the followed command in service layer:

To reorder priority set the index of the variable lib_ge_chain_selection_priority

Page 23: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 23 Siemens PLM Software

Preset chain selection condition

# This array is to preset a chain selection condition from anyTCL layer of the postprocessor

set lib_ge_chain_condition(0,mom_channel_id) Main

set lib_ge_chain_condition(0,mom_main_mcs) MCS_MAIN

set lib_ge_chain_condition(0,mom_machine_mode) MILL

set lib_ge_chain_condition(0,mom_carrier_name) ""

set lib_ge_chain_selection(0) "test-chain-1"

Page 24: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 24 Siemens PLM Software

Add Chain manual

LIB_GE_CONF_add_chain X2-Y-Z2 "X2-Y-Z2" "X2-Y-Z2" 4

ID Tooltip

Label UI sequence

• It‘s possible to add chains by hand through tcl

• Siemens PLM recommend to create the chain in MTB and then create the post

• But if necessary the chain can setup in the layer file, because e.g. new headdevice for machine or a Retrofit of a machine and so post must updated

Page 25: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 25 Siemens PLM Software

Allow Chains propertys

Defines that the property can added to other chains

0 – cannot add to other chains1 – can add to other chains, also it‘s possible not define the value because in standard it‘s aallowed by default

Page 26: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 26 Siemens PLM Software

Add Address for crossrail position

• Open Def file and search for a W-address

• If not available create a new one in your own layer, e.g. axxx_custom.def

• Do not add new addresses in standard librarys, becauseotherwise you loose update compatibility

Page 27: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 27 Siemens PLM Software

Add UDE for Crossrail position

• Open cdl file and search for ude with equal datatypes

• create a new one in your own layer, e.g. a xxx_custom.cdl

• Do not add new UDE‘s in standard librarys, because otherwiseyou loose update compatibility

Page 28: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 28 Siemens PLM Software

Source the .def and .cdl file in post

• Open the „sim17_turnmill_sinumerik.def“

• Add your custom .def and .cdl files

• It‘s recommend to use a unique identifier such as xxxx_custom/ xxxx_CompanyName

• Order in file is sourcing order, so it‘s possible to verwrite standard functionality

Page 29: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 29 Siemens PLM Software

Sourcing custom simulation.ini file 1/2

• In some cases it is not possible to use the standard simulation ini file from Post

• For this you can use a customized simulation_ini.tcl file and source it to the post

• The property must switch off in Post Configurator for creating ini file

• Add an entry to the *.psc file

Page 30: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 30 Siemens PLM Software

Sourcing custom simulation.ini file 2/2

• In service level or own layer add the LIB_ISV_open_files to create ini files for simulation

• Use the start_of_program_LIB_ENTRY

• If pretreatment run do not proceed the proc

Page 31: Post Configurator Enablement - Siemens Blogs · • Chain/Channel information can be reused from NX MTB • Also fully accessible through Tcl commands and interface ... • CAM Setup

Unrestricted © Siemens AG 2016

25.11.2016Page 31 Siemens PLM Software

Q&A