question

mark zhen avatar image
0 Likes"
mark zhen asked Jeanette F commented

How to know if there are still tasks to be performed

充電測試.fsmI need to create a logic, he needs to judge whether there are still tasks that are not completed after I complete the task, if so, it must be done, if not, the charging logic must be executed (under construction) I must execute this logic in an interval

FlexSim 20.0.10
proces flow
充電測試.fsm (156.5 KiB)
· 1
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

Steven Hamoen avatar image
1 Like"
Steven Hamoen answered Joerg Vogel commented

@mark zhen I don't agree what @Joerg Vogel is saying.

If you have your tasks on a list you can check if there is a task by pulling from the list while using a wait time of 0 and leave items on list option on. If the wait timer is fired (so there are no new tasks) you can go to the charging logic, otherwise there is still a task and you can execute that one or check if the battery is really low and still go to the charging.

· 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.