2 Instruction Descriptions
2-708
NJ-series Instructions Reference Manual (W502)
Refer to the following manuals for details on CIP communications.
• NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (Cat. No. W506)
• CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (Cat. No. W495)
• 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 through the built-in EtherNet/IP ports on NJ-series CPU Units.
• If a variable is read from an OMRON Controller, the variable must be published to the network. Pub-
lish the variable to the network in advance.
• You cannot specify an address in memory for CJ-series Units directly to read data. To read specific
addresses in memory for CJ-series Units, use an AT specification in advance to assign the memory
addresses to a variable.
• You cannot specify an address in local memory for CJ-series Units directly to store data. To store
data in specific addresses in memory for CJ-series Units, use an AT specification in advance to
assign the memory addresses to DstDat.
• If the variable that is read is a user-defined structure, you can read a maximum of 492 bytes.
• The characters that can be used in SrcDat are specified in the following table.
• An error occurs in the following cases. Error will change to TRUE.
• There is a setting error for the local IP address.
• The text string in RoutePath does not end in a NULL character.
• The value of TimeOut is outside of the valid range.
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
Item Specification
Maximum num-
ber of bytes
127 bytes
Character code UTF-8
Applicable char-
acters
Alphanumeric characters (not case sensitive), single-byte Katakana, multibyte characters,
and ‘_’ (underbars)
Prohibited text
strings
• Any text string that starts with ASCII characters 0 to 9 (character codes 16#30 to 16#39)
• A text string that consists of only a single _ (underbar) ASCII character
• Any text string that includes two or more consecutive _ (underbar) ASCII characters
• Any text string that starts with an _ (underbar) ASCII character
• Any text string that ends with an _ (underbar) ASCII character
• Any text string that starts with “P_”