3-11
3 I/O Ports, Slave Configuration, and Unit Configuration
NJ-series CPU Unit Software User’s Manual (W501)
3-3 I/O Ports and Device Variables
3
3-3-3 Device Variables
Refer to 2-3-1 Types of Variables for the relationship of device variables to other variables.
Refer to the Sysmac Studio Version 1 Operation Manual (Cat. No. W504) for details on registering
device variables with the Sysmac Studio.
The attributes of the device variables are described in the following table. You can change the settings
of some of the attributes, but not all of them.
Device Variable Attributes
Attribute Setting Changes to settings
Variable Name Automatically generated variables: [device_name] +
[I/O_port_name]
The default device names are as follows:
• For EtherCAT slaves, an E followed by a sequential number
starting from 001.
• For CJ-series Units, the device names start with a J followed
by a sequential number starting from 01.
Refer to 3-3-1 I/O Ports for more information on 3-3-2 I/O Port
Names.
If entered manually, the variable name is the string you enter.
Allowed.
Data Type According to the data type of the I/O port. Allowed.
AT Specification • NX Units connected through an EtherCAT Coupler Unit:
ECAT://node#[EtherCAT_Coupler_Unit_node_address.NX_
Unit_number]/[I/O_port_name]
• EtherCAT slaves:
ECAT://node#[node_address]/[I/O_port_name]
• CJ-series Units:
IOBus://rack#[rack_number]/slot#[slot_number]/[I/O_port_n
ame]
Not allowed.
Retain • Device variables for EtherCAT slaves: Not retained.
• Device variables for CJ-series Units assigned to the Operat-
ing Data (CIO Area): Not retained
Device variables for CJ-series Units assigned to the Setup
Data (DM Area): Retained
Not allowed.
Initial Value None Allowed.
Constant None Allowed.
Network Publish Do not publish. Allowed.
Edge None Not allowed.
Variables
CJ-series
Units
I/O ports
General-purpose
EtherCAT slaves
I/O ports
Device variables
CPU Unit
User program (or external communications)
Outside of
the CPU Unit
Variables are assigned to I/O ports.
These variables are called device
variables.