4
FQ2-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 . . . . . . . . . . . . . . . . . . . . . . . . 114
Sample Ladder Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Communicating with the Sensor Controller
with EtherNet/IP Message Communications . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Command Setting Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
3-2 Controlling Operation and Outputting Data
with PLC Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Communications Processing Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Setting Up PLC Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Setting the Data to Output Automatically after Measurements . . . . . . . . . . . . 124
Memory Assignments for PLC Link Communications . . . . . . . . . . . . . . . . . . . 129
Timing Chart for PLC Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Sample Ladder Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
3-3 Outputting Data and Controlling Operation through PROFINET . . . . . 140
Overview of PROFINET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
FQ2 Communications for PROFINET Connections . . . . . . . . . . . . . . . . . . . . 144
Setting Up EtherNet/IP Communications (PROFINET) . . . . . . . . . . . . . . . . . . 145
Communication Settings Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Setting the Data to Output Automatically after Measurements . . . . . . . . . . . . 148
Memory Assignments and Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Timing Chart for EtherNet/IP Communications . . . . . . . . . . . . . . . . . . . . . . . . 161
Sample Ladder Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
3-4 Control and Output in No-Protocol (TCP) / No-Protocol (UDP) . . . . . . 167
Communications Processing Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Setting Up No-protocol Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Setting the Data to Output Automatically after Measurements . . . . . . . . . . . . 169
Controlling the Sensor from an External Device
(Procedure for No-protocol Command/Response Communications) . . . . . . .176
Binary Data File Load and Save Commands . . . . . . . . . . . . . . . . . . . . . . . . . 183
FQ2-S_CH_comm.book 4 ページ 2014年6月26日 木曜日 午前11時47分