question

peter avatar image
0 Likes"
peter asked Jason Lightfoot commented

How can I fix the error

4.conveyor length 1.fsmDear all

The system console keep existing the following error message. Could you help to fix it?


time: 13.770880 exception: Exception Caught in FixedResource::getItemInfo(treenode flowitem)

time: 13.770880 exception: Exception Caught in FixedResource::getItemInvolved(treenode flowitem)

time: 13.770880 exception: Exception Caught in Processor::releaseProcessOperators( treenode item) object: /PunchPress2

time: 13.770880 exception: Exception Caught in Processor::checkProcessOpFree(treenode item) object: /PunchPress2

time: 13.770880 exception: Exception Caught in Processor::onTimerEvent(treenode involved, int code, char *datastr) object: /PunchPress2

time: 13.770880 exception: Exception Caught in ObjectFunction250__project_library_FlexSimObject_behaviour_eventfunctions_OnTimerEvent object: /PunchPress2 class: /PunchPress2


time: 13.770880 exception: Exception caught in TreeNode::receivemessage()

time: 13.770880 exception: Exception caught in Executive::processeventinlist().

time: 14.451758 exception: Exception Caught in FixedResource::getItemInfo(treenode flowitem)

time: 14.451758 exception: Exception Caught in FixedResource::getItemInvolved(treenode flowitem)

time: 14.451758 exception: Exception Caught in Processor::releaseProcessOperators( treenode item) object: /PunchPress3

time: 14.451758 exception: Exception Caught in Processor::checkProcessOpFree(treenode item) object: /PunchPress3

time: 14.451758 exception: Exception Caught in Processor::onTimerEvent(treenode involved, int code, char *datastr) object: /PunchPress3

time: 14.451758 exception: Exception Caught in ObjectFunction250__project_library_FlexSimObject_behaviour_eventfunctions_OnTimerEvent object: /PunchPress3 class: /PunchPress3


time: 14.451758 exception: Exception caught in TreeNode::receivemessage()

time: 14.451758 exception: Exception caught in Executive::processeventinlist().

time: 13.770870 exception: Exception Caught in FixedResource::getItemInfo(treenode flowitem)

time: 13.770870 exception: Exception Caught in FixedResource::getItemInvolved(treenode flowitem)

time: 13.770870 exception: Exception Caught in Processor::releaseProcessOperators( treenode item) object: /PunchPress2

time: 13.770870 exception: Exception Caught in Processor::checkProcessOpFree(treenode item) object: /PunchPress2

time: 13.770870 exception: Exception Caught in Processor::onTimerEvent(treenode involved, int code, char *datastr) object: /PunchPress2

time: 13.770870 exception: Exception Caught in ObjectFunction250__project_library_FlexSimObject_behaviour_eventfunctions_OnTimerEvent object: /PunchPress2 class: /PunchPress2


time: 13.770870 exception: Exception caught in TreeNode::receivemessage()

time: 13.770870 exception: Exception caught in Executive::processeventinlist().

time: 14.451741 exception: Exception Caught in FixedResource::getItemInfo(treenode flowitem)

time: 14.451741 exception: Exception Caught in FixedResource::getItemInvolved(treenode flowitem)

time: 14.451741 exception: Exception Caught in Processor::releaseProcessOperators( treenode item) object: /PunchPress3

time: 14.451741 exception: Exception Caught in Processor::checkProcessOpFree(treenode item) object: /PunchPress3

time: 14.451741 exception: Exception Caught in Processor::onTimerEvent(treenode involved, int code, char *datastr) object: /PunchPress3

time: 14.451741 exception: Exception Caught in ObjectFunction250__project_library_FlexSimObject_behaviour_eventfunctions_OnTimerEvent object: /PunchPress3 class: /PunchPress3


time: 14.451741 exception: Exception caught in TreeNode::receivemessage()

time: 14.451741 exception: Exception caught in Executive::processeventinlist().

time: 13.770870 exception: Exception Caught in FixedResource::getItemInfo(treenode flowitem)

time: 13.770870 exception: Exception Caught in FixedResource::getItemInvolved(treenode flowitem)

time: 13.770870 exception: Exception Caught in Processor::releaseProcessOperators( treenode item) object: /PunchPress2

time: 13.770870 exception: Exception Caught in Processor::checkProcessOpFree(treenode item) object: /PunchPress2

time: 13.770870 exception: Exception Caught in Processor::onTimerEvent(treenode involved, int code, char *datastr) object: /PunchPress2

time: 13.770870 exception: Exception Caught in ObjectFunction250__project_library_FlexSimObject_behaviour_eventfunctions_OnTimerEvent object: /PunchPress2 class: /PunchPress2


Thank you in advance.

FlexSim 21.0.10
system console
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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

At 3.716 minutes Cylinder1 enters PunchPress2 and the process finish event is scheduled for 13.77 minutes. The the cylinder is removed from the press before the process time is complete - which causes the error.

The reason is your detection of the punch press ProcessFinish is only looking at PunchPress1:

1678626649164.png

This needs to reference the relevant punch press for the item.

Try to fix this yourself (we encourage students to try and solve their problem themselves) and if you're still stuck post a comment below.



1678626649164.png (16.6 KiB)
· 2
5 |100000

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

peter avatar image peter commented ·

4.4 conveyor length 0.2.fsmThanks for you help. I fixed it already. And now I have another problem is AGV2 cannot move along the path between Station 4 complete queue and departure queue. Could I gain some advice from you?

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

You haven't specified the destination on the travel task "Travel to Departure"


0 Likes 0 ·