Omron NJ-series User Manual page 243

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

Advertisement

6 Programming
 Variables for Which You Can Set AT Specifications
AT specifications are made separately for each variable. Set them for all elements and members of
array, structure, and union variables.
 Attributes of Variables with AT Specifications
Name
Data Type
Retain
Initial Value
Constant
Network Publish
Edge
 Entering and Displaying AT Specifications
When you specify the AT Specification attribute, input the following in the Allocated Address Box of
the variable table in the Sysmac Studio. The following is displayed in the Allocated Address Box of
the variable table or the I/O Map.
Type of variable
User-defined variables with AT
specifications to word addresses
User-defined variables with AT
specifications to bit addresses
The following variables are also allocated an address internally. The following is displayed in the
Allocated Address Box.
Type of variable
Device variables for CJ-series
Units
Device variables for EtherCAT
slaves
Axis Variables
Axes Group Variables
6-56
Specification
Supported.
Supported.
Supported.
An error occurs if the setting of the Retain attribute does not
agree with the attribute of the CJ-series Unit memory where the
address is assigned.
Supported.
Set the initial value setting to None if you want to use the memory
value as it is.
Supported.
You cannot write to a constant with an instruction.
Supported.
Not supported.
(You can specify the Edge attribute only for function block input
variables.)
Entries and displays in the AT
%[word_address]
%[word_address].[bit_position]
Displays in the AT field.
IOBus://rack#[rack_number]/slot#[
slot_number]/[I/O_port_number]
For NX Units on EtherCAT Slave
Terminals:
ECAT://node#[node_address.NX_
Unit_number]/[I/O_port_name]
Other device variables:
ECAT://node#[node_address]/[I/O
_port_name]
MC://_MC_AX[]
MC://_MC_GRP[]
Remarks
field.
%D100
%W0.00
Basic I/O Units:
IOBus://rack#0/slot#1/Ch1_In/Ch1
_In00
Special Units:
IOBus://rack#0/slot#1/PeakHold-
Cmd/ch1_PeakHoldCmd
ECAT://node#[10.15]/Input1
ECAT://node#1/Input1
MC://_MC_AX[1]
MC://_MC_GR[1]
NJ-series CPU Unit Software User's Manual (W501)
Example
Example

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents