question

Kleopatra A avatar image
0 Likes"
Kleopatra A asked Patryk commented

change visual

Hello. In my model i have an operator that picks up pallets based on an global table (picking) and the transfer them to a processor. I want based on the client_id to change the boxes on the pallet. For example i have an order that contains 8 different pallets. In the processor i want the boxes of the 8 pallets to change color for example black.


Thanks in advance.noymero1.fsm

FlexSim 21.1.4
color change
noymero1.fsm (110.6 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

·
Patryk avatar image
0 Likes"
Patryk answered Patryk commented

First in run sub flow you have to set how many box you have on pallet

1649062419726.png


Your box is in this example token.pulled.up.subnode[token.nr]

1649062543235.png

Attached model noymero1.fsm


1649062419726.png (48.6 KiB)
1649062543235.png (74.8 KiB)
noymero1.fsm (110.7 KiB)
· 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.

Kleopatra A avatar image Kleopatra A commented ·
@Patryk Thank you for your quick reply. I worked on the model you attached but i noticed that only the first two pallets have the same color. I want the entire order (client_id =1 ) to be red, client_id=2 yellow etc.
0 Likes 0 ·
Patryk avatar image Patryk Kleopatra A commented ·

So you have to change Color value now this value is the same as token.colorOfBox. If you change this value to token.Client_id. Boxes on pallet will have the same color for the same client 1649064025303.png

If you have have the same color to all boxes change this vale to number for example 0 to black

Attached model: noymero1.fsm

0 Likes 0 ·
1649064025303.png (15.5 KiB)
noymero1.fsm (110.7 KiB)

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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