6F8C0845
67
4.2 S Controller Interface Buffer Memory Configuration
4
4.2.3
Allocating slave device data to the input/output data area
Reception/transmission data of slave devices will be allocated to the input/output data
area in the ascending order of node addresses. In the slave device configuration shown
in Table 4-11, for example, the node addresses are allocated to the input data area/output
data area from the top downward without skipping as shown in Figure 4-13.
Allocation begins when the module is set in run mode (transmission enabled) an
operation mode control request after setting slave device parameters.
Figure 4-13 Input/Output Data Areas in Slave Device Configuration (Sample)
Table 4-11 Slave Device Configuration (Sample)
Node address
Transmission size
Reception size
10
2
bytes
4
bytes
11
4
bytes
2
bytes
12
6
bytes
6
bytes
20
3
bytes
4
bytes
30
4
bytes
1
bytes
40
4
bytes
6
bytes
Output data area
Input data area
F • • • • • • • • • • • • • • • O
F • • • • • • • • • • • • • • • O
0080H
NA=10
0000H
NA=10
0081H
NA=11
0001H
0082H
0002H
NA=11
0083H
NA=12
0003H
NA=12
0084H
0004H
0085H
0005H
0086H
NA=20
0006H
NA=20
0087H
No allocation
0007H
0088H
NA=30
0008H No allocation
NA=30
0089H
0009H
NA=40
008AH
NA=40
000AH
008BH
000BH
Usage Recommendations
1. When a slave device has a transmission/reception size in odd bytes, it will have an output/
input area of the actual size plus 1 byte.
2. In adding a new slave device, assign to it a greater value than the node addresses of the
present slave devices. In the case shown in Figure 4-13, assign a node address of 41 or
greater to a new slave device. If a node address of 18 is assigned to a new slave device, for
example, the allocated data of node addresses 20, 30 and 40 will deviate.
3. Don't change the data size once set of slave devices (FLEX-I/O, etc.) which are variable in
data input/output size. A change in their data size will cause deviations in the allocated data
of the slave devices whose node address is greater than that of the slave device whose data
size is changed.