Mitsubishi MELSEC-Q/L Programming Manual page 582

Table of Contents

Advertisement

HOUR, HOURP
[Operation]
• Time data read operation triggered by DATERDP instruction.
Clock device
• Conversion to seconds as triggered by the SECONDP instruction.
D13
20
D14
21
D15
23
7.15.6
HOUR, HOURP
Time data conversion (from Second to Hour/Minute/
7.15.6
Second)
HOUR, HOURP
HOUR
HOURP
: Head number of the devices where clock data before conversion is stored (BIN 32 bits)
S
: Head number of the devices where the clock data after conversion will be stored (BIN 16 bits)
D
Internal Devices
Setting
Data
Bit
Word
S
––
D
Function
(1) Converts the data in seconds stored in the device number designated by
the conversion result into the area starting from the device designated by
For example, if 45325 seconds were the value designated, the conversion operation would be conducted as follows:
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
Error
code
4100
The value set for
is not within the setting range.
S
The range of the device specified by
4101
corresponding device.
580
D10
95
Year
D11
4
Month
20
D12
Day
20
D13
Hour
21
D14
Minute
Time data
23
D15
Second
D16
5
Day of week
D101,D100
73283
Command
Command
J
\
R, ZR
Bit
Data range
S
1
S
Second
(0 to 86399)
S
+1
S
45325
Error details
exceeds the range of the
D
High
Basic
performance
HOUR
HOURP
U
\G
Word
––
to an hour/minute/second format, and stores
S
.
D
Data range
D
Hour
(0 to 23)
D
Minute
+1
(0 to 59)
D
Second
+2
(0 to 59)
D
12
D
+1
35
D
25
+2
Q00J/
Q00/
QnH
Q01
––
––
––
––
Process
Redundant Universal
LCPU
S
D
S
D
Constants
Zn
Other
K, H
––
––
––
QnPH QnPRH
QnU
LCPU
––
––
––
––

Advertisement

Table of Contents
loading

Table of Contents