EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1045 background imageLoading...
Page #1045 background image
1007
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Clock Instructions
3
CADD/CSUB
z Operand Specifications
Flags
Function
z 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.
z 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.
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
C
OK OK OK OK OK OK OK OK OK OK
---
--- --- OK --- --- --- ---T OK
R ---
Name Label Operation
Error Flag 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 = • 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
Minutes Seconds
Day 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
Hours
Minutes Seconds
Minutes Seconds
Day Hour
Year Month
Minutes Seconds
Day Hour
Year Month

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals