Clock Instructions - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Clock instructions

Category
Instruction
symbol
Read/write
DATERD
clock data
DATERDP
DATEWR
DATEWRP
Clock data
DATE+
addition/
subtraction
DATE+P
DATE-
DATE-P
Clock data
SECOND
translation
SECONDP
HOUR
HOURP
Hour meter
HOURM
DHOURM
2 INSTRUCTION TABLES
70
2.5 Application Instructions
Symbol
DATERD D
DATERDP D
DATEWR S
DATEWRP S
DATE+
S1 S2 D
DATE+P S1 S2 D
DATE-
S1 S2 D
DATE-P
S1 S2 D
SECOND S D
SECONDP S D
HOUR
S D
HOURP
S D
HOURM
S D1
D2
DHOURM
S D1
D2
Processing details
(Clock elements) (D) +0
Year
+1
Month
+2
Day
+3
Hour
+4
Minute
+5
Sec.
+6
Day of the week
(D) +0
(Clock elements)
Year
+1
Month
+2
Day
+3
Hour
+4
Minute
+5
Sec.
+6
Day of the week
(S1)
(S2)
(D)
Hour
Hour
Hour
Minute
Minute
Minute
+
Sec.
Sec.
Sec.
(S1)
(S2)
(D)
Hour
Hour
Hour
Minute
Minute
Minute
Sec.
Sec.
Sec.
(S)
(D)
Sec. (Lower 16 bits)
Hour
Sec. (Upper 16 bits)
Minute
Sec.
(S)
(D)
Sec. (Lower 16 bits)
Hour
Sec. (Upper 16 bits)
Minute
Sec.
• While the execution
specification is on, the current
value is stored in increments
of hour in the device
designated by (D1) and the
current value less than an
hour is stored in increments of
second in the device
designated by (D1)+1.
• The device designated by
(D2) turns on when the
cumulative ON time of the
execution command exceeds
the time designated by (S).
• While the execution
specification is on, the current
value is stored in increments
of hour in the devices
designated by (D1), (D1)+1
and the current value less
than an hour is stored in
increments of second in the
device designated by (D1)+2.
• The device designated by
(D2) turns on when the
cumulative ON time of the
execution command exceeds
the time designated by (S).
Execution
Number
Subset Reference
condition
of basic
steps
2
2
4
4
3
3
4
4
Page 683
Page 685
Page 687
Page 689
Page 691
Page 693
Page 695
Page 696

Advertisement

Table of Contents
loading

Table of Contents