6F3B0250

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.

172 T1/T1S User’s Manual

CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net

Page 174
Image 174
Toshiba PROSEC T1 T1S, 6F3B0250 user manual FUN Increment