question

Ale avatar image
0 Likes"
Ale asked Joerg Vogel commented

operator

The operators on my model have a center post to their workbench or working area. I'm using a destination labels (token.resource.as(Object).centerObjects[1]). The issue that I'm having right now is that as the simulations progresses the operators are off center of their workbench .See attached picture.2.jpg

How can I fix this so they are centered to their Workbench while processing parts.

Other (please specify)
Other
simulation
2.jpg (187.5 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Joerg Vogel commented

The Operator walks to the frame of the object. If you need a defined postion the operator should travel to like a location you add a traveltoloc task in the standard tasksequence. You can add a network of network nodes to your model. If you disable the Offset Travel of the Operators in his parmeters, then the operator travels to the center of network node connected to the object.

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ale avatar image Ale commented ·

@Jörg Vogel add the traveltoloc in the operator properties? if so what field or trigger do I add it?

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Ale commented ·

It is a task from a tasksequence. You can create by code a new tasksequence and dispatch the sequence or alter an existing taskseqeunce as long as the sequence isn't finished executing. In some triggers you can change the dispatched tasksequence as you like, eg "OnReceiveTasksequence". In such a trigger the involved tasksequence reference is "ts". You can insert an additional task by

inserttask(ts, TASKTYPE_TRAVELTOLOC,NULL,NULL,num xpos, num ypos, num zpos, num endspeed); 

It will be the last in the sequence. Because the task is a node you can rerank the task to another position in the tasksequence, which is the container of the tasks.

0 Likes 0 ·