EasyManuals Logo

Omron CJ1W-EIP21 User Manual

Omron CJ1W-EIP21
438 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 #97 background imageLoading...
Page #97 background image
3-17
3 Assigning Device Variables for CJ-series Units
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
3-3 User Definition Settings for the Status Area
3
3-3-1 Introduction to User Definition Settings
3-3 User Definition Settings for the
Status Area
If the EtherNet/IP Unit is the originator of a connection, you can store the corresponding target node
status information in a user-defined variable instead of the default device variable for the CJ-series Unit.
Although the default device variable for CJ-series Unit provides information only for nodes 0 to 63, you
can obtain the information for 256 nodes if you use user definition settings for an area.
Additional Information
The information in this variable is valid only when the corresponding element in the Normal Tar-
get Node Table is TRUE. If the corresponding element in the Normal Target Node Table is
FALSE, the Target Node PLC Operating Flags retains the previous operating status.
Use the following procedure to set the user-defined status area in the Special Unit Setup in the Control-
ler Configurations and Setup.
1
Set the layout type in the Status Area Settings Tab Page to User setting.
2
For the allocated area, specify the variable to which to assign the status area.
In the user program, you can specify the user-defined variable that is specified for the status area to
access the status area.
The user-defined variable that is specified for the status area is defined by using the preregistered data
type for the user-defined status area (_sCJEIP21_User_StaArea).
To use this data type, you must make the following setting in advance in the Sysmac Studio to register
the data type so that you can use it.
Right-click the Unit in the CPU/Expansion Racks Tab Page of the Controller Configurations and Setup,
and then select Register Data Types for Units from the menu.
Data Type for the Status Area (_sCJEIP21_User_StaArea)
The data type contains a different member for each type of status information.
Each member uses the data type for storing target node information (_uCJEIP21_TargetSta).
Data Type for Storing Target Node Information (_uCJEIP21_TargetSta)
3-3-1 Introduction to User Definition Settings
3-3-2 Setting User Definitions
3-3-3 Accessing the User-defined Status Area
Data Type for the Status Area
Structure data type name Member Data type
_sCJEIP21_User_StaArea RegTargetSta (Registered Target Node Table) _uCJEIP21_TargetSta
EstbTargetSta (Normal Target Node Table) _uCJEIP21_TargetSta
TargetPLCMdSta (Target Node PLC Operating
Flags)
_uCJEIP21_TargetSta
TargetPLCErrSta (Target Node PLC Error Flags) _uCJEIP21_TargetSta

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ1W-EIP21 and is the answer not in the manual?

Omron CJ1W-EIP21 Specifications

General IconGeneral
BrandOmron
ModelCJ1W-EIP21
CategoryController
LanguageEnglish

Related product manuals