X8 Instruction Set Reference Manual
SFR (Special Function Register)
3
-
5
(1)These numbers are worst case values.
RTCA-Real Time Clock
Adjust Instruction
Instruction Type: output
The RTCA instruction is used to synchronize the PLC Real-Time Clock (RTC)
with an external source.
The RTCA instruction will adjust the RTC to the nearest minute. The RTCA
instruction adjusts the RTC based on the value of the RTC Seconds as
described below.
RTCA is set:
•
If RTC Seconds are less than 30, then RTC Seconds is reset to 0.
•
If RTC Seconds are greater than or equal to 30, then the RTC Minutes are
increment by 1 and RTC Seconds are reset to 0.
The following conditions cause the RTCA instruction to have no effect on the
RTC data:
•
RTC is disabled
•
An external (via communications) message to the RTC is in progress when the
RTA instruction is executed. (External communications to the RTC takes
precedence over the RTA instruction.)
To no
r
mal operation of RTCA instruction, the RTCA rung must become false,
and then true.
Ambient Temperature
Accuracy (1)
0°C (+32°F)
-13…-121 seconds/month
+25°C (+77°F)
+54…-54 seconds/month
+40°C (+104°F)
+29…-78 seconds/month
+55°C (+131°F)
-43…-150 seconds/month
IMPORTANT
The RTCA instruction will only change the RTC when the RTA rung is
evaluated true, after it was previously false (false-to-true transition).
The RTCA instruction will have no effect if the rung is always true or
false.
RTCA
EN
ENO
Summary of Contents for X8 Series
Page 1: ...Catalog Number s X8 M14DDT X8 M16DDR X8 M32DDT X8 Instruction Manual Reference Manual ...
Page 16: ......
Page 64: ...X8 Instruction Set Reference Manual 2 12 X8 Series PLC Memory and Data Table ...
Page 166: ...X8 Instruction Set Reference Manual 7 8 Relay Type Bit Instructions ...
Page 180: ...X8 Instruction Set Reference Manual 8 14 Timer and Counter Instructions ...
Page 205: ...X8 Instruction Set Reference Manual Math Instructions 10 17 ...
Page 206: ...X8 Instruction Set Reference Manual 10 18 Math Instructions ...
Page 212: ...X8 Instruction Set Reference Manual 11 6 Converion Instructions ...
Page 218: ...X8 Instruction Set Reference Manual 12 6 Logical Instructions ...
Page 236: ...X8 Instruction Set Reference Manual 15 8 Shift and FIFO LIFO Instructions ...
Page 242: ...X8 Instruction Set Reference Manual 16 6 Sequencing Instructions ...
Page 252: ...X8 Instruction Set Reference Manual 18 4 Input and Output Instructions ...
Page 280: ...X8 Instruction Set Reference Manual 20 12 PID Control ...
Page 296: ...X8 Instruction Set Reference Manual 21 16 ASCII Instructions ...
Page 308: ...X8 Instruction Set Reference Manual 22 12 Communications Instructions ...
Page 312: ...Appendix A 4 System Error Code ...
Page 313: ...Appendix B MSG Instruction Error Code MSG Instruction Error Code ...
Page 322: ...Appendix B 10 MSG Instruction Error Code ...
Page 325: ...ASCII Character Set Appendix C 3 ...
Page 326: ...Publication number X8 RM001A EN September 2012 ...
Page 327: ...Copyright 2012 RS Automation Co Ltd All rights reserved ...