Mitsubishi Electric MELSEC iQ-R Series User Manual page 292

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
slave station and cyclic data size (DSsi)
which the master station receives from
a slave 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
The following shows the variable names used by the algorithm.
Name of
Description
variable
HBL
42
Round up the calculated value to the nearest integer of (ndmi + (16  n2i))  1484
n1i
When the calculation result of n1i is 2 or greater, add 1 to n2i.
n2i
■Other than  below
(RYbi + RWwbi)
RYbi: Round up the calculated value to the nearest integer of (The "RY Setting" number of points for the i-th station in which "CC-Link IE
TSN Class A" and "Communication Period Setting" are set to "Low-Speed")  11744
RWwbi: Round up the calculated value to the nearest integer of (The "RWw Setting" number of points for the i-th station in which "CC-Link
IE TSN Class A" and "Communication Period Setting" are set to "Low-Speed")  734
■A station set to "CC-Link IE TSN Class A" and "Low-Speed" in "Communication Period Setting" for the i-th station is a CANopen
communication compatible device
n7i
APPX
290
Appendix 7 Processing Time
Branch
Loop 1
Yes
No
No. 2 or
greater
No.11
No.4
No.11
No.7
No.10
No.8
No.10
Loop 2
Detailed description
Check the stations in "Network Configuration Settings" for the
master station in the order of "STA#" column to assign stations
with "CC-Link IE TSN Class A" whose "Communication Period
Setting" is "Low-Speed" to groups.
Check slave stations with "STA#" 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 slave station and cyclic data which
the master station receives from a slave station, they are
calculated by the following formulas:
DMsi = (HBL  n1i) + (16  n2i) + ndmi
DSsi = (HBL  n3i) + (20  n4i) + ndsi
No. 5 or
Up to a total of 2K bytes can be assigned to a group, and
greater
determine whether the group numbers from 1 to 120 the i-th
No.10
station can be assigned to in order from 1.
(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 slave 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 slave stations
assigned to the jth group, determine whether the following
condition is met.
GSsj+DSsi2044
The values of GMsj and GSsj are updated when both the
conditions No.6 and No.7 are satisfied.
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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r cc-link ie tsn

Table of Contents