Siemens SINUMERIK 828D Commissioning Manual page 839

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Function name
Control local time
Easy XML
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
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.9 Predefined functions
87

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents