Outputting Data and Controlling Operation through EtherNet/IP
306
FQ2 User’s Manual
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.
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.
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
Variable
Variable type
Network Publish
attribute
Data type
Application
EIPOutput
Global variable
Output
S_EIPOutput
For data links to the
command area
EIPInput
Global variable
Input
S_EIPInput
For data links to the
response and output
areas
Originator device (PLC) settings
Target device (Sensor) settings
Input tag set: EIPOutput
Output tag set: Input101
Output tag set: EIPInput
Input tag set: Output100
Signal name
Variable name
EXE
EIPOutput.ControlFlag.F[0]
TRIG
EIPOutput.ControlFlag.F[1]
ERCLR
EIPOutput.ControlFlag.F[15]
DSA
EIPOutput.ControlFlag.F[16]
Command code
EIPOutput.CommandCode
Command parameter 1
EIPOutput.CommandParam1
Command parameter 2
EIPOutput.CommandParam2
Command parameter 3
EIPOutput.CommandParam3
Содержание FQ2 Series
Страница 1: ...User s Manual Smart Camera FQ2 Cat No Z326 E1 01A ...
Страница 58: ...Setting Up Ethernet 56 FQ2 User s Manual MEMO ...
Страница 90: ...Adjusting the Images That Were Taken 88 FQ2 User s Manual MEMO ...
Страница 190: ...Adjusting Judgement Parameters during Operation 188 FQ2 User s Manual MEMO ...
Страница 234: ...Functions Related to the System 232 FQ2 User s Manual MEMO ...
Страница 392: ...Controlling Operation and Outputting Data with FINS TCP No protocol Commands 390 FQ2 User s Manual MEMO ...
Страница 398: ...Controlling Operation and Outputting Data with RS 232C No protocol Communications 396 FQ2 User s Manual ...
Страница 399: ...11 Troubleshooting Troubleshooting 11 1 Error Histories 398 11 2 Error Messages 400 11 3 Basic Troubleshooting 401 ...
Страница 404: ...Basic Troubleshooting 402 FQ2 User s Manual MEMO ...
Страница 513: ...Index FQ2 User s Manual 511 Index 12 ...
Страница 515: ......