Remote-processing RPC-150 Manuale Utente Pagina 20

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 26
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 19
CALENDAR/CLOCK CHAPTER 7
Page 18 RPC-150
Figure 7-1 Calendar/clock ins tallation
DESCRIPTION
The RPC-150 has a battery backed Calendar/clock
option using the DS-1216EM. When used in conjunction
with the DATE $ and TIM E$ com mands, the curr ent date
and time can be set and r ead. The D S-1216EM is
accurate to 1 minute/month at 25°C. Battery life is a
mi nim um of 5 ye ar s at 25°C a nd 2 years wh en at 5 0°C .
INSTALLATION
The real time clock is installed in socket U3. Remove
the IC in U3. Install the DS-1216EM in U3. Install the
IC previously removed into the top of the DS-1216EM.
SETTING DATE AND TIME
The clock must be turned on before it is used. This need
be done only once. To turn on the clock, type:
CONFIG CLOCK ON
The date and time can be set while running a program or
in the immediate mode. Date and time are treated as
strings and not numbers. To set the date and time:
date$="07-25-94"
time$="15:03:00"
To retrieve date and time as part of a program:
2000 DA$ = DATE$(0)
2010 TI$ = TIME$(0)
You can also print the date and time in the immediate
mode:
pr time$(0)
15:04:03
The clock is turned on and off using the CONFIG
CLO CK statem ent.
COMMANDS
The following is a list of CAMBASIC commands for the
calendar/clock.
Command Function
CONFIG CLOCK Configures clock
DATE$ Sets date
DATE$(0) Returns date
TIME$ Sets time
TIME$(0) Returns time
Vedere la pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 26

Commenti su questo manuale

Nessun commento