Script Variables; Do Variables - Siemens SINUMERIK 840D sl Operating Manual

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
4.6.6.1

Script variables

Script variables - Up.myVar
Users create script variables using operations of the form and using using a unique name
"identifier" and immediate value initialization.
Up.identifier = value
Examples
4.6.6.2

DO variables

DO variables - Up.doVar
The DO variables (drive object variables) that can be used in the package are managed in the
package design on the " SINAMICS topology (configuration) (Page 169)." This DO variable
list can be exported as an XML file and linked again. To achieve data consistency, the same
DO variable list can be associated with a topology project in Topo as a file. The variables are
instantiated and the property values allocated when executing on this dialog by assigning to
the existing drive components.
In manipulation tasks, DO variable properties can be read-accessed via:
Up.Variable.Property
.
The following properties are available for a DO variable with the name doVar:
Up.doVar != null
Up.doVar.doNr
Up.doVar.slaveNr
Up.doVar.busNr
Up.doVar.psPath
248
Up.M1=100.123
Up.xx_1= R[7]
Up.NX_BOOL=true
Up.channel="channel
_1"
R[5] = Up.M1
Supplies "true" if the DO variable was assigned to a drive component at runtime.
Supplies the number of the drive object
Note:
A configured renumbering of the drive objects is performed before the variable assign‐
ment.
Supplies the number of the higher-level slave object
Supplies the number of the higher-level bus object
Supplies the path to the PS file
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