Omron CJ1W-DRM21 Operation Manual page 131

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

Advertisement

Allocation Size Setup Table
Set the following allocation size setup tables in the memory used for CJ-series Units of the CPU Unit to
use the Master User-set Allocations Setup Table.
The number of bytes set in the allocation size setup table are allocated in word units in order of node
addresses for OUT block 1 and then IN block 1. Set the sizes within a range from 0 to 200 bytes (100
words).
To set the tables shown below from the user program, allocate user-defined variables in the following
areas.
For details on allocating user-defined variables, refer to Sysmac Studio Version 1 Operation Manual
(Cat. No. W504).
Word
B
t i
1
I
I+1
I+63
Additional Information
The areas and first word in the memory used for CJ-series Unit used for setting up the allocation
size setup table are set by using the following device variable for CJ-series Unit.
Allocation Size Setup Table Area
First Word In The Allocation Size Setup Table 1 *_MstrAlocTblCfg[5]
Setting Example
The following example shows the allocation when the size (bytes) for OUT block 1 and IN block 1 is
set in the allocation size setup table using the specified values.
Node address 0: OUT size: 1 byte, IN size: 5 bytes
Node address 1: OUT size: 4 byte, IN size: 3 bytes
Node address 2: OUT size: 1 byte, IN size: 2 bytes
Allocation size setup table
1
I
I+1
4
1
I+2
:
l: First word in allocation size setup table
s: First word in OUT block 1
k: First word in IN block 1
Note 1 The numbers in the OUT 1 and IN 1 blocks represent node addresses.
2 Bytes are allocated in the blocks in word units in the order of node addresses. If the allo-
cated size is 1 byte, the rightmost byte is used, but the leftmost byte cannot be used.
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
5
Node address 0 OUT size (bytes)
Node address 1 OUT size (bytes)
Node address 63 OUT size (bytes)
15
5
Not usable
s
3
s+1
01
2
01
s+2
:
Not usable
s+3
:
3 Data Exchange with the CPU Unit
B
t i
0
8
B
t i
0
7
Node address 0 IN size (bytes)
Node address 1 IN size (bytes)
:
:
Node address 63 IN size (bytes)
*_MstrAlocTblCfg[4]
OUT block 1
00
00
k
01
k+1
01
k+2
02
k+3
:
k+4
k+5
B
t i
0
0
15
IN block 1
00
00
00
00
00
Not usable
00
01
01
Not usable
01
02
02
:
:
3
3-55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents