TU Darmstadt » MB » Deparment DiK » Education » Simulation of production systems and processes using Tecnomatix Plant Simulation 11

Variable

Tecnomatix Plant Simulation has different workspaces for variables:

  • There are variables which are only valid within namespaces, but visible for everyone such as attributes. To access these attributes the fullpath of the attribute has to be given. Select for example the housing base source and press "F8". There you can see all available attributes and methods. The path to this attributes is the name of the object which can be seen in the title ".Models.Frame.HousingBase", a dot and the name of the attribute for example ".Models.Frame.HousingBase.Capacity"
  • A variable of a method (being explained in the next chapter) is only valid within the method and cannot be accessed anywhere else.
  • A variable is a global variable. It can be accessed from everywhere using its name.

 

Enhance your simulation model

Task:

Create four boolean elements which represent the states of your material sources:

  • Name: DeActivateManufacturing
    Data type: boolean
    Value: true
  • Name: DeActivatePreAssembly
    Data type: boolean
    Value: true
  • Name: DeActivateAssembly
    Data type: boolean
    Value: true
  • Name: DeActivateLoading
    Data type: boolean
    Value: true

 

Create a variable wich represents the amount of delivered housing covers:

  • Name: DeliveredHousingCover
    Data type: integer
    Value: 3

 

Step-by-Step:

  1. Left-click on the button in the toolbar. Press and hold the key "CTRL". Left-click 5 times into your main frame.
  2. Double-click each variable to open it.
  3. Input the name, the data type and the value appropriate to the given list above.
  4. Press the button "OK" to submit.
  5. Repeat for all variables.