Omron CS1W-DRM21, CJ1W-DRM21 operation manual Slave User Allocations Setup Table, Setting Example

Models: CJ1W-DRM21 CS1W-DRM21

1 274
Download 274 pages 23.02 Kb
Page 98
Image 98

Allocated DM Area Words

Section 3-3

I

I+1

I+2

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 speci- fied 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

 

 

 

15

OUT block 1

00

15

IN block 1

00

1

5

 

 

s

 

Not usable

00

 

k

 

 

00

 

00

 

 

 

 

 

 

 

4

3

 

s+1

 

 

01

01

 

k+1

 

 

00

 

00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

2

 

s+2

 

 

01

01

 

k+2

 

Not usable

 

00

:

:

 

s+3

 

Not usable

02

 

k+3

 

 

01

 

01

 

 

 

 

 

 

 

:

:

 

k+4

 

Not usable

 

01

 

 

 

 

 

 

 

 

 

 

k+5

 

 

02

 

02

l: First word of the allocation size setup table

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:

 

:

s: First word of OUT block 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

k: First word of IN block 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note 1. The numbers in the OUT 1 and IN 1 blocks represent node addresses.

2.Bytes are allocated in order in the blocks in word units in the order of node addresses. If the allocated size is 1 byte, the rightmost byte is used, but the leftmost byte cannot be used.

3-3-4 Slave User Allocations Setup Table

The I/O areas specified here for the slave OUT 1 area, for slave IN 1 area are used if the slave function is enabled using the Slave User-set Allocations Switch (word n+1, bit 11).

Word Bit 15

Bit 08 Bit 07

Bit 00

m+8

 

00 Hex fixed

 

Slave OUT 1 area

 

 

 

 

m+9

 

First word of the Slave OUT 1 area

 

 

 

 

m+10

 

00 Hex fixed

 

OUT 1 area size (bytes)

 

 

 

 

 

m+11

 

00 Hex fixed

 

Slave IN 1 area

 

 

 

 

m+12

 

First word of the Slave IN 1 area

 

 

 

 

m+13

 

00 Hex fixed

 

IN 1 area size (bytes)

 

 

 

 

 

m+14

 

Setting results

 

 

 

 

 

 

I/O allocations for the slaves can be updated by setting this table and turning ON the Slave User-set Allocations Switch (word n+1, bit 11). The Unit restarts automatically and starts operating with the scan list enabled.

Note Make sure the CPU Unit is in PROGRAM mode and the Unit has stopped slave communications before you set these values.

85

Page 98
Image 98
Omron CS1W-DRM21, CJ1W-DRM21 operation manual Slave User Allocations Setup Table, Setting Example