Siemens SINUMERIK 840DE sl Commissioning Manual page 823

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Function name
Control local time
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Description
The function copies the local time in a field with 7 array elements.
The name of the variable is expected as call parameter.
The following is stored in an array element:
● Index 0 - year
● Index 1 - month
● Index 2 - weekday
● Index 3 - day
● Index 4 - hour
● Index 5 - minute
● Index 6 - second
Syntax:
<function name
="control.localtime">_T"time_array"</function>
Example:
<!-- index
0 = Year
1 = Month
2 = Day of week
3 = Day
4 = Hour
5 = Minute
6 = Second
-->
<let name="time_array" dim="7" />
<function name
="control.localtime">_T"time_array"</function>
Generating user dialogs
1.10 Predefined functions
105

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents