![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222529.webp)
7
M
eth
od
s
fo
rC
on
ne
ctin
g
an
d
C
om
m
un
ica
tin
g
w
ith
E
xte
rn
al
D
ev
ice
s
FZ4 User's Manual
Control/Output through EtherNet/IP
527
+20
DATA6
Output data 6
+21
+22
DATA7
Output data 7
+23
Signal
Signal name
Function
FLG
Command completion
bit
Turns ON when command execution is complete.
GATE
Data output
completion bit
Turns ON when data output is complete.
BUSY
Command execution
in progress bit
Turns ON when command execution is in progress.
OR
Overall judgement
Turns ON when the overall judgement result is NG.
(The OR signal is output when the checkbox for [Output] is selected in the
ADJUST window.)
XFLG
Measuring command
completion bit
Turns ON when measuring command execution is complete.
XBUSY
Measuring command
executing bit
Turns ON while a measuring command is being executed.
XWAIT
Measuring command
standby bit
Turns ON when a measuring command can be executed.
RUN
RUN window
Turns ON when the controller is set to the RUN window.
CMD-CODE
Command code
Returns the executed command code.
RES-CODE
Response code
Stores the response from the executed command.
RES-DATA
Response data
Stores the response data from the executed command.
DATA0-7
Output data 0 to 7
The data set in the output processing items is output.
When there are multiple processing items, data is overwritten to this area
while handshaking is performed.
Accessing Communications Areas Using Variables with NJ-series Controllers
With an NJ-series Controller, only variables can be used to access from the user program the I/O
memory addresses that are assigned to the communications areas.
Use the following settings.
Using Network Variables for Access
Create user-defined variables that match the structures of the communications areas of the Sensor.
Use the Sysmac Studio to define the variables.
Refer to the Sysmac Studio Version 1 Operation Manual (Cat. No. W504) for Sysmac Studio
operatingprocedures.
1.
Defining the Data Types of the Variables
Define data types for variables that match the structures of the communications areas.
1.
Defining a Data Type for Signal Access
First, define a BOOL array data type to access the control signals and status signals.
Here, a data type called "U_EIPFlag" is defined.
Name of data type: U_EIPFlag
Type of derivative data type: Union
Acesst 1.0 6251194
Summary of Contents for FZ4 Series
Page 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Page 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Page 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Page 566: ......
Page 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Page 654: ...652 FZ4 User s Manual...
Page 655: ......