3 Data Exchange with the CPU Unit
3-10
CJ-series PROFIBUS Slave Unit Operation Manual for NJ-series CPU Unit (W510)
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
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
series Unit (Software Switches, Statuses)
3-7 Device Variables for CJ-series Unit (Configura-
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)
Allocated DM words (Start address DM Area = 20000 + MACH No. x 100):
Device Variables for CJ-series Unit
MACH No.
CIO Area
MACH No.
CIO Area
00
CIO 2000 to CIO 2009
06
CIO 2060 to CIO 2069
01
CIO 2010 to CIO 2019
07
CIO 2070 to CIO 2079
02
CIO 2020 to CIO 2029
08
CIO 2080 to CIO 2089
03
CIO 2030 to CIO 2039
09
CIO 2090 to CIO 2099
04
CIO 2040 to CIO 2049
10..
CIO 2100 to CIO 2109
05
CIO 2050 to CIO 2059
..95
CIO 2940 to CIO 2949
MACH No.
CIO Area
MACH No.
CIO Area
00
DM 20000 to DM 20007
06
DM 20600 to DM 20607
01
DM 20100 to DM 20107
07
DM 20700 to DM 20707
02
DM 20200 to DM 20207
08
DM 20800 to DM 20807
03
DM 20300 to DM 20307
09
DM 20900 to DM 20907
04
DM 20400 to DM 20407
10..
DM 21000 to DM 21007
05
DM 20500 to DM 20507
..95
DM 29500 to DM 29507
Содержание CJ1W-PRT21
Страница 2: ......
Страница 15: ...17 CJ series PROFIBUS Slave Unit Operation Manual for NJ series CPU Unit W510 ...
Страница 108: ...4 Troubleshooting and Maintenance 4 12 CJ series PROFIBUS Slave Unit Operation Manual for NJ series CPU Unit W510 ...
Страница 123: ...Index 1 CJ series PROFIBUS Master Unit Operation Manual for NJ series CPU Unit W509 I Index ...