Omron CJ1W-DRM21 Operation Manual page 187

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

Advertisement

Name of device variables for
CJ-series Unit
*_SlavAlocTblCfg[4]
*_SlavAlocTblCfg[5]
*_SlavAlocTblCfgSta
• Areas and Word Ranges for the OUT 1/IN 1 Areas
Code
0
---
1
CIO Area (CIO)
3
DM Area (DM)
4
Word Area (WR)
5
Holding Area (HR)
8 to 20
Expansion Data Memory (EM)
Bank 0 to C (13 banks)
Note You cannot use Holding Area H512 and its subsequent holding areas, or EM Area Bank D and its subse-
quent banks.
Step 4: Change the Slave User-set Allocations Switch to TRUE
Change *_Sw2SlavAlocCmd (Slave User Allocations Switch) to TRUE.
Step 5: Change the Slave Enable Switch to TRUE
Change *_Sw2SlavEnblCmd (Slave Enable Switch) to TRUE. This will allocate the above areas as
slave areas and the DeviceNet Unit will start slave remote I/O communications.
Note Once slave communications are enabled by changing the Slave Enable Switch to TRUE, the
Unit will continue to perform slave communications even after the power is turned OFF and
back ON again.
Slave User Allocations Setup Table
Name of device variables for CJ-series Unit
*_SlavAlocTblCfg[0]
Slave OUT 1 area
*_SlavAlocTblCfg[1]
First word in slave OUT 1 area
*_SlavAlocTblCfg[2]
OUT 1 area size
*_SlavAlocTblCfg[3]
Slave IN 1 area
*_SlavAlocTblCfg[4]
First word in slave IN 1 area
*_SlavAlocTblCfg[5]
IN 1 area size
Example Settings for User-set Allocations through Device Variable
for CJ-series Unit
This example uses the following settings for unit number 0.
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
Type
UINT
UINT
WORD
Area name in memory for
CJ-series Unit
Name
Specify the
first word.
Specify the size.
Specify the first word.
5 Remote I/O Slave Communications
Name
First word in slave IN 1 area
IN 1 area size
Setting Results of Slave User-set
Allocations Setup
Word range
The block is not used.
0 to 6143
0 to 32767
0 to 511
0 to 511
0 to 32767 (E0_00000 to E0_32767,
... , EC_00000 to EC_32767) for all
banks
Slave output (OUT) area
Bit
15
First word
specified
to
Slave input (IN) area
Bit
15
First word
specified
Specify the size.
to
: Specify the first word.
: Specify the size.
Range
0 to 32767
0 to 200
16#0000 to
FFFF
Master
0
OUT area
to
Master
0
IN area
to
5
5-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents