EasyManuals Logo

Omron NJ Series User Manual

Omron NJ Series
668 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #216 background imageLoading...
Page #216 background image
6-29
6 Programming
NJ-series CPU Unit Software User’s Manual (W501)
6-3 Variables
6
6-3-4 Attributes of Variables
A global variable is declared in the global variable table.
Device variables that are automatically generated from the Unit configuration and slave configuration
and axis/axes group variables that are generated from the Axis Setting Table are automatically regis-
tered as global variables.
You can set the following attributes for variables.
Attributes of Variables
Global Variables
6-3-4 Attributes of Variables
Variable Attributes According to Variable Type
Attribute Description Specification Default
Variable Name
The variable name is used to identify the
variable.
Data Type
The data type defines the format of the
data that is stored in the variable.
BOOL
AT Specification
If you want to handle a specific address
for a CJ-series Unit as a variable, specify
the address to assign to that variable.
Not specified.
Specify.
Not specified.
Retain
Specify whether to retain the value of the
variable in the following cases.
When power is turned ON after a
power interruption
When the CPU Unit changes to RUN
mode
When a major fault level Controller
error has occurred.
Retain: Value speci-
fied on the left is
retained if there is a
Battery.
Non-retain: Changes
to initial value.
Non-retain: Reset
to initial value
Initial Value
You can select to set or not set an initial
value.
Initial value setting: Specify the value of
the variable in the following cases and do
not specify the Retain attribute.
When power turned ON
When operating mode changes
When a major fault level Controller
error occurs
If the initial value is not set, the value is
not retained.
Initial Value
Ye s
None
Depends on the
data type. (Refer to
the section on initial
values.)
Constant
If you set the Constant attribute, you can
set the initial value of the variable when it
is downloaded, but you cannot overwrite
the value afterwards.
Specify making the
value a constant or not
a constant.
Network Publish
This attribute allows you to use CIP com-
munications and data links to read/write
variables from outside of the Controller.
Do not publish
Publish Only
Input
Output
Do not publish

Table of Contents

Other manuals for Omron NJ Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ Series and is the answer not in the manual?

Omron NJ Series Specifications

General IconGeneral
Program CapacityUp to 128 MB
SD Card SlotYes
Power Supply Voltage24 VDC
Motion ControlYes
USB Ports1
Operating Temperature0°C to 55°C
Communication InterfacesEthernet/IP, EtherCAT, USB
Safety FunctionOptional
Storage Temperature-20°C to 75°C
Communication PortsUSB
DimensionsVaries by model
WeightVaries by model

Related product manuals