Omron CJ - INSTRUCTIONS Reference Manual page 1045

Table of Contents

Advertisement

Operand Specifications
Word addresses
Area
CIO
WR
HR
C
T
OK
OK
OK
R
Flags
Name
Error Flag
Equal Flag
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
calendar data (words C through C+2) to and outputs the resulting
calendar data to R through R+2.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Label
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.
=
• ON when the result of a CSUB instruction is 0
• OFF in all other cases.
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
OK
OK
OK
---
---
Operation
3. Instructions
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
C
Minutes
Seconds
C+1
Day
Hour
C+2
Year
Month
T
Minutes
Seconds
T+1
Hours
R
Minutes
Seconds
R+1
Day
Hour
Year
Month
R+2
C
Minutes
Seconds
C+1
Day
Hour
Year
Month
C+2
T
Minutes
Seconds
Hours
T+1
R
Minutes
Seconds
Day
Hour
R+1
R+2
Year
Month
TR
bits
---
---
3
1007

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents