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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 312
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 311 312

Comentarios a estos manuales

Sin comentarios