Remote-processing BASIC for the CX-10 Modbus Manual de usuario Pagina 66

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 84
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 83 84

Comentarios a estos manuales

Sin comentarios