Mitsubishi FX3G Series Programming Manual page 855

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

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
2. Method by program
1)
Method using TWR (FNC167) instruction dedicated to time setting.
2)
Method using M8015 and D8013 to D8019.
When not using TWR (FNC167) instruction dedicated to time setting, the following program can be used for time
setting.
X000
M 0
X001
Point
a) While M8015 is OFF, the registers for date and time cannot be changed.
Make sure to set M8015 to ON, and then input date and time.
b) When inputting the time, set the time several minutes ahead of the current time.
When the actual time reaches the set time, set M8015 to OFF from ON to make the new time valid and to
begin the real time clock again.
c) If values indicating infeasible date, time and day of the week are input (Example: February 30, 2006), the time
cannot be set. Input the correct date, time and day of the week.
3. Method by programming tool
1)
Starting the time change
Set M8015 to ON by forced ON/OFF.
2)
By using the data register value change function in the device monitor of the programming tool, input the date and
time (several minutes ahead) to each data register.
3)
Finishing the time change
When the actual time reaches the input data, reset M8015 by forced ON/OFF.
Point
a) While M8015 is OFF, the registers for date and time cannot be changed.
Make sure to set M8015 to ON, and then input date and time.
b) When inputting the time, set the time several minutes ahead of the current time.
When the actual time reaches the set time, set M8015 to OFF from ON to make the new time valid and to
begin the real time clock again.
c) If values indicating infeasible date and time are input (Example: February 30, 2006), the time cannot be set.
Input the correct date and time.
Series
M8015
PLF
M 0
FNC 12
K 30
D8013
MOV
FNC 12
D8014
K 20
MOV
FNC 12
K 10
D8015
MOV
FNC 12
K 25
D8016
MOV
FNC 12
K 4
D8017
MOV
FNC 12
K 0
D8018
MOV
FNC 12
K 2
D8019
MOV
M8017
37 Operation of Special Devices (M8000 -, D8000 -)
37.2 Supplement of Special Devices (M8000 - and D8000 -)
→ For details, refer to Subsection 21.8.
indicates a set item.
Example:
10:20:30 on April 25 Tuesday in 2000
Set the time 2 to 3 minutes ahead of the actual
Second data
time, write the program on the left to the PLC,
and turn RUN X000 ON.
Minute data
When the actual time reaches the input set time,
turn the input switch X000 OFF to set the time
Hour data
and start the clock operation.
Day data
±30 seconds correction
Every time X001 is set from OFF to ON, the
second data of the clock is corrected. (When the
Month data
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
Year data
and the minute data is incremented by "1".)
Day-of-the-week data
+/- 30 seconds correction
31
32
33
34
35
36
37
38
A
B
853

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents