A.4 user operation error status – Yaskawa MP2300S Basic Module User Manual
Page 331

Appendix A System Registers Lists
A.4 User Operation Error Status
A-9
Appendices
A.4
User Operation Error Status
Error information for user operation errors in ladder programs is stored in registers SW00080 to SW00089.
( 1 ) User Operation Error Status
( 2 ) User Operation Error Codes 1
Name
Register No.
Description
DWG.A
Error Count
SW00080
• Error count
Number of error occurrences
• Error code
Refer to ( 2 ) User Operation Error Codes 1 or ( 3 ) User Operation
Error Codes 2 for details.
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
Bit15
Index error
Error Code
12
Bit11 0
Error
Code
Error Contents
System Default Setting
Integer
Operations
0001H
Integer operation - underflow
−32768
0002H
Integer operation - overflow
32767
0003H
Integer operation - division error
The A register remains the same.
0009H
Double-length integer operation - underflow
−2147483648
000AH Double-length integer operation - overflow
2147483647
000BH
Double-length integer operation - division error
The A register remains the same.
Real Num-
ber Opera-
tion
0010H
Integer storage - non-numeric error
Store not executed. [00000]
0011H
Integer storage - underflow
Store not executed. [
−32768]
0012H
Integer storage - overflow
Store not executed. [+32767]
0021H
Real number storage - underflow
Store not executed. [
−1.0E+38]
0022H
Real number storage - overflow
Store not executed. [1.0E+38]
0023H
Real number operation - division-by-zero error
Operation not executed.
[The F register remains the same.]
0030H
Real number operation - invalid operation (non-
numeric)
Operation not executed.
0031H
Real number operation - exponent underflow
0.0
0032H
Real number operation - exponent overflow
Maximum value
0033H
Real number operation - division error (non-
numeric 0/0)
Operation not executed.
0034H
Real number storage - exponent underflow
Stores 0.0.
0035H
Real number operation - stack error
–
0040H
to
0059H
Standard System Functions
Real number operation errors
Interrupt operation and output = 0.0
0040H: SQRT
0041H: SIN
0042H: COS
0043H: TAN
0044H: ASIN
0045H: ACOS
0046H: ATAN
0047H: EXP
0048H: LN
0049H: LOG
004AH: DZA
004BH: DZB
004CH: LIM
004DH: PI
004EH: PD
004FH: PID
0050H: LAG
0051H: LLAG
0052H: FGN
0053H: IFGN
0054H: LAU
0055H: SLAU
0056H: REM
0057H: RCHK
0058H: BSRCH
0059H: SQRT
–
–
1000H, 2000H, or 3000H is added for an index error.