Siemens SINUMERIK 840D sl Commissioning Manual page 705

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

6.2.8
Example Version management with OUTPUT blocks
Overview
Additional variables can be added to existing dialogs when expanding the user interface. A
version identifier in parentheses is appended to the additional variables in the definition
following the variable name: (0 = Original, is not written), 1 = Version 1, 
 2 = Version 2, etc.
Example
DEF var100=(R//1)
DEF var101(1)=(S//"Hello")
When writing the OUTPUT block, you can specify which variables are written, with reference
to a particular version identifier.
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 ***************
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1
GC("NC1")
;
Original, corresponds to Version 0
;
Expansion with effect from Version 1
;
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)
Programming commands
6.2 Methods
87

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents