A.4 overview of user operation error status, Appa, 1 ) user operation error code -1 – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 383

Advertising
background image

A.4 Overview of User Operation Error Status

A-9

System Registers

AppA

A.4

Overview of User Operation Error Status

Details are given in registers SW00080 to SW00089 when a user operation error occurs in a program.

( 1 ) User Operation Error Code -1

Name

Register
Address

Contents

DWG.A

Error Count

SW00080

• Error Count

Gives the number of errors that have occurred.

• Error Code

Refer to ( 1 ) User Operation Error Code -1 or ( 2 ) User Operation Error
Code -2
for information on error codes.

Error Code

SW00081

DWG.I

Error Count

SW00082

Error Code

SW00083

DWG.H

Error Count

SW00084

Error Code

SW00085

DWG.L

Error Count

SW00088

Error Code

SW00089

Bit 15

12

Bit 11

0

Error Code

Index error

Error Code

Error Description

System Default

In

te

ger O

perati

ons

0001 hex

Integer operation underflow

-32,768

0002 hex

Integer operation overflow

32,767

0003 hex

Integer operation division error

The A register stays the same.

0009 hex

Double-length integer operation underflow

-2,147,483,648

000A hex

Double-length integer operation overflow

2,147,483,647

000B hex

Double-length integer operation division error

The A register stays the same.

Rea

l Number O

perat

ion

s

0010 hex

Non-numerical integer storage error

Data is not stored. [00000]

0011 hex

Integer storage underflow

Data is not stored. [-32,768]

0012 hex

Integer storage overflow

Data is not stored. [ + 32,767]

0021 hex

Real number storage underflow

Data is not stored. [-1.0E + 38]

0022 hex

Real number storage overflow

Data is not stored. [1.0E + 38]

0023 hex

Real number operation division by zero error

Data is not stored. [F register stays the same.]

0030 hex

Invalid real number operation (not a number)

Data is not stored.

0031 hex

Real number operation exponent underflow

0.0

0032 hex

Real number operation exponent overflow

Maximum Value

0033 hex

Real number operation division error (0/0)

Operation is not executed.

0034 hex

Real number storage exponent underflow

A value of 0.0 is stored.

0035 hex

Real number operation stack error

0040 to 0059 hex

Real number operation error in standard system
function

Operation is aborted and output is set to 0.0.

0040 hex: SQRT

0041 hex: SIN

0042 hex: COS

0043 hex: TAN

0044 hex: ASIN

0045 hex: ACOS

0046 hex: ATAN

0047 hex: EXP

0048 hex: LN

0049 hex: LOG

004A hex: DZA

004B hex: DZB

004C hex: LIM

004D hex: PI

004E hex: PD

004F hex: PID

0050 hex: LAG

0051 hex: LLAG

0052 hex: FGN

0053 hex: IFGN

0054 hex: LAU

0055 hex: SLAU

0056 hex: REM

0057 hex: RCHK

0058 hex: BSRCH

0059 hex: SORT

For an index error, 1000, 2000, or 3000 hex is added.

Advertising
This manual is related to the following products: