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 #644 background imageLoading...
Page #644 background image
3. Instructions
606
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Flags
Function
SUM(184) adds W units of data beginning with
the data in R1 and outputs the result to D+1
and D. The settings in C+1 determine whether
the units are words or bytes, whether the data
is binary (signed or unsigned) or BCD, and
whether to start with the right or left byte of R1
if bytes are being added.
When bit 13 of C+1 has been set to 1,
SUM(184) adds bytes of data. In this case, bit
12 determines whether the calculation starts
with the rightmost byte of R1 (bit 12 = 1) or the
leftmost byte of R1 (bit 12 = 0).
When bit 14 of C+1 has been set to 0,
SUM(184) treats the data as binary. In this
case, bit 15 determines whether the data is
signed (bit 15 = 1) or unsigned (bit 15 = 0).
Hint
SUM(184) can be processed in the background. Refer to the SYSMAC CS/CJ/NSJ Series PLC
Programming Manual (W394) or the CJ2 CPU Unit Software Operation Manual (W473) for details.
Name Label Operation
Error Flag ER • ON if the content of C is not within the specified range of 0001 through FFFF.
• ON if the BCD data has been specified, but the range contains binary data.
• ON if the Communications Port Enabled Flag for the communications port number specified as the
Com Port number for Background Execution is OFF when background processing is specified.
• OFF in all other cases.
Equals Flag = • ON if the result is 0.
• OFF in all other cases.
Negative Flag N • ON if bit 15 is ON in the result.
• OFF in all other cases.
+)
S
D+1 D
The actual table length specified
in C depends upon the units
(words or bytes) set in C+1.
Table length
W: specified in C

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