Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
7-348
DATE+(P)
7.15.3 Clock data addition operation (DATE+(P))
DATE+(P)
Function
(1) Adds the time data designated by to the clock data designated by , and stores the
result into the area starting from the device designated by .
For example, adding the time 7:48:10 to 6:32:40 would result in the following operation:
(2) 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, if the time 20:20:20 were added to 14:20:30, the result would not be 34:40:50,
but would instead be 10:40:50.
Remark
See 7.15.2 for further information regarding the data that can be set for hours,
minutes, and seconds.
: Head number of the devices where the clock data to be adjusted by addition is stored (BIN 16 bits)
: Head number of the devices where the time data to be added for adjustment is stored (BIN 16 bits)
: Head number of the devices where the result of addition of clock (time) data will be stored (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn Constants Other
Bit Word Bit Word
–– ––
–– ––
–– ––
Basic
Process
High
performance
Redundant
Universal
Command
Command
DATE+P
DATE+
DATE+P
D
S1 S2
D
S2S1
DATE+
S1
S2
D
S1
S2
D
S2
S1
D
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)
(0 to 59)
+
(0 to 59)
S1
S1
S2
S2
D
D
Data range Data range Data range
D
S2
S1
+1
+2
+1
+2
+1
+2
+
S1
S1
S2
S2
D
D
Hour: 7
Minute: 48
Second: 10
Hour: 14
Minute: 20
Second: 50
Hour: 6
Minute: 32
Second: 40
D
S2
S1
+1
+2
+1
+2
+1
+2
+
S1
S1
S2
S2
D
D
Hour: 20
Minute: 20
Second: 20
Hour: 10
Minute: 40
Second: 50
Hour: 14
Minute: 20
Second: 30