7. MAINTENANCE
Direct representation Size
AT Variable
DG_Modulo.tDetailed.*
Description
%QD(n+4)
DWORD
Target.
dwCPUModel
NX3003 = 0x3003
NX3004 = 0x3004
NX3005 = 0x3005
NX3010 = 0x3010
NX3020 = 0x3020
NX3030 = 0x3030
%QB(n+8)
BYTE
ARRAY(4)
Target.
abyCPUVersion
Firmware version.
%QB(n+12)
BYTE
ARRAY(4)
Target.
abyBootloaderVersion
Bootloader version.
%QB(n+16)
BYTE
ARRAY(4)
Target.
abyAuxprocVersion
Auxiliary processor version.
Table 223: Target Detailed Diagnostics Group Description
Direct representation Size
AT Variable
DG_Module.tDetailed.*
Description
%QX(n+20).0
BIT
Hardware.
bAuxprocFailure
Failure in the communication between the aux-
iliary processor and the principal processor.
%QX(n+20).1
BIT
Hardware.
bRTCFailure
The main processor is not enabled to communi-
cate with the RTC (CPU’s clock).
%QX(n+20).2
BIT
Hardware.
bThermometerFailure
1
Failure in the communication between the ther-
mometer and the main processor.
%QX(n+20).3
BIT
Hardware.
bLCDFailure
Failure in the communication between the LCD
screen and the main processor.
Table 224: Hardware Detailed Diagnostics Group Description
Direct representation Size
AT Variable
DG_Module.tDetailed.*
Description
%QW(n+21)
WORD
Exception.
wExceptionCode
Exception code generated by the RTS. See Ta-
ble 226.
%QB(n+23)
BYTE
Exception.
byProcessorLoad
Level, in percentage (%), of charge in the pro-
cessor.
Table 225: Exception Detailed Diagnostics Group Description
Note:
Exception Code: the code of the exception generated by the RTS (Runtime System) can be consulted below:
Code Description Code Description
0x0000 There is no exception code. 0x0051 Access violation.
0x0010
Watchdog time of the IEC task ex-
pired (Software Watchdog).
0x0052 Privileged instruction.
0x0012 I/O configuration error. 0x0053 Page failure.
0x0013
Checksum error after the program
download.
0x0054 Stack overflow.
0x0014 Fieldbus error. 0x0055 Invalid disposition.
0x0015 I/O updating error. 0x0056 Invalid maneuver.
0x0016 Cycle time (execution) exceeded. 0x0057 Protected page.
0x0017 Program online updating too long. 0x0058 Double failure.
0x0018 External references not resolved. 0x0059 Invalid OpCode.
361