EasyManua.ls Logo

Omron CJ1W-DRM21 - Page 187

Omron CJ1W-DRM21
350 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5-13
5 Remote I/O Slave Communications
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
5-3 User-set Allocations
5
5-3-2 Settings through Device Variables for CJ-series Unit (Slave User-set Allocations
Setup Table)
Areas and Word Ranges for the OUT 1/IN 1 Areas
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.
This example uses the following settings for unit number 0.
*_SlavAlocTblCfg[4] UINT First word in slave IN 1 area 0 to 32767
*_SlavAlocTblCfg[5] UINT IN 1 area size 0 to 200
*_SlavAlocTblCfgSta WORD Setting Results of Slave User-set
Allocations Setup
16#0000 to
FFFF
Code
Area name in memory for
CJ-series Unit
Word range
0 --- The block is not used.
1 CIO Area (CIO) 0 to 6143
3 DM Area (DM) 0 to 32767
4 Word Area (WR) 0 to 511
5 Holding Area (HR) 0 to 511
8 to 20 Expansion Data Memory (EM)
Bank 0 to C (13 banks)
0 to 32767 (E0_00000 to E0_32767,
... , EC_00000 to EC_32767) for all
banks
Example Settings for User-set Allocations through Device Variable
for CJ-series Unit
Name of device variables for
CJ-series Unit
Type Name Range
Slave User Allocations Setup Table
Slave output (OUT) area Master
OUT area
Master
IN area
15 0
Bit
First word
specified
to
Slave input (IN) area
15 0
Bit
First word
specified
to
to
to
: Specify the first word.
: Specify the size.
Specify the
first word.
Specify the first word.
Specify the size.
Specify the size.
Name of device variables for CJ-series Unit
*_SlavAlocTblCfg[0]
*_SlavAlocTblCfg[1]
*_SlavAlocTblCfg[2]
*_SlavAlocTblCfg[3]
*_SlavAlocTblCfg[4]
*_SlavAlocTblCfg[5]
Name
Slave OUT 1 area
First word in slave OUT 1 area
OUT 1 area size
Slave IN 1 area
First word in slave IN 1 area
IN 1 area size

Table of Contents

Related product manuals