Omron FQ2-S4 User Manual page 356

Smart camera
Hide thumbs Also See for FQ2-S4:
Table of Contents

Advertisement

2
Defining the Variables
Define variables for the data links for the communications area data that is used in EtherNet/IP commu-
nications.
These variables use the data types that were defined above in procedure 1.
Variable
EIPOutput
EIPInput
3
Exporting the Variables That Were Defined on Sysmac Studio
Export the variables that you defined so that you can use them on the Network Configurator.
An exported CSV file is created.
4
Network Configurator Settings
(1)
Import to the Network Configurator the CSV file that you exported from the Sysmac Studio.
The variables that are imported will automatically be registered as tags.
(2)
Set the connections as shown in the following table.
Originator device (PLC) settings
Input tag set: EIPOutput
Output tag set: EIPInput
5
Accessing the Communications Areas from the User Program
The defined variables are used to access the communications areas for the Sensor using the following
notation.
• Command Area
Signal name
EXE
TRIG
ERCLR
DSA
Command code
Command parameter 1
Command parameter 2
Command parameter 3
354
Outputting Data and Controlling Operation through EtherNet/IP
Variable type
Network Publish
attribute
Global variable
Output
Global variable
Input
Target device (Sensor) settings
Output tag set: Input101
Input tag set: Output100
Variable name
EIPOutput.ControlFlag.F[0]
EIPOutput.ControlFlag.F[1]
EIPOutput.ControlFlag.F[15]
EIPOutput.ControlFlag.F[16]
EIPOutput.CommandCode
EIPOutput.CommandParam1
EIPOutput.CommandParam2
EIPOutput.CommandParam3
Data type
Application
S_EIPOutput
For data links to the
command area
S_EIPInput
For data links to the
response and output
areas
FQ2-S4 User's Manual

Advertisement

Table of Contents
loading

Table of Contents