835
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
36 Operation of Special Devices (M8000 -, D8000 -)
36.2 Supplement of Special Devices (M8000 - and D8000 -)
31
FN
C
275-FN
C
279
Da
ta
Tr
ans
fe
r 3
32
FN
C
280
-F
N
C
28
9
H
igh Speed
Pr
oces
si
ng 2
33
FN
C
290-FN
C
299
Ext
ensi
on Fi
le
R
egi
st
er
34
SF
C
•S
T
L
Pr
o
g
ra
m
m
in
g
35
In
te
rru
p
t
Funct
ion
36
Sp
e
cia
l De
vic
e
37
E
rro
r C
o
d
e
A
V
e
rs
ion U
p
In
fo
rm
a
tio
n
B
Ex
ec
ut
ion Ti
m
e
s
C
Appl
ic
ab
le
In
st
ru
ct
ion Li
st
2. Method by program
1) Method using TWR (FNC167) instruction dedicated to time setting.
→
For the details, refer to Section 21.8.
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.
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, the time cannot be set. Input the correct date
and time.
3. Method by programming tool
1) Starting to change the time
Sets 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 (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, the time cannot be set. Input the correct date
and time.
X000
M 0
FNC 12
MOV
K 30
D8013
PLF
M 0
M8015
FNC 12
MOV
K 20
D8014
FNC 12
MOV
K 10
D8015
FNC 12
MOV
K 25
D8016
FNC 12
MOV
K 4
D8017
FNC 12
MOV
K 0
D8018
FNC 12
MOV
D8019
X001
Second data
Minute data
Hour data
Day data
Month data
Year data
Day-of-the-week data
Correction
K 2
M8017
When the actual time reaches the input set time,
turn the input switch X000 from ON to OFF to
set the time and start the clock operation.
±
30 seconds correction
Every time X001 is set from OFF to ON, the
second data of the clock is corrected. (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 incremented by "1".)
Example:
10:20:30 on April 25 Tuesday in 2000
Set the time 2 to 3 minutes ahead of the actual
time, and wait to write data to the PLC.
indicates a set item.
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......