Please enable JavaScript to view this site.

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:

Value

Meaning

0

Date successfully set

-1

Wrong day

-2

Wrong month

-3

Wrong year

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

 

  

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