Siemens SINUMERIK Commissioning Manual page 419

Sinumerik 840di sl/840d sl/840dbase software and hmi advanced
Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

Example
OUTPUT(NC1)
OUTPUT(NC1,1)
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)
DEF var100=(R//1)
DEF var101=(S//"Hello")
DEF TMP
VS8=("GC")
PRESS(VS8)
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)
END_PRESS
...
OUTPUT(NC1)
var100","var101
END_OUTPUT
...
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
GC("NC1")
GC("NC1")
;
Only the variables of the original version are
made available in the OUTPUT block.
;
The variables of the original version and the
expansions with version identifier 1 are made
available in the OUTPUT block
;
Version 0 (default)
;
Original and the new version in addition
Programming
2.6 Methods
2-69

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents