Omron CJ1W-DRM21 Operation Manual page 167

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

Advertisement

Step 4: Set the Allocation Size Setup Table
Specify the area and first word l in this table at words *_MstrAlocTblCfg[4] (Allocation size setup
table area) and *_MstrAlocTblCfg[5] (First word in the allocation size setup table 1).
Allocate user-defined variables to the areas on the allocation size setup table.
After allocating user-defined variables to the areas, IN and OUT sizes for all nodes are set here as
shown in the table below. The setting range for each node is 0 to 200 bytes (0 to 100 words),
although actual size depends on the allocated slaves. The maximum size per block is 500 words. If
the size set here is larger than 1 byte, the start bit for all slaves is bit 00 and size is allocated in
ascending node address order that start from the beginning of the OUT 1 and IN 1 areas in word
units. If the size is set at 0 bytes for a node address, it is skipped the words are allocated to the next
address.
• Allocation Size Setup Table
l is the start address for the Allocation Size Setup Table specified with *_MstrAlocTblCfg[4]
(Allocation Size Setup Table Area) and *_MstrAlocTblCfg[5] (First Word in Allocation Size Setup
Table 1).
Bit
15
Node address 0 OUT size (bytes)
I+0
I+1
Node address 1 OUT size (bytes)
to
I+62
Node address 62 OUT size (bytes)
I+63
Node address 63 OUT size (bytes)
Step 5: Set the Master User-set Allocations Setup Switch to TRUE.
Change *_Sw1MstrAlocCmd (Master User-set Allocations Switch) to TRUE. The DeviceNet Unit
performs the following two steps simultaneously to start remote I/O communications with the scan
list enabled: reading allocation result for the above slaves from the NJ-series CPU Unit, and creating
a scan list based on actual connection information of slaves.
Note The Master User-set Allocations Switch not only reads slave allocation data, but it also
enables the scan list.
Master User-set Allocations Setup Table
Name of device variables for CJ-series Unit
*_MstrAlocTblCfg[0]
OUT block 1 area
*_MstrAlocTblCfg[1]
First word in OUT block 1
*_MstrAlocTblCfg[2]
IN block 1 area
*_MstrAlocTblCfg[3]
First word in IN block 1
*_MstrAlocTblCfg[4]
Allocation size setup table area
*_MstrAlocTblCfg[5]
First word in Allocation Size Setup Table 1
Note 1 You can use any order for the OUT 1 and IN 1 blocks.
2 Node addresses do not have to correspond between output block 1 and input block 1.
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
08 07
Node address 0 IN size (bytes)
Node address 1 IN size (bytes)
to
Node address 62 IN size (bytes)
Node address 63 IN size (bytes)
Name
Set first word.
Specify the size.
Allocation Size Setup
Table
Bit
15
l wd
Address 0
Address 0
IN size
OUT size
l+1wd
Address 1
Address 1
IN size
OUT size
to
l+63wd
Address 63
Address 63
IN size
OUT size
4 Remote I/O Master Communications
00
First word
Specify the first word.
specified
Specify the
first word.
to
First word
specified
0
to
Specify the size.
Output (OUT) area
Bit 15
0
Node address 0
Node address 1
to
Node address 63
Input (IN) area
Bit 15
0
Node address 0
Node address 1
to
Node address 63
: Specify the first word.
: Specify the size.
4-27
4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents