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 #722 background imageLoading...
Page #722 background image
7-348
DATE+(P)
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The data set by and is outside the setting range. (Error code: 4100)
• The device specified by or or exceeds the range of the corresponding device.
(For the Universal model QCPU, LCPU.) (Error code: 4101)
Program Example
(1) The following program adds 1 hour to the clock data read from the clock element, and stores
the results in the area starting from D100 when X20 is ON.
[Ladder Mode]
[List Mode]
[Operation]
• Time data read operation triggered by DATERDP instruction.
• Addition triggered by DATE+P instruction.
S1
S2
S1
S2
D
Reads data in the clock element to D0 or late
r
Sets the time to D0 or later
Step Instruction Device
Clock element
95
5
15
D1
D2
Year
Day
Month
10
23
41
2
D0
D3
D4
D5
D6
Hour
Minute
Second
Day of week
Time data
Hour: 1
Minute: 0
Second: 0
D11
D12
Hour: 11
Minute: 23
Second: 41
D101
D102
Hour: 10
Minute: 23
Second: 41
D4
D5
+
D100D10D3

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