Example Showing The Clock/Calendar Being Used - Panasonic FP E Series User Manual

Table of Contents

Advertisement

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.

2.6.3 Example Showing the Clock/Calendar being Used

Sample program for fixed schedule and automatic start
In the example shown here, the clock/calendar 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.
2-18

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents