EasyManuals Logo

Omron FQ2-S Series User Manual

Omron FQ2-S Series
444 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #107 background imageLoading...
Page #107 background image
Controlling Operation and Outputting Data with EtherNet/IP Communications
FQ2-S/CH User’s Manual
for Communications Settings
105
3
Controlling Operation and Outputting Data with an
Ethernet Connection
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 operating
procedures.
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
(2) Defining Data Types for Communications Area Access
Data types are defined to access the communications areas, with one data type for the command area
and another data type for the response and output areas.
Here, data types called “S_EIPOutput” and “S_EIPInput” are defined.
Signal Signal name Function Application
DATA0-63 Output data 0 to 63 These I/O ports output the output data that is
specified for the data output method.
The data that can be output is determined by
the set value of the Output data size setting as
follows:
32 bytes: Output data 0 to 7
64 bytes: Output data 0 to 15
128 bytes: Output data 0 to 31
256 bytes: Output data 0 to 63
Command/
response commu-
nications
U_EIPFlag
F
UNION
Data typeName of data type
ARRAY[0..31]OF BOOL
Specifies an array of
BOOL data from 0 to 31.
W
DWORD
32-bit bit string data
FQ2-S_CH_comm.book 105 ペー 01年626 木日 前1時4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron FQ2-S Series and is the answer not in the manual?

Omron FQ2-S Series Specifications

General IconGeneral
BrandOmron
ModelFQ2-S Series
CategorySecurity Camera
LanguageEnglish

Related product manuals