PRESS method
The softkey is defined within the definition block and the "LM" or "LS" function is assigned in
the PRESS method.
If the start softkey definition is designated as a comment (semicolon (;) at beginning of line)
or the configuration file removed, the start softkey will not function.
//S(Start) ; Start identifier
HS6=("1st screen form") ; Horizontal SK 6 labeled "1st screen form"
PRESS(HS6) ; PRESS method for horizontal SK 6
LM("Screen form1") ; Load screen form1 function, where screen form 1
must be defined within the same file.
END_PRESS ; End of PRESS method
HS7=("2nd screen form") ; Horizontal SK 7 labeled "2nd screen form"
PRESS(HS7) ; PRESS method for horizontal SK 7
LM("Screen form2") ; Load screen form2 function, where screen form2
must be defined within the same file.
END_PRESS ; End of PRESS method
//END ; End identifier of entry block
Example
HS1 = ("new softkey menu")
HS2=("no function")
PRESS(HS1)
LS("Menu1") ;Load new softkey bar
END_PRESS
PRESS (HS2) ; Empty PRESS method
END_PRESS
Various configurations of the start softkeys
Various configurations of the start softkeys are merged. In this case, initially the name of the
file to be interpreted is read-out of easyscreen.ini. A search is made for files with the .com
extension in the following directories:
●
[System user directory]
/proj
●
[System oem directory]
/proj
●
[System add_on directory]/
proj
●
[System Siemens directory]
/proj
The configurations included for the start softkeys are now merged to form a configuration, i.e.
the individual softkeys are compared. If there are two or more configurations for a softkey, the
higher order configuration is always transferred into the merge version.
Fundamentals
3.3 Definition and functions for start softkeys
SINUMERIK Integrate Run MyScreens
30 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3