EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 715

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.16 Expansion Clock Instructions
713
7
Devices, (S1)+3, (S2)+3, and (D)+3 are not used for operation.
A clock data read by the S(P).DATERD instruction can be directly added.
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.
Precautions
Specifying digit for the bit device can be used only when the following conditions are met.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100 The value set for (S1) and (S2) is not within the setting range.
(Processing details)

4101 The range of the device specified by (S1), (S2) or (D) exceeds the range of
the corresponding device.

Digit specification: K4
Head of device: multiple of 16
When the above conditions are not met, INSTRCT CODE ERR. (error code: 4004) will occur.
(D)
(D)+1
(D)+2
(D)+3
(D)+4
Hour
Minute
Second
Day of week
Millisecond
When the clock data is read by the S(P).DATERD instruction, day of week is inserted between "second" and "millisecond".
If the S(P).DATE+ instruction is used to read the clock data, the data can be directly used for addition since it does not
perform the calculation for the day of a week.

Table of Contents

Related product manuals