Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Instrukcja Użytkownika Strona 174

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 312
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 173
"((-&!&+*"% )
Appendix B

B-43
Sets the control-coprocessor date and time to the same date and time found
in the PLC-5 programmable controller.
Syntax
#include <copro.h>
unsigned DTL_CLOCK ()
Description
DTL_CLOCK synchronizes the control coprocessor time to within one
second of the clock for the PLC-5 programmable controller. This is a
one-time-only synchronization. The user can maintain synchronization by
executing DTL_CLOCK at regular intervals.
Since this routine performs I/O to the PLC-5 programmable controller, the
calling process must call DTL_INIT prior to calling DTL_CLOCK.
Returns
Status Symbolic Name Meaning
 ' (*"&% )+ ))!+#
   &' (*"&% " %&* &$'# * "% *"$
   *# %&* "%"*"#".
  / *"$ "%,#"
C Example
unsigned status;
status = DTL_INIT (1);
status = DTL_CLOCK ();
DTL_CLOCK
Przeglądanie stron 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 311 312

Komentarze do niniejszej Instrukcji

Brak uwag