EasyManuals Logo

Siemens SINUMERIK 840D Commissioning Manual

Siemens SINUMERIK 840D
626 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 #51 background imageLoading...
Page #51 background image
08/2005 Expanding the Operator Interface (BE1)
3 Syntax
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
BE1/3-45
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 Name of Help variables
DEF OTTO ;Definition of a Help variable
A value is assigned to a Help variable in a method.
Identifier.val = Help value variable
Or
Identifier = Help variable value
where:
Identifier Name of the Help variables
Help variable value Content of the Help variables
LOAD
OTTO = "Test" ;Assign Help variable Otto the value "Test"
;Help variable
END_LOAD
LOAD
OTTO = REG[9].VAL ;Assign value of register to
;Help variable
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 Name of Help variables
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

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals