Siemens SINUMERIK 840D sl Programming Manual page 55

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Examples
Program code
DEF INT VAR1
DEF BOOL IS_VAR=FALSE
N10 IS_VAR=ISVAR("VAR1")
Program code
DEF REAL VARARRAY[10,10]
DEF BOOL IS_VAR=FALSE
N10 IS_VAR=ISVAR("VARARRAY[,]")
N20 IS_VAR=ISVAR("VARARRAY")
N30 IS_VAR=ISVAR("VARARRAY[8,11]")
N40 IS_VAR=ISVAR("VARARRAY[8,8")
N50 IS_VAR=ISVAR("VARARRAY[,8]")
N60 IS_VAR=ISVAR("VARARRAY[8,]")
Program code
DEF BOOL IS_VAR=FALSE
N100 IS_VAR=ISVAR("$MC_GCODE_RESET_VALUES[1]"
Program code
DEF BOOL IS_VAR=FALSE
N10 IS_VAR=ISVAR("$P_EP")
N20 IS_VAR=ISVAR("$P_EP[X]")
Job Planning
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Comment
; IS_VAR is in this case TRUE.
Comment
; IS_VAR is in this case TRUE, is a two-
dimensional array.
; IS_VAR is TRUE, variable exists.
; IS_VAR is FALSE, array index is not
permitted.
; IS_VAR is FALSE, "]" missing (syntax
error).
; IS_VAR is TRUE, array index is
permitted.
; IS_VAR is TRUE, array index is
permitted.
Comment
; IS_VAR is in this case TRUE.
; IS_VAR is in this case TRUE.
Flexible NC programming
1.1 Variables
Comment
; Transfer parameter is a
machine data item, IS_VAR
is TRUE.
55

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents