A-57
Appendices
NJ-series CPU Unit Software User’s Manual (W501)
A-4 Specifications for Individual System-defined Variables
App
A-4-1 System-defined Variables for the Overall NJ-series Controller (No Category)
Functional Classification: Power Supply
Functional Classification: Programming
Variable name _PowerOnHour
Meaning Total Power ON Time Global/local Global
Function Contains the total time that the power has been ON.
Contains the total time that the CPU Unit has been ON in 1-hour increments.
To reset this value, overwrite the current value with 0.
The value is not updated after it reaches 4294967295.
This variable is not initialized at startup.
Data type UDINT Range of values 0 to 4294967295
R/W access RW Retained Retained. Network Publish Published.
Usage in user program Possible. Related instruc-
tions
---
Variable name _PowerOnCount
Meaning Power Interruption Count Global/local Global
Function Contains the number of times that the power supply has been interrupted.
The value is incremented by 1 each time the power supply is interrupted after the first time that the power was
turned ON.
To reset this value, overwrite the current value with 0.
The value is not updated after it reaches 4294967295.
This variable is not initialized at startup.
Data type UDINT Range of values 0 to 4294967295
R/W access R/W Retained Retained. Network Publish Published.
Usage in user program Possible. Related instruc-
tions
---
Variable name _RetainFail
Meaning Retention Failure Flag Global/local Global
Function TRUE at the following times (failure of retention during power interruptions).
• When an error is detected in the battery-backup memory check at startup.
FALSE at the following times (no failure of retention during power interruptions).
• When no error is detected in the battery-backup memory check at startup.
• When the user program is downloaded.
• When the Clear All Memory operation is performed.
Note When the encoder home offset data is not retained, the status is given in the error status of the axis vari-
able, and not in this flag.
Data type BOOL Range of values TRUE or FALSE
R/W access R Retained Not retained. Network Publish Not published.
Usage in user program Possible. Related instruc-
tions
---
Variable name P_On
Meaning Always TRUE Flag Global/local Global
Function This flag is always TRUE.
Data type BOOL Range of values TRUE
R/W access R Retained Not retained. Network Publish Not published.
Usage in user program Possible. Related instruc-
tions
---