EasyManuals Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 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 #613 background imageLoading...
Page #613 background image
2-565
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Time and Time of Day Instructions
2
C O NC AT_DAT E_TO D
The CONCAT_DATE_TOD instruction combines a date In1 and a time of day In2. The result of combin-
ing in Out is also a date and time.
The following example is for when In1 is D#1970-1-7 and In2 is TOD#23:59:59.999999999.
An error occurs in the following case. ENO will be FALSE, and Out will not change.
• The results of combining exceeds the valid range of Out (e.g., the value of In1 is D#2554-7-21 and
the value of In2 is larger than TOD#23:34:33.709551615).
Function
Related System-defined Variables
Name Meaning Data type Description
_CurrentTime System Time of Day DT The time of day from the system clock. The num-
ber of seconds from 00:00:00 on January 1,1970.
Precautions for Correct Use
abc:=CONCAT_DATE_TOD(D#1970-1-7,
TOD#23:59:59.999999999);
LD
ST
abc
D#1970-1-7
TOD#23:59:59.999999999
CONCAT_DATE_TOD
EN ENO
In1
In2
+
D#1970-1-7
TOD#23:59:59.999999999
DT#1970-1-7-23:59:59.999999999
In1
In2
Out=abc

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals