Siemens SINUMERIK Commissioning Manual page 418

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

Advertisement

Programming
2.6 Methods
Parameters:
Example
HS1 = ("another softkey menu")
HS2=("no function")
PRESS(HS1)
LS("Menu1")
Var2 = Var3 + Var1
END_PRESS
PRESS (HS2)
END_PRESS
PRESS(PU)
INDEX = INDEX -7
CALL("UP1")
END_PRESS
2.6.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.
2-68
Softkey
Name of softkey: HS1 - HS8 and VS1 - VS8
RECALL
<RECALL> key
PU
Page Up
PD
Page Down
SL
Scroll left
SR
Scroll right
SU
Scroll up
SD
Scroll down
;
Original, corresponds to Version 0
;
Expansion with effect from Version 1
Screen up
Screen down
Cursor left
Cursor right
Cursor up
Cursor down
;
load another softkey menu
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Expanding the user interface

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents