Siemens SINUMERIK 840D sl Commissioning Manual page 51

Commissioning cnc part 2 (hmi)
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

08/2005
Help variables
Help variables are internal arithmetic variables.
Arithmetic variables are defined like other variables, but have no other properties
apart from variable value and status, i.e., Help variables are not visible in the
screen form. Help variables are of the Variant type.
DEF Identifier
where:
Identifier
DEF OTTO
A value is assigned to a Help variable in a method.
Identifier.val = Help value variable
Or
Identifier = Help variable value
where:
Identifier
Help variable value
LOAD
OTTO = "Test"
END_LOAD
LOAD
OTTO = REG[9].VAL
END_LOAD
The Status property can be used to scan the Help variable to find out whether its
value is valid. Status is a read-only property.
Identifier.vld
where:
Identifier
The result of the scan can be:
FALSE = invalid value
TRUE = valid value
IF OTTO.VLD == FALSE
OTTO = 84
ENDIF
Calculation with variables
Variables are calculated every time you exit an I/O field (using ENTER or TOGGLE
key). The calculation is configured in a CHANGE method that is processed every
time the value changes.
The variable status (see 3.3.9 "Variable status") can be used to scan a variable to
find out whether its value is valid or not.
Var1 = Var5 + SIN(Var2)
Otto = PI * Var4
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
Expanding the Operator Interface (BE1)
Name of Help variables
;Definition of a Help variable
Name of the Help variables
Content of the Help variables
;Assign Help variable Otto the value "Test"
;Help variable
;Assign value of register to
;Help variable
Name of Help variables
3 Syntax
BE1/3-45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 810dSinumerik 840diSinumerik 840d

Table of Contents