Hello guys,
How can I change the position of the items. They should be horizontal and not vertical. I tried it already with the OnEntry Trigger SetPosition, but it did not affect anything.
Thank you in advance.
Hello guys,
How can I change the position of the items. They should be horizontal and not vertical. I tried it already with the OnEntry Trigger SetPosition, but it did not affect anything.
Thank you in advance.
This model packed-batched-items-combiner.fsm works with batched items. OnEntry gets the first item a new rotation and the entering position back. All other items are moved into the first item and lined up side by side. Unfortunately, the flexsim engine evaluates always the x size to place the items in a queue. The visual result is the packed items are colliding in the queue. Also the items hover above the queue.
OnEntry is the right trigger. The picklist option is set Location, Rotation, Size. If the template pops up, set the type to rotation. Then change the rotation x to 90 degrees, y an z to 0.
If I tested this I could see only one item on the combiner in batch mode. In pack mode the second item and further are placed above and in distance to the first at the location of the second item. In pack mode the items must get a location relative to first. But they have to get a different location relative to the combiner while the combiner collects the items. OnSetupFinish is the trigger to change the relative root Cartesian object from combiner to the first item and then the relative location.
If you look in the OnEntry trigger's source code editor you find a reference to the port the item entered the combiner as an integer value named as port. With this information you can set a condition wether the item is the first or later items. The item, on which the others are packed to, enters through port 1.
I just tried it and the rotation works but not for the alignment of the item. In the attached picture you can see that it now perfectly adds them up one by one. If I could now rotate it around its own axis 90 degrees it would be perfect.
So the items would be laying and not be vertical.
Does the items only lay on the combiner, or in the whole process?
If in the whole process, did you try to Change the Rotation of the items in the flowitembin?
To avoid this I would enhance @sebastian.hemmann's suggestion and change on entry the size of the item in the fashion that the x-size and z-size exchange their values. Then I would change the shape's rotation and adjust the size and location. Then it is a matter if the items have to convey on the combiner. If they do I move them into the first item, if not, then I change the location relative to the model.
Object's size, location and rotation parameters begin their names with spatial, the shape's parameter with offset.
@Jörg Vogel
I just tried to understand your custom code and up to now everything is great.
Thank you very much for your help.
Can you just tell me how to lay down the items without any distance to each other?
Thank you in advance.
@Marie Lisa can you please attach a picture where the item is highlighted (yellow frame) or selected (red frame)? Then I can see the object size in relation to the shape size. You can try to post the code, too.
@Jörg Vogel
I will attach the whole file.
It just has to be without any space in between the items.
Thank you.
I adjusted the model to the suggestion I made. In the model I am trying to find a solution to use a combiner with a pallet item, too, as you have built this yourself. It copies in the ExitTransfer of the conveyor previous to Combiner1 the items to a queue. Unfortunately I am not near to find an answer or to place the items in a line on the pallet or a box. Somehow the engine places the item first and then starts to rotate next to the centerpoint of the item. But after this has been done the transformation in x,y,z in the quick properties hasn't any correlation to the transformation in the OnEntry trigger or I haven't found any. I am still trying.trennschleifmaschine-jv.fsm
The separator contains the standard approach to unpack the items again. The next conveyor transfers the items in a similar look as the previous conveyor when the items were still packed. This is just a fake because the items aren't conveying side by side from the entry of the conveyor.
Hey @Jörg Vogel
Thank you for your answer.
Maybe I could just shut down the item view for the separator, is this possible in any way?
A bigger problem is, that when doing this with the combiner when trying to separate a whole cut per layer it does not happen. The only thing the separator does is to cut one by one and only the first bit of the OnExit expression. Just take a look at the attached model.
It should cut all the combined items a little bit down and then press the whole layer forward and cut the next bit and so on.
Is there any possibility to simulate this ?
Thank you in advance.
7 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved