1006
7 APPLICATION INSTRUCTIONS
7.25 Clock Instructions
Processing details
• These instructions add the time data in the device specified by (s2) to the time data in the device specified by (s1), and
store the addition result in the device number specified by (d) and later.
Ex.
7:48:10 is added to 6:32:40.
• If the time obtained as the result of addition exceeds 24 hours, 24 hours are subtracted from the resultant time to produce
the operation result. For example, when 20:20:20 is added to 14:20:30, the operation result is 10:40:50 rather than
34:40:50.
Operation error
Error code
(SD0)
Description
3405H
The data in the device specified by (s1) or (s2) is out of range.
(s1)
(s1)+1
(s1)+2
+
(s2)
(s2)+1
(s2)+2
(d)
(d)+1
(d)+2
hour
minute
second
hour
minute
second
hour
minute
second
(0 to 23)
(0 to 59)
(0 to 59)
(0 to 23)
(0 to 59)
(0 to 59)
(0 to 23)
(0 to 59)
(0 to 59)
(s1)
(s1)+1
(s1)+2
+
(s2)
(s2)+1
(s2)+2
(d)
(d)+1
(d)+2
6
32
40
7
48
10
14
20
50
(s1)
(s1)+1
(s1)+2
+
(s2)
(s2)+1
(s2)+2
(d)
(d)+1
(d)+2
14
20
30
20
20
20
10
40
50
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......