Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Uživatelský manuál Strana 166

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 312
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 165
1 2 ... 161 162 163 164 165 166 167 168 169 170 171 ... 311 312

Komentáře k této Příručce

Žádné komentáře