Cancel
Showing results for 
Search instead for 
Did you mean: 

Keep Track of moved MUs

Pioneer
Pioneer

Is it possible to keep track of a (To-be-)moved MU by, e.g., assigning it directly to a variable as one can do using the "create" statement? I tried something like

  • NewObjectPathToBeTracked .:= SomeObject.move(SomeDestination)

but it did not work. Should this work, and if not, what other ways are there to know the new path of the object after it was moved?

 

 

3 REPLIES 3

Re: Keep Track of moved MUs

Siemens Phenom Siemens Phenom
Siemens Phenom
Are you looking to create a type of "map" showing the route of a single part through the production?

You could perhaps try a sankey diagram then?

Alternatively, you could write the visited objects to a table. Either when the MU enters a new one (entry control), or leaves the old one (exit control).

There are probably even cleverer ways to do it, but I'll have to research a little first.
Highlighted

Re: Keep Track of moved MUs

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

You need exactly this method: setMUTraceRouteMethod

 

Use to appoint a method that registers the moves in e.g. a table.

 

Excerpt from the Help-page:

The function setMUTraceRouteMethod designates a method, which is called each and every time, when an MU is moved to another object.


Gert Nomden
Senior Consultant | Tecnomatix Product Manager
cardsplmsolutions.com

Re: Keep Track of moved MUs

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

move only returns true/false depend on if the move command was successfull or not, but

you can read at each time the location of the object with

 

yourObject.location or

yourObject.~

 

e.g.

SomeObject.move(SomeDestination)

var newDest: object:=someObject.~

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net