TransEra 641-RTC: Difference between revisions

Corrected some typos
(Added some basic informations about the 641 RTC)
(Corrected some typos)
Line 8: Line 8:
|-
|-
! CALL "TIMESET", T
! CALL "TIMESET", T
| Sets the actual time. T must be a floating point number containing the count of seconds + fraction since the 01-01 of the actual year.<br/>The resolution is 1/128 of a second
| Sets the actual time. T must be a floating point number containing the count of seconds + fraction 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 the 01-01 of the actual year.<br/>The resolution is 1/128 of a second
| Returns the actual time. The result T is a floating point number and contains the count of seconds since the 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 of 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
| 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
|-
|-
! CALL "CLOCK",T$
! CALL "CLOCK",T$
Line 29: Line 29:
|-
|-
! CALL "12HOUR"
! CALL "12HOUR"
| Sets the format of the returned time strings to 12 hour format
| Sets the format of the returned time strings to 12-hour format
|-
|-
! CALL "24HOUR"
! CALL "24HOUR"
| Sets the format of the returned time strings to 24 hour format
| Sets the format of the returned time strings to 24-hour format
|}
|}


==Couriosity==
==Curiosity==
The external power supply only "protects" and updates the count of seconds within the actual 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]] explicitely 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 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.




928

edits