Switching Instructions; Clock Instructions - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

2.5.14

Switching instructions

Category
Block
RSET
number
RSETP
switching
QDRSET
QDRSETP
File set
QCDSET
QCDSETP
*1:
n ([number of file name characters] / 2) indicates a step. (Decimal fractions are rounded up.)
2.5.15

Clock instructions

Category
DATERD
DATERDP
Read/write
clock data
DATEWR
DATEWRP
DATE+
Clock data
DATE+P
addition/
DATE-
subtraction
DATE-P
72
Symbol
RSET
S
RSETP
S
QDRSET
File name
QDRSETP File name
QCDSET
File name
QCDSETP File name
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
Processing Details
• Converts extension file register block number
to number designated by (S).
• Sets file names used as file registers.
• Sets file names used as comment files.
Processing Details
(Clock elements)
(D) +0
+1
+2
+3
+4
+5
+6
(D) +0
(Clock elements)
Year
+1
Month
+2
Day
+3
Hour
+4
Minute
+5
Sec.
+6
Day of the week
(S1)
(S2)
Hour
Hour
Mitnute
Mitnute
+
Sec.
Sec.
(S1)
(S2)
Hour
Hour
Mitnute
Mitnute
Sec.
Sec.
Execution
Condition
Execution
Condition
Year
Month
Day
Hour
Minute
Sec.
Day of the week
(D)
Hour
Mitnute
Sec.
(D)
Hour
Mitnute
Sec.
Page
2
-
566
*1
2
Page
-
+
567
n
*1
2
Page
-
+
569
n
Page
2
-
572
Page
2
-
573
Page
4
-
575
Page
4
-
577

Advertisement

Table of Contents
loading

Table of Contents