1,027
edits
(mentioned missing Y2K compatibility) |
(Added some picture comments and links to other articles) |
||
Line 7: | Line 7: | ||
! Description | ! Description | ||
|- | |- | ||
! CALL " | ! CALL "TIMSET", T | ||
| Sets the actual time. T must be a floating point number containing the count of seconds + | | Sets the actual time. T must be a floating point number containing the count of seconds + fractions since the 01-01 of the current year.<br/>The resolution is 1/128 of a second. | ||
|- | |- | ||
! CALL "TIMSET",T$ | ! CALL "TIMSET",T$ | ||
Line 14: | Line 14: | ||
|- | |- | ||
! CALL "TIME",T | ! CALL "TIME",T | ||
| Returns the actual time. The result T is a floating point number and contains the count of seconds since | | Returns the actual time. The result T is a floating point number and contains the count of seconds since 01-01 of the current year.<br/>The resolution is 1/128 of a second. | ||
|- | |- | ||
! CALL "TIME",T$ | ! CALL "TIME",T$ | ||
| Returns the actual date & time. T$ contains a string in the format "WEK MM DD YY HH:MM:SS (AM/PM)".<br/>The string is formatted depending on previous calls of 24HOUR or 12HOUR.<br/>Examples:<br/>MON 07 MAR 21 4:15:20 PM<br/>MON 07 MAR 21 16:15:20<br/>Remark:<br/>As with all 4050 RTC modules the 641-RTC is not Y2K compatible. So | | Returns the actual date & time. T$ contains a string in the format "WEK MM DD YY HH:MM:SS (AM/PM)".<br/>The string is formatted depending on previous calls of 24HOUR or 12HOUR.<br/>Examples:<br/>MON 07 MAR 21 4:15:20 PM<br/>MON 07 MAR 21 16:15:20<br/>Remark:<br/>As with all 4050 RTC modules the 641-RTC is not [[Year 2000 problem|Y2K]] compatible. So in this example the weekday of march, 7th, 1921 is returned. | ||
|- | |- | ||
! CALL "CLOCK",T$ | ! CALL "CLOCK",T$ | ||
| Same as "TIME",T$ | | Same as "TIME",T$ and "TIME",T | ||
|- | |- | ||
! CALL "PAUSE",T | ! CALL "PAUSE",T | ||
Line 37: | Line 37: | ||
==Curiosity== | ==Curiosity== | ||
The external power supply only "protects" and updates the count of seconds within the current year. The year information is stored somewhere in the normal RAM of the 4051 and is lost after a power-cycle. | The external power supply only "protects" and updates the count of seconds within the current year. The year information is stored somewhere in the normal RAM of the 4051 and is lost after a power-cycle. | ||
==Second Revision== | ==Second Revision== | ||
The manual of the [[TransEra 741-RTC]] explicitly talks about a 741 and 641 with identical command set. The command set differs from the command set of the unit shown on this page. So a second revision of the 641 should exist. | The manual of the [[TransEra 741-RTC]] explicitly talks about a 741-RTC and a 641-RTC with identical command set. The command set in the manual differs from the command set of the unit shown on this page. So a second revision of the 641 should exist. | ||
===Pictures=== | ===Pictures=== | ||
<gallery> | <gallery> | ||
TransEra_641RTC_01.jpg | TransEra_641RTC_01.jpg|Label view. | ||
TransEra_641RTC_02.jpg | TransEra_641RTC_02.jpg|Label view - Note: The first "TIMSET"-CALL is misspelled. | ||
TransEra_641RTC_03.jpg | TransEra_641RTC_03.jpg|Front view | ||
TransEra_641RTC_04.jpg | TransEra_641RTC_04.jpg|Top view of PCB | ||
TransEra_641RTC_05.jpg | TransEra_641RTC_05.jpg|Bottom view of PCB | ||
</gallery> | </gallery> | ||
edits