EasyManuals Logo
Home>Siemens>Control Unit>SINUMERIK

Siemens SINUMERIK Commissioning Manual

Siemens SINUMERIK
736 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #412 background imageLoading...
Page #412 background image
Programming
2.6 Methods
Expanding the user interface
2-62 Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2.6 2.6 Methods
Overview
Various types of event (exit input field, actuate softkey) can initiate specific actions in dialogs
and dialog-dependent softkey menus (softkey menus that are called from a newly configured
dialog). These actions are configured in methods.
The following table shows the basic principle used to program a method:
Definition block Comment Chapter reference
PRESS(HS1)
;Method start identifier
LM...
LS...
;Functions See chapter "Functions"
Var1.st = ...
;Changing properties see chapter "Softkey menu"
and chapter "Dialog elements"
Var2 = Var3 + Var4
...
EXIT
;Calculation with variables See chapter "Defining variables"
END_PRESS
;Method end identifier
2.6.1 CHANGE
Description
CHANGE methods are executed if a variable value changes, i.e., variable calculations that
are performed as soon as a variable value changes are configured within a CHANGE
method.
There are two types of CHANGE method, i.e., element-specific and global:
The element-specific CHANGE method is executed if the value of a specified variable
changes. If a system or user variable is assigned to a variable, cyclic updating of the
variable value can be configured in a CHANGE method.
The global CHANGE method is executed if the value of any variable changes and no
element-specific CHANGE method has been configured.
"Element-specific" programming
Syntax: CHANGE
(Identifier)
...
END_CHANGE
Description: Changes the value of a specific variable
Parameters: Identifier Name of the variable

Table of Contents

Other manuals for Siemens SINUMERIK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK and is the answer not in the manual?

Siemens SINUMERIK Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK
CategoryControl Unit
LanguageEnglish

Related product manuals