Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Manual do Utilizador Página 240

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 312
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 239

Appendix B

B-109
Handles a PLC-5 programmable-controller generated
message-write instruction.
C Syntax
#include <copro.h>
unsigned MSG_WRITE_W_HANDLER (variable,buff_size,msg_num,
items,timeout,cc_type,plc_type,iostat)
short *variable;
unsigned buff_size;
unsigned msg_num;
unsigned items;
unsigned timeout;
unsigned cc_type;
unsigned plc_type;
int *iostat;
Parameters
variable
Address of a buffer that stores the write data.
buff_size
Size of the write buffer in bytes.
msg_num
Number of the PLC-5 programmable-controller message (0-31).
items
Number of data items to be written by the PLC-5 programmable
controller. The number and size of the items cannot be greater than
234 bytes—e.g., maximum of 58 floating-point values of 4 bytes each
are < 234 bytes.
timeout
Timeout value in seconds. A value of CC_FOREVER (defined in
COPRO.H) will not return until the message has been processed.
MSG_WRITE_W_HANDLER
Vista de página 239
1 2 ... 235 236 237 238 239 240 241 242 243 244 245 ... 311 312

Comentários a estes Manuais

Sem comentários