8
PROGRAMMING
A part enclosed with a dotted line is not required when auto refresh is set in Utility package.
<Refreshing data from the QCPU to the EtherNet/IP module>
Figure 8.22 Program example of Tag communication (continued)
8.4.1 Program example of Tag communication
Index register initialization
Class1 Tag Counts acquisition
Refresh data set for all Tags. (FOR to NEXT)
Class1 send data start address acquisition
Data size acquisition
Store send data in Output Area.
Tag No. increment
Increase indirectly specified Data Size address by
number of data assigned to one tag.
Increase send data storage address by number of
data assigned to one tag.
Class3/UCMM Tag No.4 refresh
Class3/UCMM Tag No.5 refresh
Class3/UCMM Tag No.6 refresh
Application Trigger (Class1) refresh
Application Trigger (Class3/UCMM) refresh
8.4 Program Example
1
2
3
4
5
6
7
8
8
- 18