Omron FQ2-S Series User Manual page 111

Hide thumbs Also See for FQ2-S Series:
Table of Contents

Advertisement

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.
Originator device (PLC) settings
Input tag set: D0
Output tag set: D100
Example: Setting Example for Variables to Access the Command Area
Command Area (PLC Output Tag D0)
I/O memory
address
15
D0
ERCLR
D1
Commands (EtherNet/IP)
This section describes the EtherNet/IP commands.
● Execution Commands
Command code in
Command name
command area (hex)
+2
+3
1020
0010
Start Continuous Measure-
ments
1030
0010
End Continuous Measure-
ments
2010
0010
Clear Measurement Values
2020
0010
Clear Data Output Buffer
2060
0010
Clear Statistical Data
3010
0010
Save Data in Sensor
FQ2-S/CH User's Manual
for Communications Settings
Target device (Sensor) settings
Output tag set: Input101
Input tag set: Output100
1
0
TRIG
EXE
DSA
Function
Starts continuous measurements.
Ends continuous measurements.
Clears the measurement values.
Clears all data in the data output buffer of the
Sensor.
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.
This command saves the current setting data
(system data, scene groups, and calibration
data) in the Sensor.
Controlling Operation and Outputting Data with EtherNet/IP Communications
Variables Used to Access the Command Area
in the PLC from the User Program
Variable name
specification
a (Assigned to the EXE signal.)
b (Assigned to the TRIG signal.)
c (Assigned to the ERCLR signal.)
D0.15
d (Assigned to the DSA signal.)
Settings
AT
Data type
D0.0
BOOL
D0.1
BOOL
BOOL
D1.0
BOOL
Reference
p.207
p.208
p.208
p.209
p.209
p.210
109

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fq2-ch series

Table of Contents