Controlling Operation and Outputting Data with EtherNet/IP Communications
FQ2-S/CH User’s Manual
for Communications Settings
109
3
Controlling Operation and Outputting Data with an
Ethernet Connection
2 Setting Variables (Sysmac Studio)
Define variables with AT specifications to the I/O memory addresses that are assigned in the communi-
cations areas as shown below.
Setting Examples
Variable: a (AT specification: D0.0)
Variable: b (AT specification: D0.1)
Variable: c (AT specification: D0.15)
Variable: d (AT specification: D1.0)
3 Setting Connections
Set the connections as shown in the following table.
Example: Setting Example for Variables to Access the Command Area
Commands (EtherNet/IP)
This section describes the EtherNet/IP commands.
● Execution Commands
Originator device (PLC) settings Target device (Sensor) settings
Input tag set: D0 Output tag set: Input101
Output tag set: D100 Input tag set: Output100
Command code in
command area (hex)
Command name Function Reference
+2 +3
1020 0010 Start Continuous Measure-
ments
Starts continuous measurements. p.207
1030 0010 End Continuous Measure-
ments
Ends continuous measurements. p.208
2010 0010 Clear Measurement Values Clears the measurement values. p.208
2020 0010 Clear Data Output Buffer Clears all data in the data output buffer of the
Sensor.
p.209
2060 0010 Clear Statistical Data Clears the statistical data (such as the num-
ber of measurements, the number of NG
overall judgments, the NG rate, and other
information since the power supply was
turned ON) produced by the logging function
held by the Sensor.
p.209
3010 0010 Save Data in Sensor This command saves the current setting data
(system data, scene groups, and calibration
data) in the Sensor.
p.210
15 10
EXE
DSA
Settings
Variable name
AT
specification
Data type
Command Area (PLC Output Tag D0)
Variables Used to Access the Command Area
in the PLC from the User Program
I/O memory
address
D0
D1
TRIGERCLR
a (Assigned to the EXE signal.)
D0.0 BOOL
b (Assigned to the TRIG signal.)
D0.1
BOOL
c (Assigned to the ERCLR signal.)
D0.15
BOOL
d (Assigned to the DSA signal.)
D1.0 BOOL
FQ2-S_CH_comm.book 109 ページ 2014年6月26日 木曜日 午前11時47分