EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Time Data Conversion (from Hour;Minute;Second to Second)

Mitsubishi Electric MELSEC-Q/L
1084 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...
7 APPLICATION INSTRUCTIONS
7.15 Clock Instructions
691
7
Time data conversion (from hour/minute/second to second)
SECOND(P)
Processing details
Converts the time data stored in the area starting from the device designated by (S) to seconds and stores the conversion
result into the device designated by (D).
For example, if the value were 4 hours, 29 minutes, and 31 seconds, the conversion would be made as follows:
Operation error
In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
(S): Head number of the devices where the clock data before conversion is stored (BIN 16 bits)
(D): Head number of the devices where the clock data after conversion will be stored (BIN 32 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant Others
Bit Word Bit Word
(S) 
(D) 
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100 The value set for (S) is not within the setting range. 
4101 The range of the device specified by (S) exceeds the range of the
corresponding device.

Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
SECONDP
S
D
S D
SECONDP
SECOND
SECOND
Hour
Minute
Second
+1
+2
(0 to 23)
(0 to 59)
(0 to 59)
Second
+1
S
D
S
S
D
Data range
4
29
31
16171
1
D
S
S
S
D
+1
+2

Table of Contents

Related product manuals