92
Hardware Description CNC 0610510/12
CNC 61.00
10.3.6
Battery-buffered RAM and Real-Time Clock
This module provides the user with a RAM of 128 kByte that may be used for the
user-specific management. This area is battery-buffered which means the data will
not get lost when the supply voltage is turned off. Additionally, this option includes a
real-time clock (RTC) that of course keeps running after turning off the supply volt-
age.
Software (Example)
X
Access to time/date:
The two system variables TIME/DATE are provided for the user for reading in
the actual time and date.
SET TIME, NA; transmits the actual time into the accumulator
Format: (hours × 65536) + (minutes × 256) + seconds = numerical accumulator
S
ET DATE, NA ;transmits the actual date into the accumulator
Format: (year × 65536) + (month × 256) + day = numerical accumulator
X
Access to the battery-buffered RAM:
TBL4: access byte by
byte
(8 bits)
TBL5: access word by
word
(16 bits)
TBL6: access to a long
word
(32 bits)
TBL7: access to a true
value
(64 bits)
SET NA,
TBL5[0]
;writes the content of the numerical accumu-
lator
;into the field with index 0 of the
;word-oriented table 5 (16 bits)
Summary of Contents for CNC 0610510
Page 5: ... Content CNC 61 Hardware Description CNC 0610510 12 5 13 Appendix Revisions 101 ...
Page 6: ...Content 6 Hardware Description CNC 0610510 12 CNC 61 ...
Page 8: ...Symbols 8 Symbols ...
Page 14: ...Safety Instruction and Application Advice 14 Safety Instruction and Application Advice ...
Page 16: ...Unit Assembly Complying EMC 16 EMC ...
Page 18: ...General Information 18 Hardware Description CNC 0610510 12 CNC 61 00 ...
Page 24: ...Automation System CNC 61 00 24 Hardware Description CNC 0610510 12 CNC 61 00 ...
Page 31: ... Dimensions CNC 61 00 Hardware Description CNC 0610510 12 31 ...
Page 66: ...General Information Regarding the Wiring 66 Hardware Description CNC 0610510 12 ...
Page 100: ...Appendix Manufacturers 100 List of Manufacturers ...