Time Table stop input not working

Time Table stop input not working

carlos_marcelo_lz
Not applicable
604 Views
5 Replies
Message 1 of 6

Time Table stop input not working

carlos_marcelo_lz
Not applicable

[ FlexSim 20.2.0 ]

Hi I am trying to configure a timetable so that when it downs it only closes its input but the only way I´ve made it work is by stopping the process. My problem is that by doing so the objects get stucked and instead of finishing processing it while not accepting another one.

modeloFinalEscOriginal_autosave.fsm..

0 Likes
Accepted solutions (1)
605 Views
5 Replies
Replies (5)
Message 2 of 6

jason_lightfoot_adsk
Autodesk
Autodesk

The timetable is working, I think it's the Pull Form Port Behaviour that isn't considering the state of the port.

0 Likes
Message 3 of 6

jason_lightfoot_adsk
Autodesk
Autodesk
Accepted solution

Okay - it looks like you need this line in the resume behaviour:

nodefunction(getvarnode(downobject,"receivefromport"));

This isn't ideal as it assumes that the downbehaviour knows something about how the object is pulling, but it should get you past this issue.

You also need this change to the receivefromport trigger where you pull from the list:

#define BYPASS_ALL_BUT_INPUT_CLOSED 0x6F 
pullitem(current, pulled, 0, BYPASS_ALL_BUT_INPUT_CLOSED));

instead of

 pullitem(current, pulled, 0, BYPASS_ALL);

Attached is an example model.

Test_stopresumeinput_pullingfromList_nodefunction.fsm

0 Likes
Message 4 of 6

carlos_marcelo_lz
Not applicable

modeloFinalModificado.fsm

Hi!

First of all thanks for helping me!

Secondly, I applied the logic to my system and it seemed to work but then suddenly in each of the groups I have (i have 5 timetables, one for each group), every processor but one stops receiving boxes before the programmed down behavior.

0 Likes
Message 5 of 6

jason_lightfoot_adsk
Autodesk
Autodesk

Attached is a solution where we manage any backorders when the object is stopped while idle, and in normal running, use a condition to check if we are stopped when we would normally be pulling from a list. It means a change to the 'receivefromport' logic and we should also avoid stopping/resuming inputs since we're not using those ports.

modelofinalmodificado_jlManageBackOrders.fsm

0 Likes
Message 6 of 6

Ben_WilsonADSK
Community Manager
Community Manager

Hi @Carlos Marcelo LZ, was jason.lightfoot'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