Prosoft-technology MVI69-ADM Manual de usuario Pagina 329

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 342
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 328
MVI-ADM 'C' Programmable Side-Connect API Library Functions
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 329 of 342
February 20, 2013
MVIsc_BCD2BIN
Syntax
WORD MVIsc_BCD2BIN(WORD bcd);
Parameters
bcd
BCD value to be converted into binary
Description
MVIsc_BCD2BIN converts a 4-digit BCD value to binary. The BCD value must be
within the range 0 to 9999.
Return Value
Binary representation of BCD value.
Example
WORD bcd, bin;
/* Convert the value in bcd to binary */
bin = MVIsc_BCD2BIN(bcd);
Vista de pagina 328
1 2 ... 324 325 326 327 328 329 330 331 332 333 334 ... 341 342

Comentarios a estos manuales

Sin comentarios