Functions For Start Sofkeys - Siemens SINUMERIK 840D sl Commissioning Manual

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

Advertisement

Expanding the Operator Interface (BE1)
3 Syntax
Example:
DEF VAR01
DEF VAR02
LOAD
VAR01="HELLO/WORLD"
VAR02=MIDS(VAR01,4,4)
END_LOAD
Replacing characters
Syntax
REPLACE ( String, FindString, ReplaceString [, Start [, Count ] ] )
Parameter:
String
FindString
ReplaceString
Start
Count
Function:
The REPLACE function replaces a character/string in a string by another
character/string. It is similar to the basic function of the same name.
Return value:
If...
String = Blank string
FindString = Blank string
ReplaceString = Blank string
Start > Len(String)
Count = 0
3.6.12
Functions for start softkeys
Start softkeys can be used to initiate certain functions. The following functions are
possible:
• The LM function can be used to load another screen form.
LM("Identifier"[,"File"])
• The LS function can be used to display another softkey menu.
LS("identifier"[, "file"][, merge])
• You can use the EXIT function to leave the newly configured user interfaces
and return to the standard application.
• You can use the EXITLS function to exit the current user interfaces and load a
defined softkey menu.
BE1/3-102
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
String, in which the Fin String is to be replaced by the
ReplaceString
String to be replaced
Replacement string (is used instead of the FindString)
Start position from which a search is made or replacement
made
Number of characters that are to be searched from the Start
position after the FindString
Return value
Copy of String
Copy of String
Copy of String, in which all occurrences of
FindString are deleted
Blank string
Copy of String
;Result = "LO/W"
© Siemens AG, 2005. All rights reserved
08/2005

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 810dSinumerik 840diSinumerik 840d

Table of Contents