EasyManuals Logo

JUMO LOGOSCREEN 700 User Manual

JUMO LOGOSCREEN 700
64 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 #45 background imageLoading...
Page #45 background image
45
8 Functions
8.8 Date and time
These are specific functions that are not part of the DIN IEC 61131-3 standard.
For example, these functions can be used to query the input variable rtc.cdt, which returns date and time
of the device.
Admissible data types
Argument: DT, DATE_AND_TIME
Result: UINT
GET_YEAR
Returns the year (with century).
Examples:
iOUT := GET_YEAR(dt#2017-03-20-17:45:12); (* iOUT = 2017 *)
GET_MONTH
Returns the month.
Example:
iOUT := GET_MONTH(dt#2017-03-20-17:45:12); (* iOUT = 03 *)
GET_DAY
Returns the day.
Example:
iOUT := GET_DAY(dt#2017-03-20-17:45:12); (* iOUT = 20 *)
GET_HOUR
Returns the hour.
Example:
iOUT := GET_HOUR(dt#2017-03-20-17:45:12); (* iOUT = 17 *)
GET_MINUTE
Returns the minute.
Example:
iOUT := GET_MINUTE(dt#2017-03-20-17:45:12); (* iOUT = 45 *)
GET_SECOND
Returns the second.
Example:
iOUT := GET_SECOND(dt#2017-03-20-17:45:12); (* iOUT = 12 *)
iOUT := GET_SECOND(rtc_cdt); (* iOUT = 59, if rtc_cdt = 1970-01-01 00:00:59 *)

Other manuals for JUMO LOGOSCREEN 700

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the JUMO LOGOSCREEN 700 and is the answer not in the manual?

JUMO LOGOSCREEN 700 Specifications

General IconGeneral
BrandJUMO
ModelLOGOSCREEN 700
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals