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

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 312
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 200
&,,1*#*/.&)"-
Appendix B

B-70
Initiates an operation that reads a data element, modifies some of the bits,
then writes it back.
C Syntax
#include <copro.h>
unsigned DTL_RMW_W (name_id, and_mask, or_mask, iostat)
unsigned name_id;
unsigned and_mask;
unsigned or_mask;
unsigned *iostat;
Parameters
name_id
DTL_C_DEFINE returns this handle when the data item to be read and
modified is defined.
and_mask
Use the and_mask to specify the bits you want to preserve in the data
item. A “1” bit in the AND mask preserves the corresponding bit in the
data item; a “0” bit forces the corresponding bit to zero.
or_mask
Use or_mask to specify the bits you want to set in the data item.
A “1” bit in the OR mask forces the corresponding bit in the data item;
a “0” bit forces the corresponding bit unchanged. The OR mask is
applied after the AND mask.
iostat
Returns a final completion status. Possible completion status values are:
Value Meaning
 *+",.&*) *(+'"."! -/ "--#/''1
   *+",.&*) )*. .."(+."! -"" -../- 0,&'" #*, ,"-*)
  !.2 *)0",-&*) ",,*,

 *+",.&*) ,"#/-"! 1 .%" 2 +,*$,(('" *).,*''",
"" '"  #*,  ",,*,-
DTL_RMW_W
Seitenansicht 200
1 2 ... 196 197 198 199 200 201 202 203 204 205 206 ... 311 312

Kommentare zu diesen Handbüchern

Keine Kommentare