0% found this document useful (0 votes)
78 views3 pages

Applicable Program Areas: Instruction Mnemonic Variations Function Code Function

The document describes the INCREMENT BINARY and DOUBLE INCREMENT BINARY instructions. It explains that INCREMENT BINARY (+) increments the content of a specified word (Wd) by 1 each cycle. DOUBLE INCREMENT BINARY (+L) increments the content of two consecutive words (Wd and Wd+1) by 1 each cycle. It provides examples of how these instructions can be used to increment values based on the state of a conditional input and discusses the up-differentiated variations (@+ and @+L) that only increment values when the condition changes from OFF to ON.

Uploaded by

rk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views3 pages

Applicable Program Areas: Instruction Mnemonic Variations Function Code Function

The document describes the INCREMENT BINARY and DOUBLE INCREMENT BINARY instructions. It explains that INCREMENT BINARY (+) increments the content of a specified word (Wd) by 1 each cycle. DOUBLE INCREMENT BINARY (+L) increments the content of two consecutive words (Wd and Wd+1) by 1 each cycle. It provides examples of how these instructions can be used to increment values based on the state of a conditional input and discusses the up-differentiated variations (@+ and @+L) that only increment values when the condition changes from OFF to ON.

Uploaded by

rk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

+ +/+ +L Page 1 of 3

+ +/+ +L    
Function 
Instruction  Mnemonic  Variations  Function 
code       
Increments  the  4-digit  hexadecimal  content  of 
INCREMENT  BINARY  +  +  @+  +  590 
the  specified  word  by  1. 
DOUBLE  INCREMENT  Increments  the  8-digit  hexadecimal  content  of 
BINARY  +  +L  @+  +L  591 
the  specified  words  by  1. 
   
+  +  +    +L 

Symbol 

       
   

Applicable  Program  Areas 


Function  block  SFC  action  or   
Area  Block  program  areas  Step  program  areas  Subroutines  Interrupt  tasks 
definitions  transition  programs 
Usage  OK  OK  OK  OK  OK  OK 

Operands 
Data  type  Size   
Operand  Description   
++  ++L  ++  ++L 
++:  Word 
Wd  UINT  UDINT  1  2 
++L:  First  word 

       Operand  Specifications 
Indirect  DM/EM 
Word  addresses  Registers  Flags   
addresses  Con- Pulse  TR 
Area   
@DM  *DM  stants  Indirect  bits  bits 
CIO  WR  HR  AR  T  C  DM  EM  DR  IR  TK  CF 
@EM  *EM  using  IR 
+  +  Wd  OK  --- 
OK  OK  OK  OK  OK  OK  OK  OK  OK  OK  ---  OK  ---  ---  ---  --- 
+  +L  Wd  ---  OK 

Flags 
Name    Label    Operation   
Error  Flag  ER  OFF 
• ON  if  the  result  is  0000/0000  0000  after  execution. 
Equals  Flag  = 
• OFF  in  all  other  cases. 

• ON  if  a  digit  in  Wd/Wd+1  or  Wd  went  from  F  to  0  during  execution. 
Carry  Flag  CY 
• OFF  in  all  other  cases. 

• ON  if  bit  15  of  Wd/Wd+1  is  ON  after  execution. 
Negative  Flag  N 
• OFF  in  all  other  cases. 
   

Function 
       +  + 
The  +  +(590)  instruction  adds  1  to  the  binary  content 
of  Wd.  The  specified  word  will  be  incremented  by  1 
every  cycle  as  long  as  the  execution  condition  of  +  +
(590)  is  ON.  When  the  up-differentiated  variation  of  this 
instruction  (@+  +(590))  is  used,  the  specified  word  is 
incremented  only  when  the  execution  condition  has 
gone  from  OFF  to  ON. 
   

       +    +L 
The  +  +L(591)  instruction  adds  1  to  the  8-digit 
hexadecimal  content  of  Wd+1  and  Wd.  The  content  of 
the  specified  words  will  be  incremented  by  1  every 

mk:@MSITStore:C:\Program%20Files%20(x86)\OMRON\CX-One\CX-Programmer\PLC... 5/7/2018
+ +/+ +L Page 2 of 3

cycle  as  long  as  the  execution  condition  of  +  +L(591) 


is  ON.  When  the  up-differentiated  variation  of  this 
instruction  (@+  +L(591))  is  used,  the  content  of  the 
specified  words  is  incremented  only  when  the  execution 
condition  has  gone  from  OFF  to  ON. 
   

Sample  program 
       Operation  of  +  +(590)/+  +L(591) 
In  the  following  example,  the  content  of  D100  will  be  incremented  by  1  every  cycle  as  long  as  CIO 
0.00  is  ON. 

   

In  the  following  example,  the  content  of  D100  will  be  incremented  by  1  every  cycle  as  long  as  CIO 
0.00  is  ON. 

   

       Operation  of  @+  +(590)/@+  +L(591) 


The  up-differentiated  variation  is  used  in  the  following  example,  so  the  content  of  D100  will  be 
incremented  by  1  only  when  CIO  0.00  has  gone  from  OFF  to  ON. 

   

The  up-differentiated  variation  is  used  in  the  following  example,  so  the  content  of  D101  and  D100  will 
be  incremented  by  1  only  when  CIO  0.00  has  gone  from  OFF  to  ON. 

Availability: 

mk:@MSITStore:C:\Program%20Files%20(x86)\OMRON\CX-One\CX-Programmer\PLC... 5/7/2018
+ +/+ +L Page 3 of 3

Supported  PLCs 

mk:@MSITStore:C:\Program%20Files%20(x86)\OMRON\CX-One\CX-Programmer\PLC... 5/7/2018

You might also like