6
FUNCTIONS
6.5 Clock Function
6
- 21
1
O
verv
iew
2
Per
fo
rma
nce
S
p
ecifica
tio
n
3
S
equ
en
ce P
ro
g
ra
m
Co
nfig
ura
tio
n a
nd
E
xecut
io
n Co
nd
iti
o
ns
4
I/O N
unb
er
Assig
n
m
e
nt
5
Me
mor
ie
s a
nd
File
s
Ha
nd
led
by CP
U Mo
du
le
6
Func
tions
7
Co
mmu
nic
a
tion
us
in
g
bu
ilt
-i
n E
th
e
rne
t po
rt
s o
f
CP
U mod
u
le
8
Co
mm
un
icatio
n
w
ith
Int
e
lli
ge
nt
Fun
ction
Mo
du
le
(5) Precautions
(a) Initial clock data setting
The clock data is not factory-set.
The clock data is used by the CPU module system and intelligent function
modules for error history, etc.
When using the CPU module for the first time, be sure to set the precise time.
(b) Clock data correction
If part of the clock data is corrected, all data must be written to the CPU module
again.
(c) Range of new clock data
Write new clock data within the range given in (3) of this section.
If impossible time data is written to the CPU module, normal clock operation
cannot be performed.
However, if the data is impossible as time, an error will not occur when it is within
the range given in (3) of this section.
(d) Use for clock data of 1/1000 sec.
1) Function that clock data of 1/1000 sec. can be use
The clock data can be used with only the following instructions.
• S(P).DATERD
• S(P).DATE+
• S(P).DATE-
The clock data cannot be used with instructions other than above.
(Read using SM/SD, occurrence time of error stored in error history, read
using GX Developer and read using dedicated instruction of another module,
etc.)
2) When clock data is changed
When clock data is changed using GX Developer or instructions (including
dedicated instruction of another module), the clock of 1/1000 sec. is reset to 0.
Table6.6 Example of data written to clock data
Write to CPU module
CPU module operation status
February 30
Executed
Error is not detected
32 of month
13
Not executed
When DATEWR instruction is executed:
OPERATION ERROR (Error code 4100)
When SM210 is on: SM211 is on
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......