EasyManuals Logo

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 #744 background imageLoading...
Page #744 background image
7-370
S(P).DATE+
Program Example
(1) The following program adds 1 hour to the clock data read from the clock element, and stores
the results into the area starting from D100 when X20 is turned ON.
[Ladder Mode]
[List Mode]
[Operation]
• Time data read operation by the SP.DATERD instruction
• Addition by the SP.DATE+ instruction
Sets the time to D10 or later.
Reads out the clock element
data to D0 or later.
Instruction
Device
Step
05
5
17
D1
D2
Year
Day
Month
10
23
41
2
D0
D3
D4
D5
D6
Hour
Minute
Second
Day of week
Time data
Millisecond
100
Time data
Clock element
D11
D12
D101
D102
Hour: 10
Minute: 23
Second: 41
D4
D5
+
D100D10
D3
Millisecond: 100
D6
D7
2 (Tuesday)
Hour: 1
Minute: 0
Second: 0
Millisecond: 0
--
Hour: 11
Minute: 23
Second: 41
Millisecond: 100
--
D13
D14
D103
D104

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