Hello everyone,
I am working in a simulation trying to compare two analogue process: one of them set with 3D logic and the other one set with PF logic. The simulation consist of various batches that must be transported in batches but processed individually. To do that I use combiner and separators (see model motores-electricos.fsm)
As I want the batches to be respected in the combiner, I used some code in the Combiner "OnEntry Trigger" that I used to use in previous versions of Flexsim (I know that there are some minor problems with that code, but it does not matter too much because it is working anyway). This code makes the items to be grouped according to the third column of the "Lotes" table.
However, in the PF case, this code is not respected, and the model turns a little bit crazy. I would like the combiner to wait until all the items with the same type are grouped, and then the batch moves to the separator, just like in Torno_A. I guess it is problem of coding, as I tried to translate most of it from the old Flexscript language to the new one (I am not used to the new one yet). I wonder if anyone could tell me how to set the PF part (Torno B and combiner) in order to make it work as the 3D logic process.
Thanks in advance.