question

el C avatar image
0 Likes"
el C asked tannerp commented

Picking by global table

Hi,

I am creating a model which consist of a rack with a different type of items on pallets and the operator should pick up the boxes when the rack is full. I have 2 issues:

1. The second list which should have the orders is not working there is a syntax error.

2. How can he pick according to the global table Clients which I have created?

I have tried different things to make it work, I could use some help, please. Thank you

By the way, I used painted slots.

this is the model i updated it

pick-boxes-from-abc-rack.fsm

FlexSim 19.2.4
global tablepickingpainted slots
5 |100000

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

tannerp avatar image
2 Likes"
tannerp answered tannerp commented

@el C

1) The syntax error is because you are using space characters in your list name, "Pull from List". Generally, coders are advised to use something like "Camel Case" or other naming conventions to avoid spaces in variable names. I fixed this first problem in the updated model I've attached.

2) You need to provide more details about how the Global Table is to be interpreted. Is the operator going to pick in order of the columns? I've given you examples of how to do this before, treating each column as an order. Do you want to pick orders differently? How exactly should the Global Table be used?

pick-boxes-abc-update.fsm


· 4
5 |100000

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

Braydn T avatar image
1 Like"
Braydn T answered el C commented

@el C

Here is a link to the user manual and the excel interface: https://docs.flexsim.com/en/19.1/Reference/Tools/ExcelInterface/

And here is a reference to using global tables here:

https://docs.flexsim.com/en/19.1/Reference/CodingInFlexSim/FlexScriptAPIReference/Data/Table.html

Using a combination of these two along with labels and a small amount of custom code you should be able to make all of that happen dynamically.

· 1
5 |100000

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