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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 312
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 165

Appendix B

B-35
Description
Use CC_PLC_STATUS to get the current PLC-5 programmable-
controller status.
C Example
unsigned status;
unsigned plc_sts;
.
.
.
status = CC_PLC_STATUS (&plc_sts);
.
.
.
BASIC Example
The BASIC function code is 108.
DIM status : INTEGER
DIM plc_stat : INTEGER
.
.
.
rem * CC_PLC_STATUS - Get current PLC status information
RUN AB_BAS (108,status,ADDR(plc_stat))
print using “S16<,H8”, “PLC status = ”, plc_stat
.
.
.
References
None.
Vista de pagina 165
1 2 ... 161 162 163 164 165 166 167 168 169 170 171 ... 311 312

Comentarios a estos manuales

Sin comentarios