Global variables (V.G.)

The code for inter-axis globally valid variables (in channel) is "V.G. ...".

Either the axis index or the corresponding axis name (example shown with axis "X”) can be used for the axis-specific code programmable in several V.G. variables.

 

V.G.<var_name>

 

Meaning

 

Data type

 

Unit of
In/Output

Enabled access:
R
ead/
W
rite

BLOCK_NR

The last programmed NC block number

Integer

-

R

MASS_MM

If measuring unit [mm], then 0

Boolean

0 , 1

R

MASS_360

If measuring unit [°], then 0

Boolean

0 , 1

R

I

I coordinate of circular programming. With active centre point compensation (G165), access to corrected value

Real

[mm, inch]

R

J

J coordinate of circular programming. With active centre point compensation (G165), access to corrected value

Real

[mm, inch]

R

K

K coordinate of circular programming. With active centre point compensation (G165), access to corrected value

Real

[mm, inch]

R

R

The radius traversed during circular interpolation

Real

[mm, inch]

R

FEEDRATE

The last programmed feedrate (F word)

Real

[mm/min,
m/min,
inch/min]

R

FEEDRATE_SCALE

Permits adaptation of a feedrate programmed in mm/min to the unit specified in 'prog_start.feedrate_factor' (P-CHAN-00108).

Supplies the value

1000 for 'prog_start.feedrate_factor' = 0.1 (m/min)

1 for 'prog_start.feedrate_factor' = 100 (mm/min)

Programming example:

F2000 / V.G.FEEDRATE_SCALE results for

1000: F2 (m/min)

1: F2000 (mm/min) [as of V2.11.2024.00]

Integer

-

R

MERR[i]

Compensation offset of circle centre point in the main axes of the current plane (<i> = 0 , 1)

Real

[mm, inch]

R

The “WZ[j]” variables permit read access to the data of any tool. They are both available with an external tool management system (transparent access) and for the use of an internal tool table (j then corresponds to the tool number or to the index of the tool in the tool list).

WZ[j].R

Radius of the tool

Real

[mm, inch]

L

WZ[j].L

Length of the tool

Real

[mm, inch]

L

WZ[j].P[i]

Tool parameters

Real

-

L

WZ[j].V[i] or WZ[j].V.X

Offset in axis <i> or "X" of the tool

Real

[mm, inch]

L

WZ[j].ME

Measuring unit of radius, length and axis offsets, always supplies 0 (for [mm]) when a tool list is used, otherwise the variable has no significance

Boolean

0 , 1

L

WZ[j].OK

Validity flag of the tool;
if valid, then 1

Boolean

0 , 1

L

WZ[j].SPDL_AX_NR

Logical axis number of the assigned spindle

Integer

-

L

WZ[j].KIN_PARAM[i]

Kinematic parameters of the tool in internal unit

Real

[0.1 µm,
10-4°]

L

WZ[j].KIN_ID

Kinematics ID of the tool

Integer

-

L

WZ[j].TYPE

Tool type (0: milling tool 1: turning tool 2: grinding tool)

Integer

-

L

WZ[j].SRK_ID

Cutter orientation of a turning tool

Integer

-

L

WZ[j].S_MIN_SPEED

Minimum rotational speed (tool dynamic data)

Real

[rpm]

R/W

WZ[j].S_MAX_SPEED

Maximum rotational speed (tool dynamic data)

Real

[rpm]

L

WZ[j].S_MAX_ACC

Maximum acceleration (tool dynamic data)

Real

[°/s2]

L

WZ[j].SISTER_VALID

Validity flag of sister tool (TOOL ID)

Boolean

0 , 1

L

WZ[j].SISTER

Number of valid sister tool

Integer

-

L

WZ[j].VARIANT_VALID

Validity flag of variant tool (TOOL ID)

Boolean

0 , 1

L

WZ[j].VARIANT

Number of valid variant tool

Integer

-

L

WZ[j].GOBJECT[i].*

Access to the subelements of a specific graphical object (see FCT-C15) as of CNC Build V3.01.3018

-

-

WZ[j].LINKPOINT.*

Access to the subelements of the associated link point (see FCT-C15) as of CNC Build V3.01.3018

-

-

...

The “WZ_AKT” variables and “T_AKT” and “D_AKT” permit access to the data of the currently selected tool. These variables are available both for an external tool management system and for the use of an internal tool table.

T_AKT

Number of the selected tool

Integer

-

L

D_AKT

Number of the selected tool compensation record

Integer

-

L

Notice

notice

A write access always causes the temporary change of tool data as long as this function is selected. When a new tool is selected (Dxx) or deselected (D0), the changed data are lost.

Exception:

When an external tool management system is used, the so-called additional tool data (V.G.WZ_AKT.P[i]) is adopted and saved when a new tool is selected or a tool is deselected (P-CHAN-00103).

WZ_AKT.R

Radius of the selected tool

Real

[mm, inch]

R/W

WZ_AKT.L

Length of the selected tool

Real

[mm, inch]

R/W

WZ_AKT.P[i]

Parameters of the selected tool

Real

-

R/W

WZ_AKT.V[i] or
WZ_AKT.V.X

Offset in axis <i> or "X" of the selected tool

Real

[mm, inch]

R/W

WZ_AKT.ME

Measuring unit of radius, length and axis offsets of the selected tool, always supplies 0 (for [mm]) when a tool list is used, otherwise the variable has no significance

Boolean

0 , 1

L

WZ_AKT.OK

Tool validity flag of the selected tool;
if valid, then 1

Boolean

0 , 1

L

WZ_AKT.SPDL_AX_NR

Logical axis number of the assigned spindle

Integer

-

L

WZ_AKT.KIN_PARAM[i]

CAUTION: Note on write access: Value must be programmed in internal units.

Kinematic parameters of the selected tool.

Real

[0.1 µm,
10-4°]

R/W

WZ_AKT.KIN_ID

Kinematic ID of the selected tool

Integer

-

L

WZ_AKT.TYPE

Tool type of the selected tool
(0: milling tool 1: turning tool 2: grinding tool)

Integer

-

L

WZ_AKT.TOOL_FIXED

Tool is alignable or fixed

Boolean

0 , 1

R/W

WZ_AKT.SRK_ID

Cutter orientation of the selected turning tool

Integer

-

L

WZ_AKT.S_MIN_SPEED

Minimum rotational speed (tool dynamic data)

Real

[rpm]

L

WZ_AKT.S_MAX_SPEED

Maximum rotational speed (tool dynamic data)

Real

[rpm]

L

WZ_AKT.S_MAX_ACC

Maximum acceleration (tool dynamic data)

Real

[°/s2]

L

WZ_AKT.SISTER_VALID

Validity flag of sister tool (TOOL ID)

Boolean

0 , 1

L

WZ_AKT.SISTER

Number of valid sister tool

Integer

-

L

WZ_AKT.VARIANT_VALID

Validity flag of variant tool (TOOL ID)

Boolean

0 , 1

L

WZ_AKT.VARIANT

Number of valid variant tool

Integer

-

L

WZ_AKT.WEAR_RADIUS

Total radius wear with radius compensation (OTC) (sum of discrete + continuous wear)

Real

[mm, inch]

L

WZ_AKT.WEAR_RADIUS_CONT

Continuous radius wear with radius compensation (OTC)

Real

[mm, inch]

L

WZ_AKT.WEAR[i] or
WZ_AKT.WEAR.X

Wear in axis <i> or "X" with length compensation (OTC)

Real

[mm, inch]

L

WZ_AKT.WEAR_CONST

Wear constant (OTC)

Real

[0.1 µm/m]

R/W

WZ_AKT.GOBJECT[i].*

Access to the subelements of a specific graphical object (see FCT-C15) as of CNC Build V3.01.3018

-

-

-

WZ_AKT.LINKPOINT.*

Access to the subelements of the associated link point (see FCT-C15) as of CNC Build V3.01.3018

-

-

-

NP[j].V[i] or
NP[j].V.X

Zero offset of an axis < i> or "X"

CAUTION: Write access causes permanent changes to internal zero offset data.

Real

[mm, inch]

R/W

NP[j].ALL

Address all axes of a zero offset group.

CAUTION: Write access causes permanent changes to internal zero offset data.

Real

[mm, inch]

R/W

NP_AKT.V[i] or
NP_AKT.V.X

Currently active zero offset of an axis <i> or "X"

Real

[mm, inch]

R/W

NP_AKT.ALL

Address currently active zero offsets of all axes

Real

[mm, inch]

R/W

NP_AKT.IDX

Index of the (currently active) zero offset group (e.g. 0 with G53, 1 with G54, etc.)

Integer

-

R

NP_DEFAULT

Index of zero offset group after start-up effective in initial state

Integer

-

R/W

CNC_CHANNEL

Channel number

Integer

-

R

IPO_COUNT

System time counter

Integer

-

R

CS_ACTIVE

CS (#CS…) active? If active, then TRUE

Boolean

0 , 1

R

CS_COUNT

Number of active (linked) CS

Integer

-

R

ACS_ACTIVE

ACS (#ACS…) active? If active, then TRUE

Boolean

0 , 1

R

ACS_COUNT

Number of active (linked) ACS

Integer

-

R

CS

Active tool compensation (1: RTCP 2: TLC 3: Fixture adaptive coordinate system (ACS) on/off

Integer

-

R

TOOL_COMP

Current clamp position offset index

Integer

-

R

AX_LINK.NR

Number of current or last active coupling group

Integer

-

R

AX_LINK.ACTIVE

Is an axis coupling (#AX LINK ON) active? If active, then 1

Boolean

0 , 1

R

AX_LINK_GROUP[i].ACTIVE

Is a specific coupling group with the number < i> active? If active, then 1

Boolean

0 , 1

R

ROT_ACTIVE

Contour rotation (#ROTATION...) active? If active, then 1

Boolean

0 , 1

R

ROT_ANGLE

Angle of contour rotation

Real

[°]

R

ROT_CENTER1

Offset of 1st main axis to rotation point with contour rotation

Real

[mm, inch]

R

ROT_CENTER2

Offset of 2nd main axis to rotation point with contour rotation

Real

[mm, inch]

R

TIMER[i]

Counter value of timer with number i

Integer

[ms]

R

PROG_ABS

Measuring system, 0: G91 active 1: G90 active

Boolean

0 , 1

R

CNC_RELEASE

Build number of CNC version (old syntax)

Integer

-

R

CNC_VERSION.MAJOR

Major version of the CNC [as of Build V2.11.2800]

(e.g. 2 with V2.11.2807.42)

Integer

-

R

CNC_VERSION.MINOR

Minor version of the CNC [as of Build V2.11.2800]

(e.g. 11 with V2.11.2807.42))

Integer

-

R

CNC_VERSION.BUILD

Build number of CNC version [as of Build V2.11.2800]

(e.g. 2807 with V2.11.2807.42))

Integer

-

R

CNC_VERSION.PATCH

Patch number of CNC version [as of Build V2.11.2800]

(e.g. 42 for V2.11.2807.42)

Integer

-

R

WCS_POSLIMIT_1

WCS_POSLIMIT_2

WCS_POSLIMIT_3

Motion limits in the main axes in WCS.

Only practical in conjunction with the NC command #GET WCS POSLIMIT

Real

[mm, inch]

R

RANDOM

Supplies a random value in the range 0.0 to 1.0

Real

-

R

The following variables permit access to the data of kinematics defined in the channel parameter list.

In versions up to V2.11.28xx and for single step transformations from V3.00, access uses V.G.KIN[j].* (where j:= kinematic ID).

For multi-step transformations (as of Build V3.00.3012.00), access uses V.G.KIN_STEP[i].ID[j].*

(where i:= transformation step 0 or 1 and j:= kinematic ID).

Attention

attention

Write access causes a permanent change to internal channel parameter data. Value must be programmed in internal units.

The changes are retained until the next start-up or updating of the channel parameter list.

(single-stage up to V3.00.3017.01):

V.G.KIN[j].*

(multi-stage up to V3.00.3018.00):

V.G.KIN_STEP[i].ID[j].*

Meaning

Data type

Unit of
In/Output

R/W*

PARAM[k]

Kinematic parameter where

<k>:= 0 ... Max. number of parameters - 1

Real

[0.1 µm,
10-4°]

R/W

* Enabled access: R/W = Read/Write

In addition, to permit access to data of Universal Kinematics (ID 91, [FCT-C27]), the variables listed below are provided:

ZERO_ORIENTATION[k]

Initial orientation of the tool where

<k>:= 0, 1, 2 (X, Y, Z)

Real

-

R/W

ZERO_POSITION[k]

Initial position of the tool where

<k>:= 0, 1, 2 (X, Y, Z)

Real

[0.1 µm,
10-4°]

R/W

PROGRAMMING_MODE

Programming mode, see P-CHAN-00112

Integer

-

R/W

RTCP

Angle transformation

Boolean

-

R/W

NUMBER_OF_AXES

Number of axes in kinematic chain

Integer

-

R/W

AXIS[k].*

Axis of kinematic chain where

<k>:= 0 … *.NUMBER_OF_AXES - 1

-

-

-

AXIS[k].TYPE

Axis type (1: translatory, 2: rotary)

Integer

-

R/W

AXIS[k].ORIENTATION[l]

Orientation vector of axis (direction) where

<l>:= 0, 1, 2 (X, Y, Z)

Real

-

R/W

AXIS[k].POINT[l]

Interpolation vertex on axis where

<l>:= 0, 1, 2 (X, Y, Z)

Real

[0.1 µm,
10-4°]

R/W

CHAIN[k]

Description of axis sequence in the kinematic chain where

<k>:= 0 … *.NUMBER_OF_AXES - 1

Integer

-

R/W

The 3 variables below permit read access to the currently selected kinematic ID:

V.G.KIN_ID

Currently selected kinematic ID for single-step transformations

Integer

-

R

V.G.KIN_ID_STEP[0]

Currently selected kinematic of the first step for multi-step transformations (as of Build V3.00.3018.00)

Integer

-

R

V.G.KIN_ID_STEP[1]

Currently selected kinematic of the second step for multi-step transformations (as of Build V3.00.3018.00)

Integer

-

R

TOTAL_KIN_OFFSET[i]

Effective total offset of the selected kinematics, consisting of the sum of kinematic offsets of the active tool and the kinematic offsets in the channel parameter list. [as of V2.11.2024.00]

Real

[0.1 µm,
10-4°]

R

MAIN_FILE_NAME

File name of the NC main program

String

-

R

MAIN_PROG_NAME

Name (%...) of the NC main program

String

-

R

MAIN_PROG_NR

Number of the NC main program if the program name is a digit

Integer

-

R

FILE_NAME

File name of the currently active NC program

String

-

R

PROG_NAME

Name (%...) of the currently active NC program

String

-

R

PROG_NR

Number of the currently active NC program if the NC program name is a digit

Integer

-

R

PROG_LEVEL

Program level of the currently active NC program:

1: Main program

≥ 2: Local or global subroutine

Integer

-

R

PATH_NR

Logical path number of the currently active NC main or global subroutine contained in the start–up list (P-STUP-00019)

Integer

-

R

FILE_OFFSET

File position of start of the NC block where V.G.FILE_OFFSET is programmed

Integer

-

R

MIRROR_ACTIVE

Is mirroring (G351 X... or G21, G22, G23) active?
If active, then 1

Boolean

0 , 1

R

BLOCK_SEARCH_ACTIVE

Block search active? If active, then 1

Boolean

0 , 1

R

TRAFO_ACTIVE

Is kinematic transformation (#TRAFO...) active?
If active, then 1

Boolean

0 , 1

R

MCS_ACTIVE

Is temporary transition to the machine axis coordinate system (#MCS...) active?
If active, then 1

Boolean

0 , 1

R

HSC_ACTIVE

Is free-form surface machining (#HSC...) or spline interpolation (#SPLINE... or G151) active?
If active, then 1

Boolean

0 , 1

R

HSC_SURFACE_ACTIVE

Is free-form surface machining (#HSC [SURFACE...]) active? If active, then 1

Boolean

0 , 1

R

CONT_MODE_ACTIVE

Is polynomial contouring (G261) active?
If active, then variable supplies the value of the current contouring type:

3 with contouring type DIST

4 with contouring type DEV

5 with contouring type POS

6 with contouring type DIST_SOFT

6 with contouring type DIST_MASTER

7 with contouring type PTP

0 with G260

Integer

-

R

TRC_ACTIVE

Is tool radius compensation (G41, G42) active??
If active, then 1

Boolean

0 , 1

R

OTC_ACTIVE

Is online tool compensation (#OTC...) active?
If active, then 1

Boolean

0 , 1

R

CYCLE_ACTIVE

Is the current program level a cycle? If the current program was called with L or LL CYCLE... or G8xx with parameter transfer, then 1

Boolean

0 , 1

R

@P[i].VALID

Is transfer parameter programmed in the cycle call or subroutine call with –G8xx?

0: Parameter is not programmed

1: Parameter is programmed

The index contains the number of the parameter which is subject to a validity check. (E.g. 1 for @P1 or on request of the first parameter when called with G8xx).

NOTE for read access: The variable can only be used inside a cycle or in global subroutines G8xx with parameter transfer.

Boolean

0 , 1

R

TIME_STAMP

Current time stamp <date time> in format
<DD.MM.YYYY hh:mm:ss:zzz>:

D: Day, two-digit

M: Month, two-digit

Y: Year, four-digit

h: Hours, two-digit

m: Minutes, two-digit

s: Seconds, two-digit

z: Milliseconds, three-digit

(e.g. 16.06.2015 14:08:10:123) [as of Build V2.10.1507.02]

String

-

R

TIME_STAMP_FILE_NAME

Current time stamp <date time> in the format as per ISO 6801:2004 <YYYYMMDDThhmmsszzz> without '.' and ':' e.g. for use in names of log files where:

Y: Year, always four-digit

M: Month, two-digit

D: Day, two-digit

h: Hours, two-digit

m: Minutes, two-digit

s: Seconds, two-digit

z: Milliseconds, three-digit

(e.g. 20150616T140810123) [as of Build V2.11.2024.03]

String

-

R

LIFT_ACTIVE

Is lift/lower an axis (X[LIFT...]) active?
If active, then 1

Boolean

0 , 1

R

The following variables permit access to data of the M/H functions defined in the channel parameters.

Notice

notice

When M/H functions are defined with pre-output function (MEP_SVS, MET_SVS), the following must be taken into consideration:

If write access (S) to the pre-output values and the synchronisation modes of the M/H functions do not match, the synchronisation mode is implicitly adapted.

If read access (L) to the pre-output values and the synchronisation modes of the M/H functions do not match, an error message is output.

Attention

attention

The changes are retained until the next start-up or updating of the channel parameter list.

M_FCT[i].SYNCH

Synchronisation mode of an M function defined in the P-CHAN-00041 channel parameters < i>

Integer

-

R/W

M_FCT[i].PRE_OUTP_PATH

Pre-output path m_pre_output of an M function <i> of type MEP_SVS defined in the P-CHAN-00070 channel parameters

Real

[mm, inch]

R/W

M_FCT[i].PRE_OUTP_TIME

Pre-output time m_pre_output of an M function <i> of type MET_SVS in the P-CHAN-00070 channel parameters

Real

[s]

R/W

H_FCT[i].SYNCH

Synchronisation mode of an H function <i> defined in the P-CHAN-00027 channel parameters

Integer

-

R/W

H_FCT[i].PRE_OUTP_PATH

Pre-output path h_pre_output of an H function <i> of type MEP_SVS defined in the P-CHAN-00107 channel parameters

Real

[mm, inch]

R/W

H_FCT[i].PRE_OUTP_TIME

Pre-output time h_pre_output of an H function <i> of type MET_SVS in the P-CHAN-00107 channel parameters

Real

[s]

R/W

The "V.G.SPEED_LIMIT” variables permit access to parameters pre-assigned in the channel parameters for speed limit look ahead [1]-6.

Notice

notice

With write access the changed parameterisation is output to the channel. A possibly active motion is interrupted.

If write access (S) to these values and the unit of the distance parameters do not match, the unit is implicitly adapted.

If read access (L) to these values and the unit of the distance parameters do not match, an error message is output.

Attention

attention

The changes are retained up to program end or RESET. After program start the settings of the channel parameters are valid again.

SPEED_LIMIT.ENABLE

Select/deselect speed limit look ahead (0: deselect 1: select)

Boolean

0 , 1

R/W

SPEED_LIMIT.VEL_LIMIT

Definition of speed limit value

Integer

[%]

R/W

SPEED_LIMIT.TIME

Define the unit of the distances to and from the "corner" (0: path 1: time)

Boolean

0 , 1

R/W

SPEED_LIMIT.DIST_TO_CORNER

Path distance to "corner"

Real

[mm, inch]

R/W

SPEED_LIMIT.DIST_FROM_CORNER

Path distance from "corner"

Real

[mm, inch]

R/W

SPEED_LIMIT.TIME_TO_CORNER

Time distance to "corner"

Real

[s]

R/W

SPEED_LIMIT.TIME_FROM_CORNER

Time distance from "corner"

Real

[s]

R/W

SPEED_LIMIT.OVERRIDE_WEIGHT

Weighting of speed limit value (0: no weighting 1:

1: weighting by override)

Boolean

0 , 1

R/W

MAX_NC_BLOCKS_AHEAD

Block-related decoder block ahead limiting: all NC blocks

Integer

-

R/W

MAX_MOTION_BLOCKS_AHEAD

Block-related decoder block ahead limiting: NC motion blocks only

Integer

-

R/W

MAX_TIME_AHEAD

Time-related decoder block ahead limiting

Real

[s]

R/W

CIRCLE_CP_ABS

Circle centre point definition, 0: G162 active 1: G161 active

Boolean

0 , 1

R

CIRCLE_CPC_ACTIVE

Is circle centre point correction (G165) active?

If active, then 1

0 with G164

Boolean

0 , 1

R

SEGMENTATION_ACTIVE

Is segmentation (#SEGMENTATION...) active? If active, then 1

Boolean

0 , 1

R

STROKE_DEF_ACTIVE

Is definition of a stroke motion (#STROKE DEF…) active? If active, then 1

Boolean

0 , 1

R

PUNCH_ACTIVE

Is online tool compensation (#PUNCH...) active?
If active, then 1

Boolean

0 , 1

R

NIBBLE_ACTIVE

Is nibbling (#NIBBLE...) active?
If active, then 1

Boolean

0 , 1

R

EDM_ACTIVE

Is EDM machining (#EDM...) active?
If active, then 1
[As of CNC Build V3.1.3019]

Boolean

0 , 1

R

FRICTION_ACTIVE

Is recording of friction compensation values (#FRICTION ON […] active?
If active, then 1
[As of CNC Build V2.11.2022.05]

Boolean

0 , 1

R

VECTOR_OFFSET_ACTIVE

Is cutting edge compensation (#VECTOR OFFSET...) active? If active, then 1

Boolean

0 , 1

R

CROSS_COMP_INIT[i] or
CROSS_COMP_INIT.X

Is cross compensation initialised for axis < i> or "X"? If yes, then 1

Boolean

0 , 1

R

PLANE_COMP_INIT[i] or
PLANE_COMP_INIT.X

Is plane compensation initialised for axis < i> or "X"? If yes, then 1

Boolean

0 , 1

R

LEAD_COMP_INIT[i] or
LEAD_COMP_INIT.X

Is leadscrew error compensation initialised for axis <i> or "X"? If yes, then 1

Boolean

0 , 1

R

TEMP_COMP_INIT[i] or
TEMP_COMP_INIT.X

Is temperature compensation initialised for axis <i> or "X"? If yes, then 1

Boolean

0 , 1

R

CROSS_COMP_INIT[i] or
CROSS_COMP_ACTIVE.X

Is cross compensation active for axis <i> or "X"? If yes, then 1

Boolean

0 , 1

R

PLANE_COMP_ACTIVE[i] or
PLANE_COMP_ACTIVE.X

Is plane compensation active for axis <i> or "X"? If yes, then 1

Boolean

0 , 1

R

LEAD_COMP_ACTIVE[i] or
LEAD_COMP_ACTIVE.X

Is leadscrew error compensation active for axis <i> or "X"? If yes, then 1

Boolean

0 , 1

R

TEMP_COMP_ACTIVE[i] or
TEMP_COMP_ACTIVE.X

Is temperature compensation active for axis <i> or "X"? If yes, then 1

Boolean

0 , 1

R

FILE_EXIST

Result of request with #FILE EXIST

If file check is positive, then 1

Boolean

0 , 1

R

MEAS_TYPE

Value of currently active measurement type [as of Build V2.11.2022.03]

Integer

-

R

TRACK_CS.X

TRACK_CS.Y

TRACK_CS.Z

TRACK_CS.A

TRACK_CS.B

TRACK_CS.C

Values of master position with dynamic coordinate system (see [FCT-C30]).

REAL

[mm, inch]

R

The following V.G. variables permit the readout of the number of all write accesses to the contents of each list since controller start-up. [available as of Build V2.11.2037.03]

CHAN_LIST_INVOKE

Channel parameter list

Integer

-

R

CLAMP_LIST_INVOKE

List of clamping offsets

Integer

-

R

TOOL_LIST_INVOKE

Tool list

Integer

-

R

VE_VAR_LIST_INVOKE

List of external variables

Integer

-

R

ZERO_POINT_LIST_
INVOKE

Zero offset list

Integer

-

R

The number of write accesses to individual zero offset groups is also possible [available as of V2.11.2037.03].

NP[j].INVOKE_COUNT

Number of all write accesses to a zero offset since controller start-up

Integer

-

R

NP_AKT.
INVOKE_COUNT

Number of all write accesses to current zero offset group since controller start-up

Integer

-

R

Programing Example

prg_example

Read the number of write accesses to a zero offset group

N010 P1 = V.G.NP[1].INVOKE_COUNT ; Read counter

N020 V.G.NP[1].V.X = 15

N030 V.G.NP[1].V.X = 16

N040 $IF P1 +2!= V.G.NP[1].INVOKE_COUNT ; Read counter again

N050   #ERROR [ID1]

N060 $ENDIF

N070 G54

N080 $IF V.G.NP_AKT.INVOKE_COUNT != V.G.NP[1].INVOKE_COUNT

N090   #ERROR [ID2]

N100 $ENDIF

N110 G53

N120 M30