question

Claudio K2 avatar image
0 Likes"
Claudio K2 asked Ben Wilson commented

como puedo insertar una tabla en el source? ( insert a table in the source?)

Aserradero simulation.fsmBuen día, cómo puedo insertar las tablas en el source (generador de troncos) sierra gemela, sierra horizontal y sierra multiple (las tres máquinas son separator)?. Ademas de los códigos en "On Reset" y "On creation".¿Cómo puedo hacer que en las salidas de las máquinas de cortes salgan los itemtype con otra forma?, es decir, por ejemplo entra un tronco y salen 6 tablas todas juntas al mismo tiempo y no una detrás de la otra en fila.

Gracias!

FlexSim 19.0.0
flexsim 19.0.0global tableson resetsource tableon creation
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Translation via Google Translate:

How can I insert a table in the source?

<Sawmill simulation.fsm> Good morning, how can I insert the tables in the source (log generator) twin saw, horizontal saw and multiple saw (the three machines are separators) ?. In addition to the codes in "On Reset" and "On creation". How can I make the itemtype output with another shape at the cutting machine outputs? That is, for example a log enters and 6 tables all together at the same time and not one after the other in a row. Thank you!

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

I'm not sure what's needed here based on the description but I did reformat the source resettrigger so it doesn't hurt the next person's eyes.aserradero-simulation_jl.fsm

0 Likes 0 ·
Claudio K2 avatar image Claudio K2 Jason Lightfoot ♦♦ commented ·

Thank you very much Jason! Now it is difficult for me to add the codes in an orderly way in "On creation" of the Source Sawmill-simulation-jl.fsm

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Claudio K2, was Jörg Vogel's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

Good morning to yoo, too, @Claudio K2, I suggest you ask a revisioned question, which describe what you really want to achieve by your own new code. Your code is old from an really old flexsim version: A pointer declaration like "fsnode*" or a use of "itemtype" is today deprecated. There is always a progression in versions and you have to update source code between older and newer versions.

The second part of your question should be asked in a separate thread. It has nothing in common with inserting rows to tables. And it would help if you elaborate a bit more how your cutted log should be transfered as 6 boards to a next station together still as a batch or slice by slice.

At an exit trigger there is a picklist property in visuals to change a shape. If I assume you correctly you cut a log into boards. They are long but thin. They are separated but the shape of the log is still visible and you want get the batch transfered still as a whole. This is a bit difficult because you have after cutting a log in a separator 6 items. Then they are individual objects in your model. You can pack them. One board is becoming the container for the rest of 5 boards. Or you use a taskexecter who transport 6 items at the same time and a next station in your process is capable to let enter 6 items simultaneously because of his enhanced capacity. As you see, there is a need for more information what you really want an answer for and this is placed better in a new thread. I think you describe what you need, instead we are trying to assume. Thanks.

5 |100000

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