question

David Chan avatar image
0 Likes"
David Chan asked Brandon Peterson commented

AGV reassign cp problem

Hi I am using the standard processflow AGV Elevator templates. It seems to have a problem with the agvreassigncp statement where the AGV is not reassigned to the destFloorCP. Please advise if there is a bug.

I tried to use the AGV class, but the AGV is reassigned to the original floor. How should I overcome this?

AGV reassign cp problem.fsm

Thanks

David

FlexSim 20.1.3
agvflexsim 20.1.3reassign cp
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

·
Brandon Peterson avatar image
0 Likes"
Brandon Peterson answered Brandon Peterson commented

@david.chan,

I made some changes to your model and it appears to be working correctly now. The first change was to the code in the "Reassign dest Floor CP" custom code activity. I don't know what was originally there but it looks like you might have commented out a few lines that needed to be there. The second thing was that I removed the "Go Back to Original TS" task and replaced it with a "Finish TS" activity. Before the agv was never going back to the original task sequence. Now it finished the temporary task sequence that makes it use the elevator and goes back to the original task sequence correctly.

I hope this helps,

Brandon

P.S. it's been a while since we've talked. I hope all is going well for you guys in Singapore. Stay safe!

AGV reassign cp problem.fsm


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

David Chan avatar image David Chan commented ·

@brandon.peterson

Thanks for the changes. I have tried to test out the changes. The original code was just using agvressigncp and it seems that we need both this function and agv.redirect in order for this reassignment to work properly. I don't think this is ought to design in this way. You might want to point to the developer.

Thanks


David



1 Like 1 ·

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.