beautypg.com

Instructions fun 043 +1 increment – Toshiba 6F3B0253 User Manual

Page 156

background image

6F3B0253

154

T1-16S User’s Manual

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

D0050

750

+ 1

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.