Omron CJ1W-ECT21 Operation Manual page 67

Machine automation controller, cj / nj-series, ethercat slave unit, cpu unit
Hide thumbs Also See for CJ1W-ECT21:
Table of Contents

Advertisement

How to Create Device Variables for CJ-series Unit
Use I/O Map in Sysmac Studio to allocate device variables for CJ-series Unit to an I/O port. Specify
variable names using one of the methods shown below.
(a) Select and allocate existing variables.
(b) Input a new variable name.
(c) Automatically create with Create Device Variable.
The following shows the structure of a variable name created automatically with method (c).
*_UnitErr
Refer to 3-2 Device Variables for CJ-series Unit (Status) on page 3-9 and 3-3 Device Variables for
CJ-series Unit (I/O Communication Area Setting) on page 3-18 for details on device variables for
CJ-series Unit.
In the explanations from here on, the device name automatically created is used as the device variable
name for CJ-series Unit, for example *_UnitErr.
Refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) for details on memory for
CJ-series Unit.
How to Create User-defined Variables
In this Unit, input and output data exchanged with the EtherCAT master is allocated to the memory
used for CJ-series Unit.
Use the Sysmac Studio to register user-defined variables to the variable table. Use user-defined vari-
ables to specify the AT specification of the memory used for CJ-series Unit to which the slave is allo-
cated.
Generally, array variables are created.
Below is an example of allocation to user-defined variables.
Item
OUT data area type
First word in OUT data area
OUT data area size
IN data area type
First word in IN data area
IN data area size
CJ-series EtherCAT Slave Units Operation Manual for NJ-series CPU Unit (W542)
This is an I/O port name. The name indicates unit
functions, statuses and parameters.
This is the device name when this unit is registered in
the Unit configuration. (By default, a device name is
assigned from "J01" in the order of registration in the
Unit configuration.) This identifies the individual unit.
Setting
CIO Area (CIO)
3200
200 bytes
CIO Area (CIO)
3300
200 bytes
3 Data Exchange with the CPU Unit
3
3 - 5

Advertisement

Table of Contents
loading

Table of Contents