EasyManuals Logo

Siemens SINUMERIK 828D Commissioning Manual

Siemens SINUMERIK 828D
1167 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 #992 background imageLoading...
Page #992 background image
5.2 Application examples
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 dialog. Help variables are of the VARIANT type.
Programming
Syntax: DEF
Identifier
Description: Internal arithmetic variables of the VARIANT type
Parameter:
Identifier: Name of the Help variable
Example: DEF OTTO ;Definition of a Help variable
Syntax: Identifier.val =
Help variable value
Identifier =
Help variable value
Description: A value is assigned to a Help variable in a method.
Parameter:
Identifier: Name of the Help variable
Help variable value: Content of the Help variables
Example:
LOAD
OTTO = "Test"
END_LOAD
; The value "Test" is assigned to help variable Otto.
LOAD
OTTO = REG[9].VAL
END_LOAD
;
The value of the register is assigned to help variable
Otto
Calculation with variables
Variables are calculated every time you exit an IO field (by pressing the ENTER or TOGGLE
key). The calculation is configured in a CHANGE method that is processed every time the
value changes.
You can scan the variable status to ascertain the validity of the value of the variable, e.g.
IF VAR1.VLD == FALSE
VAR1 = 84
ENDIF
Variables
5.2 Application examples
SINUMERIK Integrate Run MyScreens
62 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 828D Specifications

General IconGeneral
Control TypeCNC
Operating SystemWindows Embedded
ProcessorIntel Atom
Display10.4" color TFT display
InterfacesEthernet, USB
ProgrammingShopMill, ShopTurn
Operation Panel Size10.4"
Protection ClassIP65
PLC Memory2 MB
Spindle Capacity4 spindles
Hard DriveCompactFlash

Related product manuals