EasyManuals Logo

ALTUS Nexto Series User Manual

ALTUS Nexto Series
392 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #236 background imageLoading...
Page #236 background image
5. CONFIGURATION
Input parameters Type Description
TIMEZONE TIMEZONESETTINGS
Structure with time zone to be con-
figured. See Table 168.
Table 163: SetTimeZone Input Parameters
Output parameters Type Description
SetTimeZone RTC_STATUS
Returns the error occurred during
the reading/setting. See Table 167.
Table 164: SetTimeZone Output Parameters
When called, the function will configure the TIMEZONE with the new system time zone configuration. The configuration
results is returned by the function.
Utilization example in ST language:
PROGRAM UserPrg
VAR
Status : RTC_STATUS;
TimeZone : TIMEZONESETTINGS;
xWrite : BOOL;
END_VAR
--------------------------------------------------------------------------
//FB SetTimeZone
IF (xWrite = TRUE) THEN
Status := SetTimeZone(TimeZone);
IF Status = RTC_STATUS.NO_ERROR THEN
xWrite := FALSE;
END_IF
END_IF
ATTENTION
To perform the clock should be used time and date values within the following valid range:
00:00:00 hours of 01/01/2000 to 12/31/2035 23:59:59 hours, otherwise , is reported an error
through the STATUS output parameter. For details of the STATUS output parameter, see the
section RTC_STATUS.
5.8.2. RTC Data Structures
The reading and setting function blocks of the Nexto Series CPUs RTC use the following data structures in its configuration:
222

Table of Contents

Other manuals for ALTUS Nexto Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ALTUS Nexto Series and is the answer not in the manual?

ALTUS Nexto Series Specifications

General IconGeneral
BrandALTUS
ModelNexto Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals