Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Bedienungsanleitung Seite 146

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 312
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 145
$$*""'&!%
Appendix B

B-15
Displays an unsigned-integer value in hexadecimal on the ASCII display.
C Syntax
#include <copro.h>
unsigned CC_DISPLAY_HEX (val)
unsigned val;
Parameters
val
The unsigned-integer value to be displayed in hexadecimal on the
ASCII display. The display ranges from 0H to FFFH.
Returns
Status Symbolic Name Meaning
 #$&"! %'%%'
  &+"!($%"! $$"$
  )#!$ !"& #$%!&
Description
Use the CC_DISPLAY_HEX function to display an unsigned-integer value
in 3-digit hexadecimal on the ASCII display. The value must be in the
range of 0H through FFFH. The 3 digits are displayed with a trailing “H.”
Important: ASCII display remains unchanged until another display
function call is performed successfully.
C Example
unsigned status;.
.
.
status = CC_DISPLAY_HEX (0x301);
.
.
.
CC_DISPLAY_HEX
Seitenansicht 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 311 312

Kommentare zu diesen Handbüchern

Keine Kommentare