Programming
2.6 Methods
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-69
Example
OUTPUT(NC1)
; Only the variables of the original version are
made available in the OUTPUT block.
OUTPUT(NC1,1)
; The variables of the original version and the
expansions with version identifier 1 are made
available in the OUTPUT block
The OUTPUT block for the original version does not need a version identifier, however you
can specify it with 0. OUTPUT(NC1) is equivalent to OUTPUT(NC1,0). Version identifier n in
the OUTPUT block includes all variables of the originals 0, 1, 2, ... up to and including n.
Programming with version identifier
//M(XXX)
; Version 0 (default)
DEF var100=(R//1)
DEF var101=(S//"Hello")
DEF TMP
VS8=("GC")
PRESS(VS8)
GC("NC1")
END_PRESS
OUTPUT(NC1)
var100",,"var101
END_OUTPUT
; ************ Version 1, extended definition ***************
//M(XXX)
DEF var100=(R//1)
DEF var101=(S//"Hello")
DEF var102(1)=(V//"HUGO")
DEF TMP
VS8=("GC")
PRESS(VS8)
GC("NC1")
END_PRESS
...
OUTPUT(NC1)
; Original and the new version in addition
var100","var101
END_OUTPUT
...
Summary of Contents for SINUMERIK
Page 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Page 96: ......
Page 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...