4FQ2-S/CH User’s Manual
for Communications Settings
3. Controlling Operation and Outputting Data
with an Ethernet Connection
3-1 Controlling Operation and Outputting Data with
EtherNet/IP Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Introduction to EtherNet/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
FQ2 Communications for EtherNet/IP Connections . . . . . . . . . . . . . . . . . . . . .90
Setting Up EtherNet/IP Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92
Tag Data Link Setting Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95
Setting the Data to Output Automatically after Measurements . . . . . . . . . . . . .97
Memory Assignments and Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102
Timing Chart for EtherNet/IP Communications . . . . . . . . . . . . . . . . . . . . . . . .115
Sample Ladder Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120
Communicating with the Sensor Controller with EtherNet/IP
Message Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .121
Command Setting Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .121
3-2 Controlling Operation and Outputting Data with PLC Link
Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Overview of PLC Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122
Communications Processing Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122
Setting Up PLC Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124
Setting the Data to Output Automatically after Measurements . . . . . . . . . . . .127
Memory Assignments for PLC Link Communications . . . . . . . . . . . . . . . . . . .133
Timing Chart for PLC Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . .141
Sample Ladder Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .143
3-3 Outputting Data and Controlling Operation through PROFINET . . . . . 144
Overview of PROFINET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144
FQ2 Communications for PROFINET Connections . . . . . . . . . . . . . . . . . . . .148
Setting Up PROFINET Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . .149
Communication Settings Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .152
Setting the Data to Output Automatically after Measurements . . . . . . . . . . . .153
Memory Assignments and Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .157
Timing Chart for PROFINET Communications . . . . . . . . . . . . . . . . . . . . . . . .167
Sample Ladder Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .171
3-4 Control and Output in No-Protocol (TCP) / No-Protocol (UDP) . . . . . . 173
Overview of No-Protocol (TCP) / No-Protocol (UDP) . . . . . . . . . . . . . . . . . . .173
Communications Processing Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .173
Setting Up No-protocol Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . .173
Setting the Data to Output Automatically after Measurements . . . . . . . . . . . .175
Controlling the Sensor from an External Device
(Procedure for No-protocol Command/Response Communications) . . . . . . .182
Binary Data File Load and Save Commands . . . . . . . . . . . . . . . . . . . . . . . . .188