Note
Exceptions: Skip() not permitted
It is not permitted 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 240) section at:
● Sections (Page 242)
● Data access operations (Page 244)
● Package variables (Page 247)
● Area data (Page 249)
● Control structures (Page 250)
● Operators (Page 253)
● Functions (Page 257)
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, 11/2016, A5E36537479B-AD
Create MyConfig - Expert
4.4 Project folder
119