question

Michael O'Connell avatar image
0 Likes"
Michael O'Connell asked Sam Stubbs commented

Any idea why a waypoint isn't always firing?

I have paths that intersect at right angles. Sometimes one deadends at the other, and sometimes it crosses the other. I have control point set at the intersection and want it to always fire on arrival, but it's not doing so.

The attached sample model has a waypoint associated with CP2. I have no code in the trigger, just a breakpoint. The trigger fires when the TE travels left to right or right to left. It doesn't fire when the TE turns onto or from the perpendicular path.

Is there a way to do this? Help is appreciated.

FlexSim 16.1.0
agv waypoint
· 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.

Jeff Nordgren avatar image Jeff Nordgren commented ·

@Michael O'Connell

Michael,

I think you forgot to attach your model.

0 Likes 0 ·
Michael O'Connell avatar image Michael O'Connell Jeff Nordgren commented ·

Could have sworn ...waypoint-2paths.fsm

0 Likes 0 ·
waypoint-2paths.fsm (19.6 KiB)

1 Answer

Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered Sam Stubbs commented

Unfortunately the problem with the way points is, they don't exist on end-points of a track. They can only exist along a single point along a track. In this instance, the only way I can think of to set up your model, is to have 3 waypoints just before the intersection on each track. Then write your logic so as to accommodate the AGV hitting two Waypoints. (Because it will always cross 2 of the 3 WPs).

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

Michael O'Connell avatar image Michael O'Connell commented ·

So, basically, a CP can only be on one path?

If I add the additional 3 waypoints, it does funny things with AGV spacing as it relates to allocation/deallocation. Probably have to add a control area to deal with it.

Thanks, Sam.

0 Likes 0 ·