Channel-specific realtime variables

Variable name

Meaning

Data type

Unit

Permitted access

Decoder

Real-time cycle

V.RTG.TIMER[]

Timer value for real-time context, see Section Real-time variables.

UNS32

ms

R

R

V.RTG.CYCLES.DIAG_LEVEL

Diagnosis level for real-time cycles, see Section Diagnosis.

SGN32

-

R/W

R/W

V.RTG.OVERRIDE.VEL.CYCLE

Velocity override from real-time cycles

UNS16

%

R

R/W

V.RTG.OVERRIDE.VEL.TOTAL

Velocity override combined from all influences

UNS32

%

R

R

V.RTG.MEAS_DELTA

Delta between programmed and actual edge banding

REAL64

mm

R/W

-

V.RTG.LOOP.ENABLED
as of V3.1.3105.01

Loop condition for a real-time loop

BOOL

-

R/W

R/W

V.RTG.LOOP.COUNT

as of V3.1.3105.01

Number of real-time loops executed

SGN32

-

R/W

R/W

Programming Example

Reduce path override

; Define real-time cycle
#RT CYCLE [SCOPE = PROG]
  ; Query ACS position of X axis
  ; Override must be written cyclically, i.e. without ONCE
    $IF V.RTA.ACS.ACT_POS.X > 200
      ; Reduce channel override to 75%
      V.RTG.OVERRIDE.VEL.CYCLE = 75
$ENDIF
#RT CYCLE END
; Move X axis to 500mm
; move slower at 200mm
G00 X500
; End main program
M30