Rockwell-automation 1771-DB BASIC MODULE Manuale Utente Pagina 267

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 266
Chapter
Call Routines 69–127
13
13 -9
Use CALL 80 to check the module’s battery condition.
Refer to Chapter 3 for information on how to change the battery.
Important: Refer to Guidelines for Handling Lithium Batteries
(publication number AG-5.4 to properly dispose of the
lithium battery.
Input and Output Arguments
This routine has no input arguments and one output argument. The output
argument is the status of the battery:
0 = battery is okay
1 = battery is low
Syntax
CALL
80
POP
battery status
Example
>10
CALL 80
>
20 POP C
>
30 IF C <>0 THEN PRINT “BATTERY LOW”
>
40 END
CALL 80: Check Battery
Condition
Chapter
Vedere la pagina 266
1 2 ... 262 263 264 265 266 267 268 269 270 271 272 ... 393 394

Commenti su questo manuale

Nessun commento