Real Time Clock [M8015 To M8019 And D8013 To D8019] - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
37.2.7

Real time clock [M8015 to M8019 and D8013 to D8019]

1. Assignment of special auxiliary relays (M8015 to M8019) and special data registers (D8013 to
D8019)
Number
M8015
Clock stop and preset
M8016
Time read display is stopped
M8017
±30 seconds correction
M8018
Installation detection
Real time clock (RTC)
M8019
error
Number
D8013
D8014
D8015
D8016
D8017
D8018
D8019
Day-of-the-week data
2. Changeover of the year display (to the four-digit mode)
When changing the year data to the four-digit mode, add the following program.
D8018 is set to the four-digit year mode on the second ladder scan in RUN mode.
M8002
Initial pulse
1)
The PLC is usually operating in the two-digit year mode.
When the above instruction is executed during RUN and "K2000 (fixed value)" is transferred to D8018 (year data),
D8018 switches to the four-digit year mode.
2)
Execute this program every time the PLC enters RUN.
Only the year data display switches to four-digit mode when "K2000" is transferred. The actual time date is not
affected.
3)
In the four-digit year mode, the values "80" to "99" correspond to "1980" to "1999" and "00" to "79" correspond to
"2000" to "2079".
Examples: 80 = 1980, 99 = 1999, 00 = 2000, 79 = 2079
4)
When connecting the data access unit FX-10DU-E/20DU-E/25DU-E, use the two-digit year mode.
If the four-digit year mode is selected, the year data will not be displayed correctly.
Note that the clock is changed to the 2-digit year mode when the clock is set from the FX-10DU-E/20DU-E/
25DU-E while the PLC is operating in the 4-digit year mode.
Name
When M8015 turns ON, the real time clock is stopped.
At the edge from ON to OFF, the time from D8013 to D8019 is written to the PLC and the
clock is started again.
When M8016 turns ON, the time display is stopped (but RTC is continued).
At the edge from OFF to ON, the RTC is set to the nearest minute.
(When the second data is from 0 to 29, it is set to 0. When the second data is from 30 to 59,
it is set to 0 and the minute data is incriminated by "1".)
This device is always ON.
When the data stored in special data registers is outside the allowable time, setting range
this device turns ON.
Name
Set value range
Second data
0 to 59
Minute data
0 to 59
Hour data
0 to 23
Day data
1 to 31
Month data
1 to 12
00 to 99
Year data
(last two digits of year)
0 to 6
(which corresponds to
Sunday to Saturday)
→ For the real time clock setting method, refer to Subsection 37.2.8.
FNC 12
K2000
D8018
MOV
37 Operation of Special Devices (M8000 -, D8000 -)
37.2 Supplement of Special Devices (M8000 - and D8000 -)
Operation and function
Operation and function
Use these devices for writing the initial value in time setting or
read the present time.
D8018 (year data) can be changed over to the four-digit year
mode.
In the four-digit year mode, 1980 to 2079 can be displayed.
Clock accuracy: ±45 sec/month (at 25°C)
Leap year correction: Provided
31
32
33
34
35
36
37
38
A
B
859

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents