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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 312
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 213
' --3+$+0/'*#.
Appendix B

B-83
Returns
Status Symbolic Name Meaning
 ,#-/'+* .0!!#..$0(
  / '/#) "#$'*#" .  +*(3
   / (# *+/ '*'/'('4#"
  #$'*'/'+*  +0/ +$ -*%#
   !+),(#/#" 2'/& #--+-.
  + .0!& "/ '/#) "#$'*#"
  /5!+*1#-.'+* #--+-  *+/ //#),/#"
   '. *+/ !+**#!/#" +- +$$('*#
Description
Use the DTL_WRITE_W function to write data to the PLC-5
programmable controller directly connected to the control coprocessor.
This function is synchronous. When this function is initiated, your
C application program stops until the function completes or fails.
C Example
unsigned status;
unsigned machine1;
unsigned short parts1;
unsigned iostat;
.
.
.
DTL_C_DEFINE (&machine1, “N30:0, 1, WORD, MODIFY”);
.
.
.
status = DTL_WRITE_W (machine1, &parts1, &iostat)
if (status == DTL_SUCCESS)
{
printf (“parts = %d\n”, parts1);
}
else
{
(printf (“error %d, %d on read of parts data\n”,
status,
iostat);
}
.
.
.
Vista de pagina 213
1 2 ... 209 210 211 212 213 214 215 216 217 218 219 ... 311 312

Comentarios a estos manuales

Sin comentarios