21.5 Clock/Calendar
21-15
Setting based on the user program
After the time data is written in the special data register DT90054 - DT90057, write H8000 in
DT90058. Perform the transmission by fol
lowing the order of H8000→H0000 or using the
differential instruction. Always remember not to input H8000.
R0
DT90054
H0
F0 MV
DT90055
H512
F0 MV
(
)
DF
DT90058
H8000
F0 MV
ⓐ
ⓑ
ⓒ
ⓐ
Set 0 minutes 0
seconds
ⓑ
Set 5 days 12 hours
ⓒ
Time alignment
21.5.3 Clock/calendar Application Examples
Application example (regular automatic start)
•
Use the clock/calendar (real-time clock) function to output 1 second (Y0) signal at 8:30 am
every day. In this example, the "hour, minute data" stored in the special data register
DT90053 are used to output signal regularly.
•
In DT90053, the "hour data" and "minute data" are respectively stored in the high 8 bytes
and low 8 bytes in the form of BCD. When compare this "hour, minute data" and the value of
any time (BCD), use the special internal relay R900B (= flag) to check if the time is
consistent.
R9010
H830
DT90053
F60 CMP
K10
TMX 0
ⓐ
ⓒ
ⓓ
R0
(
)
DF
R0
R900B
T0
Y0
Y0
ⓑ
ⓐ
Compare the value of special data register DT90053 (hour, minute data) and H830 (8:30).
ⓑ
Output if consistent
ⓒ
Output pulse at a fixed time
(1 second)
ⓓ
0.1 s timer
setting K10, used as 1 s
timer
Summary of Contents for FP-XH M8N16PD
Page 1: ......
Page 23: ...1 System Structure ...
Page 39: ...2 Control Unit Specifications ...
Page 48: ...Control Unit Specifications 2 10 ...
Page 49: ...3 I O Allocation ...
Page 77: ...4 Installation ...
Page 89: ...5 Wiring of Power Supply and General purpose I O Parts ...
Page 104: ...Wiring of Power Supply and General purpose I O Parts 5 16 ...
Page 105: ...6 Wiring of Motion I O Parts ...
Page 116: ...Wiring of Motion I O Parts 6 12 ...
Page 117: ...7 Power On Off and Check Items ...
Page 124: ...Power On Off and Check Items 7 8 ...
Page 125: ...8 Steps Before Running ...
Page 142: ...Steps Before Running 8 18 ...
Page 143: ...9 Setting of Position Control Parameters ...
Page 159: ...10 Transfer to Unit and Commissioning ...
Page 181: ...11 Automatic Operation Position Control ...
Page 193: ...11 2 Interpolation Control 11 13 ...
Page 209: ...12 Automatic Operation Synchronous Control ...
Page 251: ...13 Manual Operation JOG Operation ...
Page 256: ...Manual Operation JOG Operation 13 6 ...
Page 257: ...14 Manual Operation Home Return ...
Page 264: ...Manual Operation Home Return 14 8 ...
Page 265: ...15 Pulse Input Function ...
Page 278: ...Pulse Input Function 15 14 ...
Page 279: ...16 Stop Function ...
Page 285: ...17 Auxiliary Function ...
Page 329: ...18 Instruction Reference ...
Page 357: ...19 Error Warning Annunciation Function ...
Page 386: ...Error Warning Annunciation Function 19 30 ...
Page 387: ...20 Troubleshooting ...
Page 402: ...Troubleshooting 20 16 ...
Page 403: ...21 Memory Master Memory Cassette ...
Page 418: ...Memory Master Memory Cassette 21 16 ...
Page 419: ...22 Security Functions ...
Page 430: ...Security Functions 22 12 ...
Page 431: ...23 General purpose Input High speed counter Function ...
Page 448: ...General purpose Input High speed counter Function 23 18 ...
Page 449: ...24 Other Functions ...
Page 452: ...Other Functions 24 4 ...
Page 453: ...25 Maintenance and Inspection ...
Page 457: ...26 Specifications ...
Page 552: ...Specifications 26 96 ...
Page 553: ...Record of changes Manual No Date Record of Changes WUME FPXHM8N16PD 01 Sep 2017 First Edition ...
Page 554: ......
Page 555: ......
Page 556: ......