Mitsubishi 00JCPU User Manual page 197

Q series programmable controller
Table of Contents

Advertisement

(5) Precautions
(a) Initial clock data setting
No clock data is set at the factory.
Clock data is required for some functions of the CPU module used in the system, such as error history storage,
or for intelligent function modules.
Before using the CPU module for the first time, set the time correctly.
(b) Clock data correction
If a part of the clock data is corrected, rewrite the entire clock data to the CPU module.
(c) Clock data setting range
When changing clock data, write data within the range given in (3) in this section.
If data outside of clock range is written to the CPU module, the clock function does not operate normally.
However, the CPU module does not detect an error if the clock data is out of the range.
Write operation to the CPU
module
February 30
Executed
32 of month 13
Not executed
(d) Use for clock data of 1/1000 sec.
1) Function that clock data of 1/1000 sec. can be used
Only the following instructions can use the clock data of 1/1000 sec.
• S(P).DATERD
• S(P).DATE+
• S(P).DATE-
Other instructions cannot use the clock data of 1/1000 sec.
(Such as for reading data by SM/SD, storing the time of error occurrence as error history data, reading data
by GX Developer, or reading data by dedicated instructions of other modules.)
2) When clock data is changed
When clock data is changed by GX Developer or instructions (including dedicated instruction of other
modules), the clock of 1/1000 sec. is reset to 0.
Table6.7 Example of clock data
An error is not detected.
When the DATEWR instruction is executed, "OPERATION ERROR" (error code:
4100) is detected.
When SM210 is turned on, SM211 turns on.
CHAPTER6 FUNCTIONS
CPU module operation
1
2
3
4
5
6
7
8
6 - 17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents