
4.2 CPU Module Specifications
4.2.7 System Register Specifications
4-20
User Operation Error Status
The data in these registers give details when an operation error occurs in a user program.
User Operation Error Code
−
1: Operation Errors
*
The numeric values given in brackets [ ] are set by the system in the Changed A Register or Changed F Register
before the operation error drawing is executed.
Drawing Type
Error Description
Register Address
Contents
DWG.A
Error Count
SW00080
•
Error Count
Gives the number of errors that have occurred.
•
Error Code
Gives the details of the error.
0
hex: Operation error
x
hex (x = 1, 2, 3): Index error
Error Code
SW00081
DWG.I
Error Count
SW00082
Error Code
SW00083
DWG.H
Error Count
SW00084
Error Code
SW00085
Reserved for system.
SW00086,
SW00087
DWG.L
Error Count
SW00088
Error Code
SW00089
Error Code
Error Description
Operation When an Error Occurs
*
In
te
ge
r Oper
at
io
ns
0001 hex
Integer operation underflow
[-32768]
0002 hex
Integer operation overflow
[32767]
0003 hex
Integer operation division error
[The A register stays the same.]
0009 hex
Double-length integer operation underflow
[-2147483648]
000A hex
Double-length integer operation overflow
[2147483647]
000B hex
Double-length integer operation division
error
[The A register stays the same.]
000C hex
Quadruple-length integer operation under-
flow
[-9223372036854775808]
000D hex
Quadruple-length integer operation overflow
[9223372036854775807]
000E hex
Quadruple-length integer operation division
error
[The A register stays the same.]
0101 hex to
010E hex
Integer operation error in Operation Error
Drawing
[The A register stays the same.]
Real
Numbe
r
Operations
0010 hex
Non-numerical integer storage error
Data is not stored. [00000]
0011 hex
Integer storage underflow
Data is not stored. [-32768]
0012 hex
Integer storage overflow
Data is not stored. [+32767]
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 (non-numeric)
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
Stores 0.0.
0040 hex
to
0059 hex
Real number operation error in standard sys-
tem function
Operation is aborted and output is set to
0.0.
0040 hex: SQRT
0047 hex: EXP
004E hex: PD
0055 hex: SLAU
0041 hex: SIN
0048 hex: LN
004F hex: PID
0056 hex: REM
0042 hex: COS
0049 hex: LOG
0050 hex: LAG
0057 hex: RCHK
0043 hex: TAN
004A hex: DZA
0051 hex: LLAG
0058 hex: BSRCH
0044 hex: ASIN
004B hex: DZB
0052 hex: FGN
0059 hex: SORT
0045 hex: ACOS
004C hex: LIM
0053 hex: IFGN
−
0046 hex: ATAN
004D hex: PI
0054 hex: LAU