Rockwell-automation 1771-DB BASIC MODULE Instrukcja Użytkownika Strona 267

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 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
Przeglądanie stron 266
1 2 ... 262 263 264 265 266 267 268 269 270 271 272 ... 393 394

Komentarze do niniejszej Instrukcji

Brak uwag