FP
Σ
Other Functions
11 - 6
11.2.4
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.
R9010
F60 CMP DT 90053 , H 830
Y0
T0
TMX 0, K 10
DF
R0
R900B
Y0
R0
Data comparison instruction
The value of the special data register DT90053 (Hour/
minute data) is compared with the value of H830 (8:30).
Comparison match is output.
Appointed time output pulse (1 second)
0.1-second type timer
K10 is set and used as a 1-second type timer.
Figure 227: FP
Σ
Sample program of clock/calendar function
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.
Содержание FP Series
Страница 15: ...FP Functions and Restrictions of the Unit 1 2...
Страница 25: ...FP Specifications and Functions of Control Unit 2 2...
Страница 37: ...FP Expansion 3 2...
Страница 44: ...Chapter 4 I O Allocation 4 1 I O Allocation 4 3...
Страница 45: ...FP I O Allocation 4 2...
Страница 51: ...FP Installation and Wiring 5 2...
Страница 77: ...FP High speed Counter and Pulse Output Functions 6 2...
Страница 133: ...FP High speed Counter and Pulse Output Functions 6 58...
Страница 135: ...FP Communication Cassette 7 2...
Страница 147: ...FP Communication Function 1 Computer Link 8 2...
Страница 169: ...FP Communication Function 2 General purpose Serial Communication 9 2...
Страница 205: ...FP Communication Function 2 General purpose Serial Communication 9 38...
Страница 207: ...FP Communication Function 3 PLC Link Function 10 2...
Страница 232: ...Chapter 11 Other Functions 11 1 Analog Potentiometer 11 3 11 2 Clock Calendar Function 11 4...
Страница 233: ...FP Other Functions 11 2...
Страница 238: ...Chapter 12 Self Diagnostic and Troubleshooting 12 1 Self Diagnostic Function 12 3 12 2 Troubleshooting 12 5...
Страница 239: ...FP Self Diagnostic and Troubleshooting 12 2...
Страница 249: ...FP Self Diagnostic and Troubleshooting 12 12...
Страница 251: ...FP Specifications 13 2...
Страница 323: ...Index FP I 4...
Страница 325: ...FP Record of changes R 2...