Please enable JavaScript to view this site.

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:

Value

Meaning

0

Time successfully set

-1

Wrong time

-2

Wrong minutes

-3

Wrong seconds

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

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC