Omron FH series User Manual page 246

Hide thumbs Also See for FH series:
Table of Contents

Advertisement

Data Type to Access the Response and Output Areas
Name of data type: S_EIPInput
Type of derivative data type: Structure
Name of data type
S_EIPInput
StatusFlag
CommandCodeEcho
ResponseCode
ResponseData
OutputData
Assignment Example for Variable Data Type That Matches the Response and Output Areas
(Refer to
S_EIP
Input
2
Defining the Variables
Define variables for the data links for the communications area data that is used in EtherNet/IP
communications.
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.
244
Communicating with EtherNet/IP
Data type
STRUCT
U_EIPFlag
DWORD
DWORD
DINT
ARRAY[0..7]OF DINT
Output Connection to PLC (Sensor Controller Originator to PLC Target) (p.240))
Response Area
15
14
+0
Status
Flag
+1
Command
+2
CodeEcho
+3
+4
Response
Code
+5
+6
Response
Data
+7
Output Area
15
14
+8
+9
Output
Data
+22
+23
Network Publish
Variable type
attribute
Global variable
Output
Global variable
Input
The data type that was defined above (1)
32-bit bit string data
32-bit bit string data
32-bit integer data
Specifies an array of DINT
data from 0 to 7.
Bit
13
12
11
10
9
8
7
Control output
Command code
Response code
Response data
Bit
13
12
11
10
9
8
7
DATA0
DATA7
Data type
S_EIPOutput
For data links to the Command Area
For data links to the Response Area
S_EIPInput
and Output Area
Vision System FH/FZ5 Series User's Manual
for Communications Settings (Z342)
6
5
4
3
2
1
0
6
5
4
3
2
1
0
Application

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz5 series

Table of Contents