Siemens SINUMERIK 840D sl Operating Manual page 335

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

Advertisement

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-28
Namespaces and sections
Target area
Namespace
NC data
NC
SINAMICS data
PS
Display data
BD
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
EndIf
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 12/2017, A5E36537479B-AE
Section
Channel C1, C2 ...C10
B<x>_S<y>_PS<z>
Bus no. for x
Slave no. for y
DO no. for z
SL for SINUMERIK Operate
Create MyConfig - Expert
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[SL]$MM_SHOW_TOOLTIP=1
If BD[SL].$MM_SHOW_TOOLTIP==0
4.6 Script language
335

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents