3 Data Exchange with the CPU Unit
3-56
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
The I/O areas in the Memory for CJ-series Units specified here for the slave OUT 1 area and slave IN 1
area are used if the slave function is enabled with *_Sw2SlavAlocCmd (Slave User Allocations Switch).
You can update I/O allocations for the slaves by setting this table and changing *_Sw2SlavAlocCmd
(Slave User Allocations Switch) to TRUE. The Unit restarts automatically and starts operating with the
scan list enabled.
z Areas and Word Ranges
3-3-3 Slave User-set Allocations Setup Table
Name of device variable for
CJ-series Unit
Type R/W Area Function
*_SlavAlocTblCfg[0] UINT RW Slave OUT
1 area
Specifies the OUT 1 area.
Data range: 0 to 20
Default: 0
*_SlavAlocTblCfg[1] UINT RW First word in
Slave OUT
1 area
Specifies the first word in the OUT 1 area.
Data range: 0 to 32767
Default: 0
*_SlavAlocTblCfg[2] UINT RW OUT 1 area
size
Specifies the size of the OUT 1 area. Unit
is in bytes.
The OUT 1 area is not allocated when the
value is 0.
Possible range of variables: 0 to 200
Default: 0
*_SlavAlocTblCfg[3] UINT RW Slave IN 1
area
Specifies the IN 1 area.
Data range: 0 to 20
Default: 0
*_SlavAlocTblCfg[4] UINT RW First word in
Slave IN 1
area
Specifies the first word in the IN 1 area.
Data range: 0 to 32767
Default: 0
*_SlavAlocTblCfg[5] UINT RW IN 1 area
size
Specifies the size of the IN 1 Area. Unit is
in bytes.
The IN 1 Area is not allocated when the
value is 0.
Data range: 0 to 200
Default: 0
*_SlavAlocTblCfgSta WORD R Setting
Results of
Slave User-
set Alloca-
tions Setup
Stores the Setting Results of Slave User-
set Allocations Setup.
Data range: 16#0000 to FFFF
Default: 16#0000
Code Area name in memory for CJ-series Unit Word range
0 --- The area is not used.
1 CIO Area (CIO) 0 to 6143
3 Data Memory (DM) 0 to 32767
4 Work Area (WR) 0 to 511
5 Holding Area (HR) 0 to 511
8 to 20 Expansion Data Memory (EM)
Bank 0 to bank C (13 banks)
0 to 32767 (E0_00000 to E0_32767, ...,
EC_00000 to EC_32767) for all banks