Omron CJ1W-PRT21 Operation Manual page 78

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

Advertisement

3 Data Exchange with the CPU Unit
Device Variables for CJ-series Unit
Device variables for CJ-series Units are variables for which AT is specified for the I/O port explained
below. The user program uses device variables for CJ-series Units to access the Configuration for a
unit such as the CJ1W-PRT21.
For allocation of the device variables for CJ-series Unit to the I/O port, refer to How to Create Device
Variables for CJ-series Unit on page 11.
These variables are used to set this Unit and reference statuses from a user program.
Device Variables for CJ-series Unit are positioned internally in the CPU Bus Unit words allocated in
CIO/DM areas shown below.
• CPU Bus Unit words allocated in CIO area (software switches, statuses)
• CPU Bus Unit words allocated in DM area (configuration information)
 I/O Port
An "I/O port" is a logical interface for data exchange by a CPU Unit with a PROFIBUS Slave Unit or
other Configuration Unit.
An I/O port has a unique pre-defined name for each unit model and function.
An I/O port is automatically created by preparing the Unit Configuration with Sysmac Studio.
For details on the I/O ports defined for PROFIBUS Slave Unit, refer to 3-6 Device Variables for CJ-
series Unit (Software Switches, Statuses) and 3-7 Device Variables for CJ-series Unit (Configura-
tion).
 Software Switches, Status Area
Software switches (execution instructions of each function from the CPU Unit to the PROFIBUS
Slave Unit) and statuses are allocated.
They are allocated in the memory used for CJ-series Unit according to the machine number as
shown below.
Allocated CIO words (Start address CIO Area = 2000 + MACH No. x 10)
MACH No.
00
CIO 2000 to CIO 2009
01
CIO 2010 to CIO 2019
02
CIO 2020 to CIO 2029
03
CIO 2030 to CIO 2039
04
CIO 2040 to CIO 2049
05
CIO 2050 to CIO 2059
Allocated DM words (Start address DM Area = 20000 + MACH No. x 100):
MACH No.
00
DM 20000 to DM 20007
01
DM 20100 to DM 20107
02
DM 20200 to DM 20207
03
DM 20300 to DM 20307
04
DM 20400 to DM 20407
05
DM 20500 to DM 20507
3-10
CIO Area
MACH No.
06
07
08
09
10..
..95
CIO Area
MACH No.
06
07
08
09
10..
..95
CJ-series PROFIBUS Slave Unit Operation Manual for NJ-series CPU Unit (W510)
CIO Area
CIO 2060 to CIO 2069
CIO 2070 to CIO 2079
CIO 2080 to CIO 2089
CIO 2090 to CIO 2099
CIO 2100 to CIO 2109
CIO 2940 to CIO 2949
CIO Area
DM 20600 to DM 20607
DM 20700 to DM 20707
DM 20800 to DM 20807
DM 20900 to DM 20907
DM 21000 to DM 21007
DM 29500 to DM 29507

Advertisement

Table of Contents
loading

Table of Contents