6F8C0903
63
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
017AH NA=10 0000H
NA=10
017BH
NA=11
0001H
017CH 0002H NA=11
017DH
NA=12
0003H
NA=12017EH 0004H
017FH 0005H
0180H NA=20 0006H
NA=20
0181H No allocation 0007H
0182H
NA=30
0008H No allocation NA=30
0183H 0009H
NA=400184H
NA=40
000AH
0185H 000BH
Usage Recommendations
• 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.
• 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.
• 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.