Siemens SINUMERIK Commissioning Manual page 412

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

Advertisement

Programming
2.6 Methods
2.6
Methods
2.6
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
PRESS(HS1)
LM...
Var1.st = ...
Var2 = Var3 + Var4
...
EXIT
END_PRESS
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
● The global CHANGE method is executed if the value of any variable changes and no
"Element-specific" programming
Syntax:
Description:
Parameters:
2-62
LS...
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.
element-specific CHANGE method has been configured.
Comment
;Method start identifier
;Functions
;Changing properties
;Calculation with variables
;Method end identifier
(Identifier)
CHANGE
...
END_CHANGE
Changes the value of a specific variable
Identifier
Name of the variable
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Chapter reference
See chapter "Functions"
see chapter "Softkey menu"
and chapter "Dialog elements"
See chapter "Defining variables"
Expanding the user interface

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents