Examples Of Scripts In The Dialog Pages - Siemens SINUMERIK 840D sl Operating Manual

Integrate create myconfig - diff, expert, topo
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Note
Exceptions: Skip() not permissible
It is not permissible to use Skip() on the following dialog pages and it is rejected with an
error message during the verification run.
● Select offline archive
● PCU access
● NCU/PPU access
● System configuration
Insert script
Information on inserting a script and on the following options can be found in the Script
language (Page 279) section at:
● Sections (Page 281)
● Data accesses (Page 333)
● Package variables (Page 336)
● Area data (Page 282)
● Control structures (Page 283)
● Operators (Page 286)
● Functions
4.4.2.3

Examples of scripts in the dialog pages

Some examples for scripts in dialog pages are provided below.
Example: Querying a correct entry in the CNC software dialog
if Up.$Dialog.NcuSetup.Mode == Up.$Dialog.NcuSetup.Modes.NONE
warning("System software must be installed, please correct!")
redo()
endif
if Up.$Dialog.NcuSetup.TgzFile != "04.05.SP2.tgz"
msg("The incorrect software release was selected!")
redo()
endif
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 12/2017, A5E36537479B-AE
Create MyConfig - Expert
4.4 Project folder
149

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents