EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1010

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1008
7 APPLICATION INSTRUCTIONS
7.25 Clock Instructions
Processing details
These instructions subtract the time data in the device specified by (s2) from the time data in the device specified by (s1),
and store the subtraction result in the device number specified by (d) and later.
Ex.
3:50:10 is subtracted from 10:40:20.
If the time obtained as the result of subtraction becomes a negative value, 24 hours are added to the resultant time to
produce the operation result. For example, when 10:42:12 is subtracted from 4:50:32, the operation result is 18:8:20 rather
than -6:8:20.
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
10
40
20
3
50
10
6
50
10
(s1)
(s1)+1
(s1)+2
-
(s2)
(s2)+1
(s2)+2
(d)
(d)+1
(d)+2
4
50
32
10
42
12
18
8
20

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals