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

  • 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 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
Zobrazit stránku 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 311 312

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

Žádné komentáře