question

Luis Gaytan avatar image
0 Likes"
Luis Gaytan asked Luis Gaytan commented

Error conveyor stop item in custom code with process flow

mach.fsmMAIN:/project/exec/usercommandlist/Conveyor/conveyorstopitem/node c: MAIN:/project/exec/usercommandlist/Conveyor/conveyorstopitem/node i: MAIN:/project/exec/usercommandlist/Conveyor/conveyorstopitem/node thisClass: MAIN:/project/exec/usercommandlist/Conveyor/conveyorstopitem/node

I got this error in the conveyor logic, I tried to keep the restriction by zones, but I don´t know where the problem is, If someone can help me to understand treenode´s errors it could be very useful to me because I'm new using process flow logics.

mach.fsm

Thank you for your support!

Luis Gaytán

FlexSim 22.0.16
process flowconveyor process flowstop item
mach.fsm (10.1 MiB)
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

·
Julio R avatar image
1 Like"
Julio R answered Luis Gaytan commented

In the second 74.79 you are trying to stop an item that is not on the conveyor, but is on the entry transfer for that conveyor, so you get that error because you can only use the function to stop items that are on the conveyor.

· 6
5 |100000

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

Luis Gaytan avatar image Luis Gaytan commented ·

How can I stop the item, if the object is on the processor or entry tranfer?

0 Likes 0 ·
Julio R avatar image Julio R Luis Gaytan commented ·

You could close the output of the processor and open it when an object unblocks a photo eye at the begining of the conveyor, that way you make sure the object has space in the conveyor before you send a new one and that way all objects will spend 0 seconds on the transfer.

If the item is in the processor, then you should stop the processor with a stop object instead of a stop item.

1700166824294.png

1 Like 1 ·
1700166824294.png (58.2 KiB)
Luis Gaytan avatar image Luis Gaytan Julio R commented ·
Amazing, thank you very much! @Julio R

Last question how did you identify that the item was in the entry transfer?

That is a visual thing or something like experience?

0 Likes 0 ·
Show more comments

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.