8
PROGRAMMING
CHAPTER 8 PROGRAMMING
This chapter describes programming of the EtherNet/IP module.
8.1
System Configuration Example
This section describes the system configuration.
In and after Section 8.2, the following system structure is used for explanation.
GX Works2
Utility package
In this example, the EtherNet/IP module is mounted in slot 0 of the main base unit with the
start I/O No. set to "0000".
8.2
Setting Description for Communication
The following Tag communication is used as a program example.
(1) Class1 Tag communication
QCPU
W0 to W4
5 words
9 words
W5 to WD
8 words
W100 to W107
12 words
W108 to W113
8
- 1
8.1 System Configuration Example
System 1
IP address: 192.168.0.1
Figure 8.1 System configuration example
(a) Setting description for communication
System 1 (192.168.0.1)
Consumer Tag (5 words)
Consumer Tag (9 words)
Producer Tag (8 words)
Producer Tag (12 words)
Figure 8.2 Setting description of Class1 Tag communication
System 2
IP address: 192.168.0.2
Switching
hub
System 3
IP address: 192.168.0.3
System 2 (192.168.0.2)
Consumer Tag (8 words)
Consumer Tag (12 words)
Producer Tag (5 words)
System 3 (192.168.0.3)
Consumer Tag (8 words)
Consumer Tag (12 words)
Producer Tag (9 words)