Appendices
A-58
NJ-series CPU Unit Software User’s Manual (W501)
*1 This system-defined variable was added for unit version 1.08 of the CPU Unit.
Variable name P_Off
Meaning Always FALSE Flag Global/local Global
Function This flag is always FALSE.
Data type BOOL Range of values FALSE
R/W access R Retained Not retained. Network Publish Not published.
Usage in user program Possible. Related instruc-
tions
---
Variable name P_CY
Meaning Carry Flag Global/local Local
Function This flag is updated by some instructions.
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_First_RunMode
Meaning First RUN Period Flag Global/local Local
Function This flag is TRUE for only one task period after the operating mode of the CPU Unit is changed from PROGRAM
mode to RUN mode if execution of the program is in progress.
This flag remains FALSE if execution of the program is not in progress.
Use this flag to perform initial processing when the CPU Unit begins operation.
Note You cannot use this system-defined variable inside functions.
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_First_Run*1
Meaning First Program Period Flag Global/local Local
Function This flag is TRUE for one task period after execution of the program starts.
Use this flag to perform initial processing when execution of a program starts.
Note You cannot use this system-defined variable inside functions.
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_PRGER
Meaning Instruction Error Flag Global/local Local
Function This flag changes to and remains TRUE when an instruction error occurs in the program or in a function/function
block called from the program. After this flag changes to TRUE, it stays TRUE until the user program changes it
back to FALSE.
Data type BOOL Range of values TRUE or FALSE
R/W access RW Retained Not retained. Network Publish Not published.
Usage in user program Possible. Related instruc-
tions
---