EasyManuals Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #810 background imageLoading...
Page #810 background image
2 Instruction Descriptions
2-762
NJ-series Instructions Reference Manual (W502)
The data type of Socket is structure _sSOCKET. The specifications are as follows:
* These members are not used for this instruction.
The data type of SendNodeAdr is structure _sSOCKET_ADDRESS. The specifications are as follows:
Refer to the NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (Cat. No. W506) for details on
socket services.
• Execution of this instruction is continued until processing is completed even if the value of Execute
changes to FALSE or the execution time exceeds the task period. The value of Done changes to
TRUE when processing is completed. Use this to confirm normal completion of processing.
• Refer to Using this Section on page 2-2 for a timing chart for Execute, Done, Busy, and Error.
• This instruction can be used only for the built-in EtherNet/IP on NJ-series CPU Units.
• This instruction must be used in ST. It cannot be used in a ladder diagram.
• Up to 2,000 bytes of data can be read from the receive buffer with one instruction.
Name Meaning Description Data type Valid range Unit Default
Socket Socket Socket _sSOCKET
--- --- ---
Handle Handle Handle for data commu-
nications
UDINT Depends on
data type.
--- ---
SrcAdr* Local address Local IP address and
port number
_sSOCKET_
ADDRESS
--- --- ---
PortNo* Port number Port number UINT 1 to 65535
--- ---
IpAdr* IP address IP address or host
name. A DNS or Hosts
setting is required to use
a host name.
STRING Depends on
data type.
DstAdr* Destination
address
Destination IP address
and port number
_sSOCKET_
ADDRESS
--- --- ---
PortNo* Port number Port number UINT 1 to 65535
--- ---
IpAdr* IP address IP address or host
name. A DNS or Hosts
setting is required to use
a host name.
STRING Depends on
data type.
Name Meaning Description Data type Valid range Unit Default
SendNodeAdr Source node
address
Source node address _sSOCKET_
ADDRESS
--- --- ---
PortNo Port number UPD port number of the
source node
UINT 1 to 65535
--- ---
IpAdr IP address IP address of the source
node
STRING Depends on
data type.
Related System-defined Variables
Name Meaning
Data
type
Description
_EIP_EtnOnlineSta Online BOOL Status of built-in EtherNet/IP port communications
TRUE: Can be used.
FALSE: Cannot be used.
Additional Information
Precautions for Correct Use

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals