Axis-specific variables (V.A.)

The code for axis-specific variables is "V.A. ...".

Attention

attention

V.A. variables can only be programmed for linear and rotary axes but not for spindles.

V.A.<var_name>

Meaning

Data type

Unit of
In/Output

Enabled access
Read /
Write

MENT.X

Virtual coordinate of the previous NC block

(see Section Mirroring G20-G23)

Real

[mm, inch]

R

PROG.X

Programmed coordinate of the previous NC block During active contour rotation (#ROTATION) the variable supplies the coordinate value mapped onto the machine axes.

Real

[mm, inch]

R

ABS.X

Absolute coordinate of the previous NC block or current absolute coordinate after NC command #CHANNEL INIT each in the currently active coordinate system

Real

[mm, inch]

R

ACS.ABS.X

Current actual axis position in the present coordinate system without offsets.

Real

[mm, inch]

R

ACS.ABS.X

Current actual position during active transformation mapped onto the machine axes.

Real

[mm, inch]

R

-SWE.X

Current effective negative software limit switch

Real

[mm, inch]

R

+SWE.X

Current effective positive software limit switch

Real

[mm, inch]

R

-SWE_MDS.X

Configured negative software limit switch (acc. to P-AXIS-00177).

Real

[mm, inch]

R

+SWE_MDS.X

Configured positive software limit switch (acc. to P-AXIS-00178).

Real

[mm, inch]

R

REF.X

Machine reference point (only assigned after successful machine reference search)

Real

[mm, inch]

R

BZP.X

Reference point offset

Real

[mm, inch]

R

PZV.X

Clamp position offset

Real

[mm, inch]

R

MESS.X

After measurement run completed, supplies the axis-specific measured value in the coordinate system in which measurement took place. The value includes all offsets in the calculation

With 2.5D: ACS values or with CS / TRAFO: PCS values

Real

[mm, inch]

R

Release Note

release_note

As of Build V2.11.2020.07 the axis-specific variables V.A.MEAS.ACS.VALUE and V.A.MEAS.PCS.VALUE supplement the variable V.A.MESS. The additional variables supply the measured value both in the axis coordinate system including all offsets and also the measured value in the programming coordinate system without offsets.

MEAS.ACS.VALUE.X

After measurement run completed, supplies the axis-specific measured value in the axis coordinate system (ACS). The value contains all offsets.

Real

[mm, inch]

R

MEAS.PCS.VALUE.X

After measurement run completed, supplies the axis-specific measured value in the programming coordinate system (PCS). The value does not contain any offsets

Real

[mm, inch]

R

MOFFS.X

Measurement offset

Real

[mm, inch]

R

MERF.X

Measurement run completed? If yes, then 1

Boolean

0 , 1

R

MEIN.X

Included measuring offset

Real

[mm, inch]

R

RERF.X

Homing completed ? If yes, then 1

Boolean

0 , 1

R

MANUAL_OFFSETS.X
or SOFFS.X

Motion path in manual mode. Only practical in conjunction with NC command #GET MANUAL OFFSETS.

Real

[mm, inch]

R

MODE.X

Current axis mode

Integer

-

R

MODULO_VALUE.X

Modulo range

Real

[°]

R

LOG_AX_NR.X

Logical axis number of an axis

Integer

-

R

AX_LIST_NAME.X

Configured axis name (acc. to P-AXIS-00297)

String

-

R

ENCODER2_VALUE.X

Current value of a second encoder (optional) in the drive

Real

[mm, inch]

R

MIRROR.X

Mirror status of axis
(1: no mirroring -1: mirroring)

Integer

-

R

WCS.X

MCS.X

Conversion between machine coordinates (MCS) and workpiece coordinates (WCS). Only practical in conjunction with NC commands #WCS TO MCS and #MCS TO WCS

Real

[mm, inch]

R/W

When strings are used for axis designation (e.g. X_SLIDE, see also Sec. 3.1) these axis names are used to identify the variables.

Example: V.A.MENT.X_SCHLITTEN

Programing Example

prg_example

N10 G90 G92 X50

N20 G100 X100

;Meas. run, interrupt 2 mm before target

N30 G90 G92 X0

N40 XV.A.MESS.X YV.A.MOFFS.X

;X at 148 (98+50), Y at 2

or

N40 XV.A.MEAS.ACS.VALUE.X YV.A.MOFFS.X

;X at 148 (98+50), Y at 2

N50 XV.A.MEAS.PCS.VALUE.X

;X at 98