Mitsubishi Q2ACPU User Manual page 186

Qna series melsec
Table of Contents

Advertisement

10. OTHER FUNCTIONS
(3)
Writing clock data to the clock elements
(a) Use the following procedure to write clock data to the clock elements.
1) Writing from a peripheral device
When using GPP function, clock data can be written to the clock elements
using the "Set clock" of the PLC menu in PLC diagnostics mode.
When using the Q6PU, clock data can be written to the clock elements by
using the clock monitor option in the monitor functions of the PLC system
in the other mode.
(For details on the operation for each peripheral device, refer to the
Operating Manual for each.)
2) Writing from a program
Clock data is written to the clock elements using the clock instruction
(DATEWR).
The following shows the example of the program.
For details on the DATEWR instruction, refer to the QCPU (Q mode)/
QnACPU Programming Manual (Common Instructions).
POINT
(1) Clock data is not written to clock elements in advance. Write clock data to the
clock elements before using the QnACPU.
(2) Even if partly changing the clock data, rewrite all data to the clock elements.
(3) If the nonexistent time is written to the clock elements, normal clock operation
is impossible.
Example
Setting "13" to the month.
Setting "32" to the date.
10 - 9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q3acpuQ4acpuQ2acpus1

Table of Contents