Special Operators - 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
Calculation in logic operations
Calculation is also possible in logic operations.
Example
If (Up.Velo + Up.Offset)>2000)
4.6.7.5

Special operators

Replacement operator - $(up.?)
The "replacement operator" makes it is possible to replace parts of an instruction, an identifier,
a value or a message text flexibly with the value of a package variable Up.identifier.
Note the following rules when using the "replacement operator":
● Use only with package variables.
Further information can be found in the Package variables (Page 336) section.
● During replacement, straight quotation marks are removed from string values.
● "Replacement operators" can be nested.
Some examples where the "replacement operator" cannot be used:
● Sections
e. g. [$(up.doX.pspath)] or [B3_S$(Up.slave)_PS$(Up.doNr)]
● Instructions when manipulated and changed
● Control structures when manipulated
e. g. If p107[$(Up.i)] == 254
● Step scripts
e. g. Version(PCU, "SINUMERIK Operate")>=$(Up.HMI)
● Functions and procedures when manipulated,
e. g. MSG("Maschinennummer: $(Up.Masch_Nr)")
● Command lines for "Execution of:"
e. g. Setup.exe > Log_$(Up.Masch_Nr).txt
● Step information texts
e. g. "The machine number is: $(Up.Masch_Nr"
Note
Instruction lines in which a "replacement operator" is used are not checked for correct
syntax in a verification run.
Note
The "replacement operator" is not used in the property fields of the configuration (Package,
Dialogs, Steps tab).
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 12/2017, A5E36537479B-AE
e.g. $MA_MAX_AX_VELO[AX$(UP.AXNr)]=1000
Create MyConfig - Expert
4.6 Script language
289

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents