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 #112 background imageLoading...
Page #112 background image
Expanding the Operator Interface (BE1) 08/2005
3 Syntax
© Siemens AG, 2005. All rights reserved
BE1/3-106 SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
S_CHAN
Variable n S_CHAN can be used to determine the number of the current channel
for display or any evaluation purposes.
CURPOS
Using the CURPOS variable, it is possible to call or manipulate the position of the
cursor in the active input field of the current screen form. The variable indicates
how many characters are located in front of the cursor. If the cursor is located at
the start of the input field, then CURPOS assumes the value of 0. If the value of
CURPOS is changed, then the cursor is positioned at the appropriate location in
the input field.
In order to be able to respond to changes in the variable value, it is possible to
monitor for changes using a CHANGE block. If the value of CURPOS changes,
then a jump is made to the CHANGE block and the instructions contained there are
executed.
3.8 Error handling, log book
The log book is a file (Error.com) to which error messages generated by syntax
interpretation are written.
The operator himself must set up the file in the comment directory (HMI Advanced).
DEF VAR1 = (R)
DEF VAR2 = (R)
LOAD
VAR1 = VAR2 + 1 ;Error message in log book because
;VAR2 has no value
The system does not start to interpret syntax until the start softkey has been
defined and a screen form with start and end identifiers and a definition line has
been configured.
//S(Start)
HS6=("1st screen form")
PRESS(HS6)
LM("Form1")
END_PRESS
//END
//M(Form1)
DEF Var1=(R)
//END

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