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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 312
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 161

Appendix B

B-31
Requests the PLC-5 programmable controller to perform a block-transfer
write to an intelligent I/O module.
Important: You can use this function only if the coprocessor is connected
directly to the PLC-5 programmable controller.
C Syntax
# include <copro.h>
unsigned CC_PLC_BTW (r,g,m,size,retry,data_ptr,iostat)
unsigned char r;
unsigned char g;
unsigned char m;
unsigned char size;
unsigned char retry;
unsigned short *data_ptr;
unsigned *iostat;
Parameters
r
The assigned rack number in which the target I/O module resides.
g
The I/O group number that specifies the target I/O module.
m
The module slot number within the I/O group.
size
The number of words to be written to the I/O module.
retry
The retry value for doing the block transfer. If the value is 0, the
processor will retry the transfer one time before returning. If the value
is 1, the processor will repeatedly attempt the transfer to an
unresponsive module for four seconds.
data_ptr
The address of a data buffer that contains the block-transfer write data.
iostat
This parameter returns a final completion status. Possible completion
status values are shown in the following table.
CC_PLC_BTW
Vista de pagina 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 311 312

Comentarios a estos manuales

Sin comentarios