Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Instrukcja Użytkownika Strona 160

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 312
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 159
,%3$391)165,0(4
Appendix B
##
B-29
This parameter returns a final completion status. Possible completion
status values are shown in the following table.
Value Meaning
#  12(3$5,10 &1/2.(5(' 46&&(44)6..9
 ##  12(3$5,10 015 $55(/25(' 4(( 45$564 7$3,$%.( )13 3($410

## 12(3$5,10 3()64(' %9 5+( ; 231*3$//$%.( &10531..(3
(( $%.(  )13  (33134
Returns
Status Symbolic Name Meaning
#  2(3$5,10 46&&(44)6.
 ## 82$0'(3 015 23(4(05
 ##  ,4 015 &100(&5(' 13 1)).,0(
 ### $&- 7$.6( 165 1) 3$0*(
 ###  3162 7$.6( 165 1) 3$0*(
 ###  1'6.( 4.15 7$.6( 165 1) 3$0*(
 ###! (539 7$.6( 165 1) 3$0*(
 ##" 07$.,' 4,:( )13 12(3$5,10
Description
Use the CC_PLC_BTR function to get block-transfer information from
an analog I/O module. This function may take a long period of real time
to complete.
C Example
unsigned char rack = 0;
unsigned char group = 5;
unsigned char module = 0;
unsigned char size = 1;
unsigned iostat;
unsigned short buff;
.
.
.
status = CC_PLC_BTR (rack,group,module,size,1,&buff,&iostat);
if (!(status))printf (“value from module is %x\n”,buff[0]);
.
.
.
Przeglądanie stron 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 311 312

Komentarze do niniejszej Instrukcji

Brak uwag