Справочник Пользователя для Mitsubishi Electronics MELSEC -Q/L

Скачать
Страница из 1086
7  APPLICATION INSTRUCTIONS
7.16  Expansion Clock Instructions
713
7
Expansion clock data addition operation
S(P).DATE+
Processing details
 • Adds the time data designated by (S2) to the clock data designated by (S1), and stores the result into the area starting from 
the device designated by (D).
For example, adding the time 7:48:10:500 to 6:32:40:875 would result in the following operation:
 • If the results of the addition of time exceed 24 hours, 24 hours will be subtracted from the sum to make the final operation 
result. For example, when the time 20:20:20:500 is added to 14:20:30:875, the result is not 34:40:51:375, but 10:40:51:375.
• High Performance model QCPU: The serial number (first five digits) is "07032" or later.
• Process CPU: The serial number (first five digits) is "07032" or later.
• Redundant CPU: The serial number (first five digits) is "07032" or later.
(S1):  Head number of the devices where the clock data to be adjusted by addition is stored (BIN 16 bits)
(S2):  Head number of the devices where the time data to be added for adjustment is stored (BIN 16 bits)
(D):   Head number of the devices where the result of addition of clock (time) data will be stored (BIN 16 bits)
Setting 
data
Internal device
R, ZR
J\
U\G
Zn
Constant
Others
Bit
Word
Bit
Word
(S1)
(S2)
(D)
Basic
Process
High
performance
Redundant Universal
LCPU
Ver.
Ver.
Ver.
Command
Command
SP.DATE+
S.DATE+
SP.DATE+
D
S1
S2
D
S2
S1
S.DATE+
D
S2
S1
Hour
Minute
Second
+1
+2
(0 to 23)
(0 to 59)
(0 to 59)
Hour
Minute
Second
+1
+2
(0 to 23)
(0 to 59)
(0 to 59)
Hour
Minute
Second
+1
+2
(0 to 23)
Setting data
Setting data
Setting data
(0 to 59)
+
(0 to 59)
S1
S1
S2
S2
D
D
--
+3
--
+3
--
+3
S1
S2
D
Millisecond
+4
(0 to 999)
Millisecond
+4
(0 to 999)
Millisecond
+4
(0 to 999)
S1
S2
D
D
S2
S1
+1
+2
+1
+2
+1
+2
+
S1
S1
S2
S2
D
D
Hour: 6
Minute: 32
Second: 40
+3
+3
+3
S1
S2
D
--
+4
+4
+4
S1
S2
D
Millisecond: 875
Hour: 7
Minute: 48
Second: 10
--
Millisecond: 500
Hour: 14
Minute: 20
Second: 51
--
Millisecond: 375
D
S2
S1
+1
+2
+1
+2
+1
+2
+
S1
S1
S2
S2
D
D
Hour: 14
Minute: 20
Second: 30
+3
+3
+3
S1
S2
D
--
+4
+4
+4
S1
S2
D
Millisecond: 875
Hour: 20
Minute: 20
Second: 20
--
Millisecond: 500
Hour: 10
Minute: 40
Second: 51
--
Millisecond: 375