EasyManuals Logo

ALTUS Nexto NX3004 User Manual

ALTUS Nexto NX3004
388 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 #186 background imageLoading...
Page #186 background image
4. Configuration
178
ATTENTION:
The function blocks for RTC (RTC (NextoGetDateAndTime, NextoGetDateAndTimeMs,
NextoSetDateAndTime e NextoSetDateAndTimeMs) reading and writing cannot be used in the area
of redundant data in redundant projects. The function blocks can be used only in non-redundant
POUs, as the POU NonSkippedPrg. For more details on the functioning of POU NonSkippedPrg see
NonSkippedPrg.
Function Blocks for RTC Reading
The clock reading can be made through the following functions:
GetDateAndTime:
Figure 4-81. Date and Hour Reading
Input and Output
Parameters
Type
Description
DATEANDTIME
EXTENDED_DATE_A
ND_TIME
This variable returns the value of date and
hour of RTC in the format shown at Table
4-123
Table 4-114. Input and Output Parameters of GetDateAndTime
Input Parameters
Type
Description
GETDATEANDTIME
RTC_STATUS
Returns the function error state, see Table
4-125
Table 4-115. Output Parameters of GetDateAndTime
Utilization example in ST language:
PROGRAM MainPrg
VAR
Result : RTC_STATUS;
DATEANDTIME : EXTENDED_DATE_AND_TIME;
xEnable : BOOL;
END_VAR
--------------------------------------------------------------------------
IF xEnable = TRUE THEN
Result := GetDateAndTime(DATEANDTIME);
xEnable := FALSE;
END_IF
GetTimeZone
The following function reads the Time Zone configuration, this function is directly related with time
in Time Zone at SNTP synchronism service.
Figure 4-82. Configuration Reading of Time Zone

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ALTUS Nexto NX3004 Specifications

General IconGeneral
BrandALTUS
ModelNexto NX3004
CategoryProcessor
LanguageEnglish