question

Owen_liaw H avatar image
0 Likes"
Owen_liaw H asked Owen_liaw H commented

Is that possible if use the elevator or queue for carry the few woods ?

4.fsm

1644932125748.png

1644932139715.png

1644932172825.png

1644932189457.png

For the last figure, my problem is about how to use (elevator or queue) to carry the objects (woods), it will drop a bit (z-axis location) when new lines of wood is sorted to the certain locations by following the length (y-size).

Elevator or queue ? which one is suggested to use for this situation

FlexSim 19.0.0
elevatorqueue load
1644932125748.png (878.0 KiB)
1644932139715.png (879.3 KiB)
1644932172825.png (139.0 KiB)
1644932189457.png (165.0 KiB)
4.fsm (38.0 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

Jeanette F avatar image
0 Likes"
Jeanette F answered Owen_liaw H commented

Hello @Owen_liaw H,

It would be best to use a queue. You will want to use triggers. I created an on entry trigger that checks to see if there is a complete line of flow items (6 items were in each row). If there are then the queue is dropped down.

  1. int NewLine = 6; // number of flowitems per line in Queue
  2. int Content = current.stats.content.value; //The number of flowitems in the Queue
  3. if (Content%6 == 0){ // Check to see if there is a completed row of flowitems
  4. double x = current.location.x; // the Queue location in the x direction
  5. double y = current.location.y; // the Queue location in the y direction
  6. double z = current.location.z-item.size.z; // the Queue location in the z direction
  7. //The Queue will be moved down in the z direction the distance of the flowitems z size.
  8. setloc(current, x, y, z); // Set the location for the Queue
  9. }

You will also want an on reset trigger to reset the queues location.

You will see these changes implemented on the first queue in the model.

Model_JF (2).fsm


model-jf-2.fsm (38.3 KiB)
· 5
5 |100000

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