Siemens SINUMERIK 840D sl Operating Manual page 246

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

Advertisement

Create MyConfig - Expert
4.6 Script language
Syntax for simple identifiers with a fully qualified section
The syntax for simple identifiers with a fully qualified section is generally:
● Namespace[section]
Variable
Below a fully qualified section, as many variables/identifiers and scripts as required that belong
to this section can be also used for assignments or queries.
Namespaces and sections
In detail, the following namespaces and sections are defined:
Table 4-13
Target area
NC data
SINAMICS
data
Display
data
Example: cross-area read-access in step script
If NC[C1].$MC_CHAN_NAME != "Test"
Example: Cross-area access in the NC manipulation task
[C1] ; Global channel setting, as an alternative to CHANDATA(1)
; Test whether channel name is missing for channel 1 and is available
for channel 2
If $MC_CHAN_NAME == null && NC[C2].$MC_CHAN_NAME != null
; Copy channel name from channel 2 to channel 1
$MC_CHAN_NAME = NC[C2].$MC_CHAN_NAME
246
Namespaces and sections
Namespace
Section
NC
Channel C1, C2 ... C10
PS
B<x>_S<y>_PS<z>
Bus No. for x
Slave No. for y
DO No. for z
BD
ADV - for HMI Advanced
SL - for SINUMERIK Operate
Example
NC[C2]
$MC_CHAN_NAME="Test"
If NC[C1].
$MC_CHAN_NAME==...
PS[B3_S3_PS1]
p105=1
If PS[B3_S3_PS1].p105==0
BD[ADV]
$MM_SHOW_TOOLTIP=1
If BD[SL].
$MM_SHOW_TOOLTIP==0
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 11/2016, A5E36537479B-AD

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents