GPP2 Connections (DF2-Related Variables)

The following new variables control the way GPP2 handles connections.

System Variable

Default format

Use and Comments

ACTION_MOVE_AXES

0

The variable holds a copy of the second argument defined in the scenario action (MOVE_, MOVE_UP and MOVE_DOWN), defining the axes used in the motion (For example "Z", "XY" or "XYZ").

CON_ACTION

6

The connection action:
May get one of the following values:
CON_ACTION_NONE = 0,
CON_ACTION_MOVE = 1,
CON_ACTION_MOVEUP = 2,
CON_ACTION_MOVEDOWN = 3,
CON_ACTION_MOVESAFE = 4,
CON_ACTION_CTRL = 5,
CON_ACTION_SETUCS = 6,

CON_MAX_ALPHA

2

Maximum change in alpha, in angles, allowed in one connection step (linear motion). Not relevant in connections from safe position.

CON_MAX_BETA

2

Maximum change in beta, in angles, allowed in one connection step (linear motion). Not relevant in connections from safe position.

CON_MAX_DIST

1

Maximum distance allowed in one connection step (linear motion). Not relevant in connections from safe position.

CON_SCENARIO

0

The name of the scenario selected by GPP2 for this connection. The variable is initially set by GPP2, but can be modified by the EX2 program during the BEGINNING OF CONNECT block, to select any scenario to be used by GPP2 for the connection.

See the GPP2 default values in the BEGINNING OF CONNECT block.

LONG_CON_X

1

Distance along the X axis, above which a connection is defined as long.

LONG_CON_Y

1

Distance along the Y axis, above which a connection is defined as long.

LONG_CON_Z

1

Distance along the Z axis, above which a connection is defined as long.

LONG_CON_A

2

Difference in the "alpha" angle, in degrees, above which a connection is defined as long.

LONG_CON_B

2

Difference in the "beta" angle, in degrees, above which a connection is defined as long.

SWITCH_TO_SAFE_

CONNECT

6

Defines when a connection must be done through the safe position.  Use the following predefined values:

WHEN_TOOLCHANGE    after tool change (only)

WHEN_LONG_CON      every long connection

WHEN_EVERY_CON     every connection

 

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.