Expansion Clock Data Subtraction Operation (S(P).Date-) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7.16.3

Expansion clock data subtraction operation (S(P).DATE-)

S(P).DATE-
S.DATE-
SP.DATE-
Setting
Data
S1
S2
D
Function
(1) Subtracts the time data designated by
the result into the area starting from the device designated by
S1
S1
+1
S1
+2
S1
+3
S1
+4
For example, when the clock time 3:50:10:500 is subtracted from the clock time
10:40:20:875, the operation is performed as follows:
S1
S1
+1
S1
+2
S1
+3
S1
+4
Command
Command
: Head number of the devices where the clock time data to be adjusted by substraction is stored (BIN 16 bits)
S1
: Head number of the devices where time data to be subtracted for adjustment is stored (BIN 16 bits)
S2
: Head number of the devices where the result of subtraction of clock (time) data will be stored (BIN 16 bits)
D
Internal Devices
R, ZR
Bit
Word
––
––
––
Setting data
Hour
S2
(0 to 23)
Minute
S2
(0 to 59)
Second
S2
(0 to 59)
-
--
S2
Millisecond
S2
(0 to 999)
Hour: 10
S2
Minute: 40
+1
S2
Second: 20
-
S2
+2
--
S2
+3
Millisecond: 875
S2
+4
High
Basic
performance
High performance model QCPU, Process CPU, Redundant CPU:
The serial number (first five digits) is "07032" or later.
S.DATE-
SP.DATE-
J
\
U
\G
Bit
Word
from the clock data designated by
S2
Setting data
Hour
(0 to 23)
Minute
+1
(0 to 59)
+2
Second
(0 to 59)
+3
--
+4
Millisecond
(0 to 999)
Hour: 3
Minute: 50
Second: 10
--
Millisecond: 500
S(P).DATE-
Ver.
Ver.
Ver.
Process
Redundant
Universal
S1
S2
D
S1
S2
D
Zn
Constants
––
––
––
, and stores
S1
.
D
Setting data
D
Hour
(0 to 23)
D
Minute
+1
(0 to 59)
Second
D
+2
(0 to 59)
--
D
+3
Millisecond
D
+4
(0 to 999)
D
Hour: 6
D
+1
Minute: 50
D
+2
Second: 10
D
+3
--
D
+4
Millisecond: 375
1
2
LCPU
3
4
6
6
7
Other
8
7-371

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents