![background image](http://html1.mh-extra.com/html/omron/fq2-s4/fq2-s4_user-manual_742879373.webp)
Outputting Data and Controlling Operation through EtherNet/IP
FQ2-S4 User’s Manual
371
Con
necting
throu
gh
Eth
e
rnet
9
Sample Ladder Programming
●
Command/Response Communications
The following sample program is used to clear measurement values.
The Clear Measurement Values command (lower bytes: #2010, upper bytes: #0010) is sent to the Vision
Sensor.
Create the ladder program to control the TRIG signal so that it does not turn ON while the BUSY signal is ON.
If not, a TRIG input error will occur and the ERROR signal will turn ON.
●
Data Output after Measurements When Handshaking Is Enabled
While the trigger input (TRIG signal) for parallel measurements is ON, the EtherNet/IP BUSY signal will also be ON.
Therefore, no EtherNet/IP commands will be executed. Any EtherNet/IP commands will be executed after execution
of the parallel commands. You can also use a EtherNet/IP to perform measurements and output data with the paral-
lel I/O measurement trigger signal (TRIG).
Sets the lower word of the Clear
Measurement Values command.
MOV
#2010
MOV
#0010
SET
RSET
Sets the upper word of the Clear
Measurement Values command.
First RUN
Period Flag
Control Command
Completed (FLG)
Execution
condition
Control Command
Completed (FLG)
Turns ON Command Execution Bit.
When the control command is completed,
the Command Execution Bit is turned OFF.
Command Execution
Active (BUSY)
+2 word
+3 word
Command Execution Bit
Command Execution Bit
Important
Note
Data Output
Completed (GATE)
Execution
condition
Data Output
Completed (GATE)
Data Output Request Bit (DSA)
SET
RSET
Data Output Request Bit (DSA)
Summary of Contents for FQ2-S4
Page 1: ...User s Manual Smart Camera FQ2 S4 Cat No Z330 E1 01 ...
Page 58: ...Setting Up Ethernet 56 FQ2 S4 User s Manual MEMO ...
Page 214: ...Calculations and Judgements Using Inspection Item Data 212 FQ2 S4 User s Manual MEMO ...
Page 234: ...Adjusting Judgement Parameters during Operation 232 FQ2 S4 User s Manual MEMO ...
Page 458: ...Basic Troubleshooting 456 FQ2 S4 User s Manual MEMO ...
Page 591: ...Index FQ2 S4 User s Manual 589 Index 12 ...
Page 593: ......