Specifications For Individual System-Defined Variables; A-4-1 System-Defined Variables For The Overall Nj-Series Controller (No Category; System-Defined Variables For The Overall Nj-Series Controller (No Category - Omron NJ-series User Manual

Machine automation controller cpu unit software
Hide thumbs Also See for NJ-series:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents