Accessing Communication Areas Using Variables By Nj/Nx Series Controllers - Omron MicroHAWK F440-F Series User Manual

Smart camera
Hide thumbs Also See for MicroHAWK F440-F Series:
Table of Contents

Advertisement

3 Controlling Operation and Data Output with Ethernet
3-1-8
Accessing Communication Areas Using Variables by NJ/NX Ser-
ies Controllers
In Controllers of the NJ series, I/O memory addresses assigned to each communication area can be
accessed from the user program only via variables.
Here is an example of using the input assembly and output assembly for that purpose.
For more detailed information about the data structure of each assembly, please refer to 3-1-7 Status
and Control Signals for Each Input and Output Assembly on page 3-14.
Access Using Network Variables
Customize and define variables based on the structure of each communication area of the smart cam-
era. Use Sysmac Studio to define the variables.
For operations of Sysmac Studio, refer to Sysmac Studio Version1 Operation manual (Cat. No.W504).
1
Define the data types for the variables.
Define the data types for the variables based on the structure of each communication area of
the smart camera.
• Definition of data type to access a signal
Data type for handling control signals and status signals.
U_EIPFlag16
U_EIPFlag32
• Definition of data type to access the Output Area (Structure)
It is the data type for accessing the Output Area.
S_EIPOutput
3-22
Name of data type
F
W
F
W
Name of data type
CONTROL
ECHO
CmdCode
CmdArg
reserved1
VIO
reserved2
bool_val
int_val
long_val
float_val
string101_length
string101
string102_length
F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
Data type
STRUCT
U_EIPFlag16
WORD
DWORD
DWORD
U_EIPFlag32
U_EIPFlag16
U_EIPFlag16
BOOL[64]
INT[10]
DINT[10]
REAL[10]
DINT
STRING[92]
DINT
Data type
STRUCT
BOOL[16]
WORD
STRUCT
BOOL[32]
DWORD
Description
-
Control signal (16-bit)
Echo
Command code
Command parameter
Reserved for future use
Virtual IO
Reserved for future use
Global Data Service (GDS
bool101 to bool164
GDS int101 to int110
GDS long101 to long110
GDS float101 to float110
GDS string101 String length
GDS string101
GDS string102 String length
*1
)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents