|
Force Regular Connection in an "In-Place Connection" Situation
There are cases where the start point of a new procedure (or cutting segment within a procedure for that matter) is in the exact same point where the previous procedure ended. This is referred to as In-Place Connection. There is a connection although no motion is needed. This situation is what happens at the beginning and end of a 5X-Connection procedure, and can also happen between any other two procedures.
Regularly, in these cases, the CONNECT IN PLACE block is invoked and GPP2 skips the regular connections.
The system flag FORCE_CONNECT_IF_INPLACE can be used to force regular connections in these cases. It must be set in the STARTUP block and its default value is FALSE_. If set to TRUE_ regular GPP2 connections are forced and the CONNECT IN PLACE block is not invoked.
In order to have an indication if a connection is forced or not, use the system flag CONNECT_FORCED. Its default value is FALSE_. If a regular GPP2 connection was forced, GPP2 will set it to TRUE_ before BEGINNING OF CONNECT and back to FALSE_ after END OF CONNECT.
|