6F3B0253

7. Instructions

FUN 043

+1

Increment

Expression

Input [ +1 A ]Output

Function

When the input is ON, the data of A is increased by 1 and stored in A.

Execution condition

Input

 

Operation

Output

OFF

No execution

 

OFF

ON

Execution

 

ON

Operand

 

Name

 

 

Device

 

 

 

 

 

 

Register

 

 

 

 

 

Constant

Index

 

 

X

Y

R

S

T.

C.

XW

YW

RW

SW

T

C

D

I

 

J

K

 

 

A

Operation data

 

 

 

 

 

 

 

√ √

 

 

 

Example

At the rising edge of X004 changes from OFF to ON, the data of D0050 is increased by 1 and stored in D0050.

If the data of D0050 is 750 before the execution, it will be 751 after the execution.

D0050

750

+ 1

D0050

751

Note

There is no limit value for this instruction. When the data of operand A is 32767 before the execution, it will be -32768 after the execution.

154 T1-16S User’s Manual

Page 156
Image 156
Toshiba 6F3B0253 user manual FUN Increment