Function to set the date of the real time clock/calender present on the connected axis controllers.
Syntax |
i32 rtc_date (i32 d, i32 m, i32 y) |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
d |
Variable containing the day (1-:-31) |
||||||||||
m |
Variable containing the month (1-:-12) |
||||||||||
y |
Variable containing the year (2007-:-2099) |
||||||||||
Result |
Returns:
|
||||||||||
Validity |
Rule, Task |
||||||||||
System Requirements. |
RTE 33.8.1 |
||||||||||
Notes |
The current clock/calender day, month, year, can be obtained via specific predefined variables such as day, month, year, ... The date can be displayed via date shell command |
Example of use:
|