Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Manual de usuario Pagina 142

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 312
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 141
##)!!&% $
Appendix B

B-11
Displays an integer value in decimal on the ASCII display of the serial
expander module.
C Syntax
#include <copro.h>
unsigned CC_DISPLAY_DEC (val)
int val;
Parameters
val
Contains the integer value to be displayed in decimal form on the ASCII
display. The display ranges from -999 to 9999.
Returns
Status Symbolic Name Meaning
 "#%! $&$$&
  %*! '#$! ##!#
  (" # !% "#$ %
Description
Use the CC_DISPLAY_DEC function to display an integer value in the
ASCII display. The value must be in the range -999 through 9999.
Important: ASCII display remains unchanged until another display
function call is performed successfully.
C Example
unsigned status;.
int value = 1234;
.
.
.
status = CC_DISPLAY_DEC (value);
.
.
.
CC_DISPLAY_DEC
Vista de pagina 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 311 312

Comentarios a estos manuales

Sin comentarios