Controlling Operation and Outputting Data with EtherNet/IP Communications
FQ2-S/CH User’s Manual
for Communications Settings
119
3
Controlling Operation and Outputting Data with an
Ethernet Connection
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
Data Output
Completed (GATE)
Execution
condition
Data Output
Completed (GATE)
Data Output Request Bit (DSA)
SET
RSET
Data Output Request Bit (DSA)
FQ2-S_CH_comm.book 119 ページ 2014年6月26日 木曜日 午前11時47分