Hi,
I am simulating an AGV elevator, but I ran into a problem with the orientation of the AGV after a call of the function agvreassigncp. The agv enters the elevator on the left side and leaves the elevator on the right side. I have attached an example model (agvorientation.fsm) with two agvs. The bottom agv has the correct orientation when it continues to travel, the top agv does not. How can I control the orientation in the second part of the network. Some elevators might have an exit on both sides of the elevator, so the orientation might depend on the next destination.
@anthony.johnson the function agvreassigncp is deprecated, but the new function using the agv class does not work or is not there. Reading the manual I thought I could use agv.currentCP = .... since in the manual it says that you can get and set the current cp of an agv with this function, but when I try this ( like in the script window ) I get an error msg: "The value of property currentCP cannot be set".
Many thanks already,
Patrick