Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Bedienungsanleitung Seite 167

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 312
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 166
#"!
Appendix B

B-36
Synchronize with PLC-5 program scan. This function can be used with a
direct-connect mode control coprocessor only.
C Syntax
#include <copro.h>
unsigned CC_PLC_SYNC ( )
Parameters
None.
Returns
Status Symbolic Name Meaning
 ! " "
    ! !  
Description
Use the CC_PLC_SYNC function to synchronize to the PLC-5
programmable-controller ladder scan. This routine will put the calling task
to sleep until the PLC-5 programmable controller signals the start of a new
ladder scan. Due to the multitasking of OS-9, it should be noted that this
function is most effective when only one task is synchronized to the PLC-5
programmable-controller scan and that task is a higher priority than the
other tasks.
C Example
unsigned status;
.
.
.
status = CC_PLC_SYNC();
.
.
.
CC_PLC_SYNC
Seitenansicht 166
1 2 ... 162 163 164 165 166 167 168 169 170 171 172 ... 311 312

Kommentare zu diesen Handbüchern

Keine Kommentare