Dovar - Siemens SINUMERIK 840D sl Operating Manual

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

Advertisement

Examples of units of time
Up.year = DateTime("yyyy") ; the year as four digit number
Up.month = DateTime("MM") ; the month as number with a leading zero
(01-12)
Up.day = DateTime("dd") ; the day as number with a leading zero (01
to 31)
Up.hour = DateTime("hh") ; the hour with a leading zero (00 to 23)
Up.minute = DateTime("mm") ; the minute with a leading zero (00 to
59)
Up.second = DateTime("ss") ; the second with a leading zero (00 to
59)
Up.milliseconds = DateTime("zzz") ; the milliseconds with leading
zeroes (000 to 999)
Up.dt = DateTime("yyyy-MM-dd hh:mm:ss.zzz") ; previous examples in
combination
4.6.12.6

DOVar

The DOVar()function generates DO variables during package execution in the script,
irrespective of the "SINAMICS topology" dialog page.
This requires that a SINAMICS has been commissioned without errors and there is a
functioning axis-drive assignment.
Use the function only on the "Step tree" dialog page in step scripts, action scripts or
manipulation tasks.
Then use the DO variables and their properties as usual. For example, you can work with DO
variables even if there is an update in the field and the topology is "unknown".
To generate the DO variables, the user only has to know the DO name (p199) or the
permanently defined machine axis identifier (AX1, AX2...). Depending on what is known, one
of the two function versions described in the following can be used.
DOVar("<doname>")
Generates a DO variable using the specified DO name <doname> from p199.
Note
The DO name <doname> must be used with the correct uppercase/lowercase notation, as in
p199.
Example:
Up.myVar1 = DoVar("ALM")
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 12/2017, A5E36537479B-AE
Create MyConfig - Expert
4.6 Script language
329

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents