The clock has its own special address register:
D8019----- corresponds to the week
D8018----- indicates the year
D8017----- corresponds to the month
D8016----- corresponds to the date
D8015----- corresponds to the hour
D8014----- corresponds to minutes
D8013----- corresponds to seconds
It can be used directly when programming.
Set the Mitsubishi FX2N PLC internal clock to write the time with TWR instructions. For example, M8000--------TWR D0.
The internal clock uses the internal oscillation circuit of the chip, the accuracy is not high, the temperature drift is also large, and the external oscillator is not required.
External clock, RC oscillation and quartz crystal vibration, RC precision is not high, low cost, quartz crystal vibration, high precision, good stability, according to the use of the occasion to choose, suitable clock mode.