Escolar Documentos
Profissional Documentos
Cultura Documentos
2 Function of Maste r
Memory Cassette
The realtime clock (calendar timer function) to set
year, month, day, day of week and time, and the
master memory is equipped in the master memory
cassette.
The following 2 methods can be selected with the
switch at the back.
1. Only realtime clock (default setting)
2. Realtime clock & master memory
Note:
It cannot be used as master memory when it has
been specified to be used as realtime clock only.
Install the optional battery in the control unit to use
the realtime clock.
The realtime clock does not work without the battery.
10.2.1 Realtime Clock Function
The realtime clock funcation can be used if the backup
battery is attached in the FP-X and the FP-X
master memory cassette (AFPX-MRTC) is installed.
Note that this function cannot be used without the
backup battery.
Reference: <5.9 Installation and Setting of Backup
Battery>
Specifications
Item
Specifications
Setting items Year, month, day hour (24-hour display),
minute, second and
day of week
Realtime clock
At 0 C: less than 104 seconds per month
At 25 C: less than 51 seconds per month
At 55 C: less than 155 seconds per month
Accuracy
Area of realtime clock
With the realtime clock function, data indicating the
hour, minute, second, day, year and other
information stored in the special data registers
DT90053 to DT90057 can be read using the
transmission
instruction and used in sequence programs.
A: Available, N/A: Available
Special data register No. Higher bytes Lower bytes
Read Write
Minute data
DT90053 Hour data
H00 to H23
H00 to H59 AN/A
Second data
DT90054 Minute data
H00 to H59
H00 to H59 AA
Hour data
DT90055 Day data
H01 to H31
H00 to H23 AA
Month data
H01 to H12 AA
DT90056 Year data
H00 to H99
DT90057 - Day-of-the-week data
H00 to H06 AA
10-3
Setting of Realtime clock
There are two ways to set the realtime clock function, as
described below.
Setting using FPWIN GR
1. Select [Online Edit Mode] under the [Online] on the
menu bar, or press the [CTRL] and [F2] keys at
the same time, to switch to the [Online] screen.
2. Select Set PLC Date and Time under Tool on the
menu bar.
Set PLC Date and Time dialog box
The above steps display the Set PLC Date and Time
dialog box
shown at the left. Input the date and time, and click on
the OK
button.
Setting and changing using program
1. The values written to the special data registers
DT90054 to DT90057, which are allocated as the
realtime clock setting area, are sent.
2. A value of H8000 is written to DT90058.
Note) The value can be sent using the differential
instruction DF, or by changing H8000 to H0000.
Do not always write H8000.
Example showing the date and time being written
Set the time to 12:00:00 on the 5th day when the X0
turns on.
Note:
No values have been set in the default settings, so the
programming tool or another means must be
used to specify the values.
Example Showing the realtime clock being Used
Sample program for fixed schedule and automatic
start
In the example shown here, the realtime clock function
is used to output the (Y0) signal for one second,
at 8:30 a.m. every day.
Here, the Hour/minute data stored in the special data
register DT90053 is used to output the signal at
the appointed time.
The hour data is stored in the upper 8 bits of DT90053
and the minute data in the lower 8 bits, in the
BCD format. This hour and minute data is compared
with the appointed time (BCD), and the R900B
(=flag) special internal relay is used to detect whether or
not it matches the appointed time.
30-second compensation
The compensation for 30 seconds is performed in the
DT90058.
Reference: <12.6 Special Data Registers
(DT90058)>
10-4