EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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 #723 background imageLoading...
Page #723 background image
7-349
DATE-(P)
1
2
3
4
6
6
7
8
7.15 Clock instructions
7.15.4 Clock data subtraction operation (DATE-(P))
7.15.4 Clock data subtraction operation (DATE-(P))
DATE-(P)
Function
(1) Subtracts the time data designated by from the clock data designated by , and stores
the result into the area starting from the device designated by .
For example, if the clock time 3:50:10 were subtracted from the clock time 10:40:20, the
operation would be performed as follows:
(2) If the subtraction results in a negative number, 24 will be added to the result to make a final
operation result.
For example, if the clock time 10:42:12 were subtracted from 4:50:32, the result would not
be 6:8:20, but rather would be 18:8:20.
Remark
See 7.15.2 for further information regarding the data that can be set for hours,
minutes, and seconds.
: Head number of the devices where the clock time data to be adjusted by substraction is stored (BIN 16 bits)
: Head number of the devices where time data to be subtracted for adjustment is stored (BIN 16 bits)
: Head number of the devices where the result of subtraction of clock (time) data will be stored (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn Constants Other
Bit Word Bit Word
–– ––
–– ––
–– ––
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
DATE-
DATE-P
DATE-
Command
DATE-P
S1 S2
D
S1 S2
D
S1
S2
D
S1
S2
D
S2
S1
D
Data rangeData range Data rang
e
Hour
Minute
Second
+1
+2
(0 to 23)
(0 to 59)
(0 to 59)
Hour
Minute
Second
+1
+2
(0 to 23)
(0 to 59)
(0 to 59)
Hour
Minute
Second
+1
+2
(0 to 23)
(0 to 59)
(0 to 59)
S1
S2
D
D
D
S2
S2
S1
S1
Hour: 3
Minute: 50
Second: 10
+1
+2
Hour: 6
Minute: 50
Second: 10
+1
+2
Hour: 10
Minute: 40
Second: 20
+1
+2
S1
S1
S1
D
D
D
S2
S2
S2
Hour: 10
Minute: 42
Second: 12
+1
+2
Hour: 18
Minute: 8
Second: 20
+1
+2
Hour: 4
Minute: 50
Second: 32
+1
+2
S1
S2
D
S1
S1
S2
S2
D
D

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals