A-49
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)
A-4 Specifications for Individual System-
defined Variables
The specifications for each system-defined variable are given as described below.
Functional Classification: Clock
Functional Classification: Tasks
Variable name This is the system-defined variable name. The prefix
gives the category name.
Members (for
structures)
The member names are given for
structure only.
Meaning This is the meaning of the variable. Global/local Global: Global variable, Local: Local
variable
Function The function of the variable is described.
Data type The data type of the variable is given. Range of values The range of values that the vari-
able can take is given.
R/W access R: Read only,
RW: Read/write
Retained The Retain attri-
bute of the vari-
able is given.
Network Publish The Network Publish attribute of the
variable is given.
Usage in user program Whether you
can use the vari-
able directly in
the user pro-
gram is speci-
fied.
Related instruc-
tions
The instructions that are related to the variable are given.
If you cannot use the variable directly in the user program, the instructions
that access the variable are given.
A-4-1 System-defined Variables for the Overall NJ-series Controller
(No Category)
Variable name _CurrentTime
Meaning System Time Global/local Global
Function This variable contains the CPU Unit’s internal clock data.
Data type DATE_AND_TIME Range of values DT#1970-01-01-00:00:00 to
DT#2106-02-06-23:59:59
R/W access R Retained Not retained. Network Publish Published.
Usage in user program Possible. Related instruc-
tions
Clock instructions
Variable name _TaskName_Active
Meaning Task Active Flag Global/local Global
Function TRUE during task execution.
FALSE when task execution is not in progress.
Note You cannot use this system-defined variable in the user program. It is used only to access task status for
data tracing from the Sysmac Studio.
Data type BOOL Range of values TRUE or FALSE
R/W access R Retained Not retained. Network Publish Not published.
Usage in user program Not possible. Related instruc-
tions
ActEventTask
You can access this variable from the user program only with the following
instruction.
• Task_IsActive