Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Manual do Utilizador Página 174

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 312
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 311 312

Comentários a estes Manuais

Sem comentários