Mitsubishi Electric MELSEC iQ-R Series User Manual page 271

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

The algorithm for determining n is shown below.
No.
Processing
1
Start
2
Loop according to the number of
stations
(i = 1; i  set stations; i++)
3
Are "CC-Link IE TSN Class A" and
"Communication Period Setting" set to
"Low-Speed"?
4
Calculate the values for cyclic data size
(DMsi) sent from the master station to a
device station and cyclic data size
(DSsi) which the master station
receives from a device station.
5
Loop up to the maximum number of
groups
(j = 1; j  120; j++)
6
Does it satisfy GMsj+Dmsi  2044
7
Does it satisfy GSsj+DSsi  2044
8
Update the data size (GMsj, GSsj) of
the assigned group.
9
Assign the group number j to the i-th
station.
10
End of loop No.5
11
End of loop No.2
12
Get the maximum value J of the group
number.
13
Round up the calculated value to the
nearest integer of n = J  4
14
End
Branch
Loop 1 Loop 2
Yes
No
No.2 to
No.11
No.4
No.11
No.5 to
No.10
No.7
No.10
No.8
No.10
Detailed description
Check the stations in "Network Configuration Settings" for the
master station in the order of the station No. column to assign
stations with "CC-Link IE TSN Class A" whose "Communication
Period Setting" is "Low-Speed" to groups.
Check device stations with the station No. of 1 to 120 in
"Network Configuration Settings" for the master station one by
one.
(Loop the processing of No.2 to No.11 for the number of
stations)
In "Network Configuration Settings" of the master station, check
the "CC-Link IE TSN Class" and "Communication Period
Setting" of the i-th station. If "CC-Link IE TSN Class A" and
"Communication Period Setting" are set to "Low-Speed",
perform the processing starting from No.4.
If DMsi and DSsi are defined as the sizes of cyclic data sent
from the master station to a device station and cyclic data which
the master station receives from a device station, they are
calculated by the following formulas:
DMsi = (HBL  n1i) + (16  n2i) + ndmi
DSsi = (HBL  n3i) + (20  n4i) + ndsi
A group can be assigned up to a total of 2K bytes, and it is
determined in order, starting from 1, which group number the i-th
station can be assigned to from 1 to 120.
(Loop the processing of No.5 to No.10 for the number of
stations)
If GMsj is defined as the total value of the data sizes of the cyclic
data sent from the master station to device stations assigned to
the jth group, determine whether the following condition is met.
GMsj + DMsi  2044
If GSsj is defined as the total value of the data sizes of the cyclic
data which the master station receives from device stations
assigned to the jth group, determine whether the following
condition is met.
GSsj + DSsi  2044
When the conditions No.6 and No.7 are both satisfied, the
values of GMsj and GSsj will be updated.
When the conditions No.6 and No.7 are both satisfied, the group
number j is assigned to the i-th station.
After assigning a group number to all "CC-Link IE TSN Class A"
and "Communication Period Setting" stations with "Low-Speed",
the maximum value J of the group number is obtained.
n is determined from the following equation:
Round up the calculated value to the nearest integer of n = J  4
Appendix 6 Processing Time
A
APPX
269

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd78g4Rd78g8Rd78g16Rd78g32Rd78g64Rd78ghv ... Show all

Table of Contents