Remote-processing BASIC for the CX-10 Modbus Instrukcja Użytkownika Strona 66

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 84
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 65
BASIC PROGRAMMING GUIDE
2-57
SGN
Syntax: SGN(
expr
)
Function: Returns +1 if
expr
is greater than zero, zero if the
expr
equals zero, and -1 if
expr
is less than zero.
Mode: Command, run
Use: PRINT SGN(SIN(X)))
DESCRIPTION
Use SGN in level control applications. If a level is high or low, it can direct control to the appropriate
program.
EXAMPLE
100 ON SGN(A)+1 GOSUB 2000,3000,4000
Przeglądanie stron 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 83 84

Komentarze do niniejszej Instrukcji

Brak uwag