Function to set the time of the real time clock/calender present on the connected axis controllers.
Syntax |
i32 rtc_time (i32 h, i32 m, i32 s) |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
h |
Variable containing the time (0-:-23) |
||||||||||
m |
Variable containing the minutes (0-:-59) |
||||||||||
s |
Variable containing the seconds (0-:-59) |
||||||||||
Result |
Returns:
|
||||||||||
Validity |
Rule, Task |
||||||||||
System Requirements. |
RTE 33.8.1 |
||||||||||
Notes |
The current clock/calender hour, minute, second, ..., can be obtained via specific predefined variables such as hour, minute, second, ... The time can be displayed via shell command time |
Example of use:
|