beautypg.com

10 increment (inc), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 109

background image

5.3 Numeric Operation Instructions

5.3.10 Increment (INC)

5-40

5.3.10 Increment (INC)

( 1 ) Operation

A value of 1 is added to the integer or double-length integer data. No overflow or underflow will occur for either an
integer or double-length integer. This operation handles overflows and underflows in the same way as the ADDX
instruction.

„

Output Data Behavior

Œ

In the example shown above, the data is an integer. With double-length integers, adding 1 to 2,147,483,647
(7FFFFFFF hex) results in -2,147,483,648(80000000 hex).

( 2 ) Format

∗ C and # registers cannot be used.

Data

Data

+1

0

+1

32,767

-32,768

+1

1

2

Data

32,767 (7FFF hex)

-32,768 (8000 hex)

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

Data (Dest)

×

{

*

{

*

×

×

{

×

Data

Icon:

Key entry: INC

This manual is related to the following products: