Outputting Data and Controlling Operation through EtherNet/IP
FQ2 User’s Manual
323
C
onne
cti
ng th
rough
Ethern
et
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 lo
w
er
w
ord of the Clear
Meas
u
rement
V
al
u
es command.
MO
V
#2010
MO
V
#0010
SET
RSET
Sets the
u
pper
w
ord of the Clear
Meas
u
rement
V
al
u
es command.
First RU
N
Period Flag
Control Command
Completed (FLG)
Exec
u
tion
condition
Control Command
Completed (FLG)
T
u
rns O
N
Command Exec
u
tion Bit.
W
hen the control command is completed,
the Command Exec
u
tion Bit is t
u
rned OFF.
Command Exec
u
tion
Acti
v
e (BUSY)
+2
w
ord
+3
w
ord
Command Exec
u
tion Bit
Command Exec
u
tion Bit
Important
Note
Data O
u
tp
u
t
Completed (GATE)
Exec
u
tion
condition
Data O
u
tp
u
t
Completed (GATE)
Data O
u
tp
u
t Re
qu
est Bit (DSA)
SET
RSET
Data O
u
tp
u
t Re
qu
est Bit (DSA)
Summary of Contents for FQ2 Series
Page 1: ...User s Manual Smart Camera FQ2 Cat No Z326 E1 01A ...
Page 58: ...Setting Up Ethernet 56 FQ2 User s Manual MEMO ...
Page 90: ...Adjusting the Images That Were Taken 88 FQ2 User s Manual MEMO ...
Page 190: ...Adjusting Judgement Parameters during Operation 188 FQ2 User s Manual MEMO ...
Page 234: ...Functions Related to the System 232 FQ2 User s Manual MEMO ...
Page 404: ...Basic Troubleshooting 402 FQ2 User s Manual MEMO ...
Page 513: ...Index FQ2 User s Manual 511 Index 12 ...
Page 515: ......