Omron NJ Series Network Connection Manual page 14

Ethernet/ip connection guide
Hide thumbs Also See for NJ Series:
Table of Contents

Advertisement

Additional Information
For details on the structure and union, refer to Tag Data Link Setting Methods in 6-3
Ethernet/IP Connection in Chapter 6 Communications with External Devices of the ZW
Series Displacement Sensor (Confocal Fiber Type) User's Manual (Cat. No. Z332).
Additional Information
With the Sysmac Studio, the data type is expressed as ARRAY[0..2] OF WORD when an
array is specified for a data type. However, the data type of an array is simplified in this
document (e.g. WORD[3]).
It is possible to set either of the following to specify an array for a data type with the Sysmac
Studio.
•ARRAY[0..2] OF WORD
•WORD [3]
In the example above, 3 WORD array elements are secured.
6.2.2. Data Allocation
The data in the tag data links of the destination device are allocated to the global variables of
the Controller. The relationship between the device data and the global variables is shown
below.
The following global variables are set in the "Configuration file".
■Output area (Controller → Displacement Sensor)
Variable
Data type
EIPOutput
S_EIPOutput
Offset (word)
Destination device data
Control output 1
+0 and +1
(32 bits)
(Data type: U_EIPFlag)
Control output 2
+2 and +3
(32 bits)
(Data type: U_EIPFlag)
Control output 3
+4 and +5
(32 bits)
(Data type: U_EIPFlag)
Command code
+6 and +7
(CMD-CODE)
+8
Command parameter
+9
(CMD-PARAM)
+10 and +11
*1: Sensor head common control signal
*2: Sensor head 1 control signal
*3: Sensor head 2 control signal (reserved)
*4: Details on allocation of sensor head common control signal
Data size
24 bytes
*1
EIPOutput.CommonControlFlag.F
EIPOutput.CommonControlFlag.W
*2
EIPOutput.SensorHead1ControlFlag.F
EIPOutput.SensorHead1ControlFlag.W
*3
EIPOutput.SensorHead2ControlReserve.F
EIPOutput.SensorHead2ControlReserve.W
EIPOutput.CommandCode
EIPOutput.CommandParam1
EIPOutput.CommandParam2
EIPOutput.CommandParam3
6. EtherNet/IP Settings
Name
*4
*4
*5
*5
*6
*6
Data type
BOOL[32]
DWORD
BOOL[32]
DWORD
BOOL[32]
DWORD
DWORD
UINT
UINT
DINT
11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501 seriesNj301 seriesNj501-1500Zw-ce1

Table of Contents