Remote-processing BASIC 52 Uživatelský manuál Strana 133

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 163
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 132
RPBASIC-52 PROGRAMMING GUIDE
2-114
TIME (command)
Syntax: TIME hours,minutes,seconds
Where: hours = 0 to 23
minutes = 0 to 59
seconds = 0 to 59
Function: Sets the time to the real time clock
Mode: Command, Run
Use: TIME 18,17,00 Sets time to 6:17:00 PM
Cards: All. Note consideration for RPC-320, RPC-330
DESCRIPTION
Time uses a 24 hour format. Hundredths of a second are set to 0 when TIME is executed.
The RPC-320 and RPC-330 use an optional DS1216DM clock module. This module is shipped with the
clock off to conserve battery power. To turn the clock on, execute the DATE com mand first. Failure to do so
causes a HARD WARE error. DA TE need only be done once to turn on the clock. Subsequent change s to
TIME can be performed without using DATE. Refer to your hardware manual for installation location.
RELATED
TIME (function), DATE (command)
ERRORS
BAD ARGUMENT When hours, minutes, or seconds is out of range
HARDWARE Clock module is missing or not turned on. Error code 50 at address 101H
Zobrazit stránku 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 162 163

Komentáře k této Příručce

Žádné komentáře