Rockwell-automation 1771-DB BASIC MODULE Manual de usuario Pagina 196

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 394
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 195
Chapter
Call Routines 0–68
12
12 -6
This routine was used during EPROM programming in the 1771-DB,
Series A BASIC module. If you initiate this call with a 1771-DB, Series B
BASIC module, nothing happens. The call simply returns to the main
program.
This routine was used during EPROM programming in the 1771-DB,
Series A BASIC module. If you initiate this call with a 1771-DB, Series B
BASIC module, nothing happens. The call simply returns to the main
program.
Use this routine to to covert 3-digit BCD from PLC processor to BASIC
floating point. See also CALL 20.
See Chapter 8 for more information.
Input and Output Arguments
This routine has one input and one output argument. The input argument is
the number (1 to 64) of the word in the block-transfer-write buffer that you
want to convert from 3-digit BCD to BASIC format. The output argument
is the value converted into BASIC floating point format. The sign bit is bit
number 16.
Syntax
PUSH number of word (1 – 64) to be converted
CALL
10
POP converted value
Example
>
10 PUSH X
>
20 CALL 10
> 30 POP Y
CALL 8: Disable Interrupts
(No Operation)
CALL 9: Enable Interrupts
(No Operation)
CALL 10:
3-Digit Signed, Fixed
Decimal BCD to
BASIC Floating Point
Chapter
Vista de pagina 195
1 2 ... 191 192 193 194 195 196 197 198 199 200 201 ... 393 394

Comentarios a estos manuales

Sin comentarios