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 #110 background imageLoading...
Page #110 background image
Expanding the Operator Interface (BE1) 08/2005
3 Syntax
© Siemens AG, 2005. All rights reserved
BE1/3-104 SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
LOAD
VAR2 = REG[0]
END_LOAD
Note
If a new form is generated from an existing form by means of the LM function, the
content of registers are automatically transferred to the new screen form at the
same time and so are available for further calculations in the second screen form.
Register status
The Status property can be used to scan a register for valid content. Status is a
read-only property.
Identifier.vld
where:
Identifier Name of register
The result of the scan can be:
FALSE = invalid value
TRUE = valid value
One possible use for the register scan function is to ensure that a value is written to
a register only if the relevant screen form is a "master screen form".
IF REG[15].VLD == FALSE ;Scan validity of register value
REG[15] = 84
ENDIF
VAR1 = REG[9].VLD ;Assign Var1 the value of the status scan
;of REG[9]
Error variable ERR
Variable ERR can be used to check whether the preceding lines have been
executed correctly.
ERR
The result of the scan can be:
FALSE = previous line was executed error-free
TRUE = previous line was not executed error-free
The ERR variable is read-only.
VAR4 = Thread[VAR1,"KDM",3] ;Output array value
IF ERR == TRUE ;Scan to check whether value has
;been found in array
VAR5 = "Array accessing error"
;If the value has not been found
;in the array, the value "All OK"
;accessing error" is assigned to the
;variable
ELSE
VAR5 = "All OK" ;If the value has been found
;in the array, the value "All OK"
;is assigned to the variable
ENDIF

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