![background image](http://html1.mh-extra.com/html/omron/sysmac-cj1w-eip21/sysmac-cj1w-eip21_operation-manuals_742257314.webp)
12 Communications Performance and Communications Load
12-24
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
Here we provide an example of how to perform the tag data link calculations described earlier for the
following tag data transfers.
•
CPU Unit with Tag Data Links:
NJ501-
@@@@
•
Connection Direction
The local EtherNet/IP Unit is set as the originator node.
•
Refreshing task
Primary periodic task
Task period: 500
μ
s (variable access time: 3%)
•
Setting Tag Sets
1
Calculate the variable access time as shown below.
Tag set A: (8 variables
×
3.18
μ
s) + (600 bytes
×
0.0086
μ
s) + 1
μ
s + 6.68
μ
s = 84.72
μ
s
Tag set B: (4 variables
×
3.18
μ
s) + (200 bytes
×
0.0086
μ
s) + 1
μ
s + 6.68
μ
s = 37.6
μ
s
Tag set C: (10 variables
×
3.18
μ
s) + (1,000 bytes
×
0.0086
μ
s) + 1
μ
s + 6.68
μ
s = 125.48
μ
s
2
Calculate the number of data transfers.
Time required for the data transfer: 84.72
μ
s + 37.6
μ
s + 125.48
μ
s = 247.8
μ
s
Variable access time set for the task:500
μ
s
×
0.03 = 15
μ
s
Number of data transfers:
247.8
μ
s
÷
15
μ
s = 16.52 times
Thus, approximately 17 data transfers are required.
3
Calculate the I/O refresh processing time.
1 unit
×
1 ms + 0.5 ms + 0.5 ms = 2 ms (2,000
μ
s)
4
Calculate the actual time required for the data transfer.
(500
μ
s
×
17 times + 1
−
1) + 2,000
μ
s = 10,500
μ
s
The tag data is transferred during task processing. Therefore, if you need to complete transfer process-
ing for task data within one task period, adjust the variable access time and task period settings in the
Task Setup to change the task period.
1
The time required for the data transfer is calculated for the variable access time. Refer to the fol-
lowing section for the formula to calculate the variable access time. 1. Variable Access Time on
page 12-22
Note
If the same refreshing task is set for multiple tag sets, the total of all tag values in the tag sets is used.
2
Set the variable access time in the Task Setup to a value equal to or greater than the value cal-
culated in step 1 above.
Adjust the task period time after adding in the time calculated in step 1. Use the Sysmac Studio
to set the variable access time and task period settings. For details, refer to the NJ-series CPU
Unit Software User’s Manual (Cat. No. W501).
Data Processing Time Calculation Example
Tag set
Refreshing task
Number of variables
Total size of variables
Tag set A
Primary periodic task
8
600 bytes
Tag set B
Primary periodic task
4
200 bytes
Tag set C
Primary periodic task
10
1,000 bytes
12-3-3 Effect of Tag Data Links on Task Periods
Содержание SYSMAC CJ1W-EIP21
Страница 8: ...Manual Structure 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 10: ...Sections in this Manual 8 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 20: ...Read and Understand this Manual 18 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 42: ...Revision History 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 68: ...1 Introduction 1 26 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 80: ...2 Installing Ethernet Networks 2 12 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 130: ...6 Testing Communications 6 4 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 206: ...7 Tag Data Link Functions 7 76 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 246: ...8 Message Communications 8 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 266: ...9 FTP Server 9 20 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 374: ...13 Troubleshooting 13 56 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 431: ...Index 1 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 I Index...
Страница 436: ...Index 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 Index...
Страница 437: ......