Omron SYSMAC CP CP1E-N@@D@-@ Manual de usuario Pagina 419

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 467
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 418
2-383
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Clock Instructions
2
CADD/CSUB
Operand Specifications
Flags
Function
CADD
CADD(730) adds the calendar data (words C through C+2) to the
time data (words T and T+1) and outputs the resulting calendar data
to R through R+2.
CSUB
CSUB(731) subtracts the time data (words T and T+1) from the cal-
endar data (words C through C+2) to and outputs the resulting calen-
dar data to R through R+2.
Area
Word addresses Indirect DM addresses
Constants CF
Pulse bits
TR bits
CIO WR HR AR T C DM @DM *DM
C
OK OK OK OK OK OK OK OK OK
---
--- --- ---T OK
R ---
Name Label Operation
Error Flag P_ER ON if the calendar data in C through C+2 is not within the specified ranges.
ON if the time data in T and T+1 is not within the specified ranges.
OFF in all other cases.
Equal Flag P_EQ ON when the result of a CSUB instruction is 0.
OFF in all other cases.
C+1
C
C+2
T+1
T
R+1
R
R+2
+
15 7 08
15 7 08
15 7 0
8
Minutes Seconds
Da
y Hour
Year Month
Minutes Seconds
Minutes Seconds
Day Hour
Year Month
Hours
C+1
C
C+2
T+1
T
R+1
R
R+2
-
15 7 08
15 7 08
15 7 0
8
Minutes Seconds
Day Hour
Year Month
Minutes Seconds
Minutes Seconds
Day Hour
Year Month
Hours
Vista de pagina 418
1 2 ... 414 415 416 417 418 419 420 421 422 423 424 ... 466 467

Comentarios a estos manuales

Sin comentarios