ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
red-line connection update
Hi everybody,
Well, I know that every transported at every time traveling has a red-line connection to a network node if it is operating on network edges. Now, two transporters arrive at the same location one is moved inside another one and a box is also collected. the box is dropped elsewhere and the second transporter is moved out of the first one into the model. BUT, its location is magically decided by the system to be somewhere close to (0,0,0) and still there is a red-line connecting it to the first place where it moved into the first transporter. How to move out the second transporter from inside the first one such that it appears close to the first one and also the new connection of red-line is to the closest network node. for using reassignmentnode we need to have the the TE and NN but in using coordinatedtasksequences neighter the task executor is available if we use two transporters which belong to the same dispatcher nor network node is known which we arrived at. any comment is appreciated. |
#2
|
|||
|
|||
Hello Shahin,
Let me try to explain how this works. A Task Executer is joined to the network via a red line connection. (See if you do an "A link" connection to a network node, that red line appears and if you again do an "A link" to another network node then that red line updates since, this only a connection between the object and the network). A Fixed Resource is referenced as an "End Point" connection via a Blue line (but again this is an "A Link" between the object and the network). However Fixed resources can have multiple references on the same network. As opposed to Task Executers. A Task Executer will continue travelling OUTSIDE the network (between the network defined path and a fixed resource) ONLY if you have got the option "Travel offset for load/unload tasks". Selected. It is when the task executor leaves the network that the red connection is drawn whilst it is performing a load from a fixed resource. If you do not want the object to leave the network (because you can define where the "location" is for the fixed resource) then you can select two options in the GUI parameters that will prevent the task executer from leaving the network. Now..... to your question. The objects do not go "into" each other... just visually the object that is located on one place stays there, whilst the other object just "virtually" goes over the same space. (If you don't believe me try changing the size of the Task Executors... so that you can convince yourself they do not go into one another.) The location of the object should be ON or OFF the network, it shouldn't just go onto another place in the model (Unless you have changed the functionality of the standard task sequence and evidently made a mistake as to move the object to an undesired place). Try checking the Help Menu about objects travelling on networks. Good luck. |
#3
|
|||
|
|||
Thanks for the comment.
Apparently I was not clear enough. A coordinated task sequence is applied. Two transporters arrive at certain location and one is MOVED inside another one by TASKTYPE_MOVEOBJECT.Then they collect one box and drop it at certain location. Then the internal one is again MOVED out to the model from inside another one. but when it is moved out it does not connect to the closest network node it magically appears some where close to (0,0,0). rather it is still connected with a red line to the last places it traveled to. The question now is how to update it to connect to the closest one and not the earlier one. |
#4
|
||||
|
||||
Hello Shahin,
after you have placed the taskexecuter in your model, set its position with the command setloc. To connect the taskexecuter to another networknode give the command reasignnetworknode a try. Please look in the help for further informations. Jörg |
#5
|
|||
|
|||
Many Thanks Jörg,
Well when you acquire your transporters in a coordinated task sequence using a dispatcher then you have only a key referring to this. Set location is okay, it works but reasignnetworknode needs you to know the "node" and it is not straightforward how to obtain node from that key. There is a function in manual to get node from key which, to me, does not produce the output needed. |
#6
|
||||
|
||||
Hello Shahin,
you can store the reference to the moved Taskexecuter e.g. in a table. If you move the Taskexecuter back to the model, you can look in the table. Another way is to send a message to the moved back taskexecuter as a TASKTYPE in your coordinated tasksequence. OnMessage you can reassign the Taskexecuter. Jörg |
The Following User Says Thank You to Jörg Vogel For This Useful Post: | ||
Shahin Gelareh (02-12-2012) |
Thread | Thread Starter | Forum | Replies | Last Post |
How can I get the NetworkNode connected to the TaskExecuter with a "red" connection line? | Frans Zeng | Q&A | 1 | 08-30-2011 07:42 PM |
Continuous update | Chieng Kai Seng | Q&A | 10 | 08-06-2011 09:51 AM |
GUI Combo Box Update | Chris Moon | Q&A | 3 | 04-14-2011 03:55 PM |
Update of global variables | BenjaminBuecklein | Q&A | 4 | 11-18-2008 03:43 AM |
Update Flexsim.com | Lolke Koopmans | Marketing and Sales Information | 12 | 10-17-2008 02:09 PM |