Bits 4 to 7 Name FP7
1000 to
1001
Reserved
Not
suppor
ted
1010 to
1111
Peculiar to vendors. Or peculiar to products
Not
suppor
ted
■
Operand [D2] setting
Specify the area that stores the execution result. One of the following execution codes is stored.
Name Value Description
[D]
Normal end 0 The acquisition of a specified node status is complete.
In progress 1 The acquisition of a specified node is in progress.
Timeout 2 Communication timeout (10 seconds)
Multiple executions 3 Multiple execution of the EIPNDST instruction
Communication error 4 In the case of communication errors
CIP error 5 In the case of a CIP error
EtherNet/IP communication
preparation incomplete
6
When the preparation of EtherNet/IP communication is
incomplete
[D2+1] CIP general status 1 to 255 If the value of [D] is "5", CIP general status and CIP
extended status are stored. If the value of [D] is not "5",
"0" is stored in [D2+1] and [D2+2].
[D2+2] CIP extended status 0 to 65535
■
Usage example
Example 1) Acquires the node status of node number 1.
● EtherNet/IP configuration setting
The EtherNet/IP devices that the node status is acquired should be registered in the scan
list.
Node IP address Valid/Invalid flag
1 192.168.1.6 Invalid
2 192.168.1.7 Enabled
There is no problem even if the valid/invalid flag is invalid when acquiring the node status.
Select valid or invalid to determine whether to perform the cyclic communication or not.
■
Sample program
● The UNITSEL instruction is used to specify the connection number of the built-in ET-LAN in
the CPU unit.
● The acquisition result of the node status is stored in DT100 and the execution result is in
DT2000. When the operation is complete successfully, 0 is stored in DT2000, and the node
status is stored in DT100 and subsequent DTs.
17.29 EIPNDST (EtherNet/IP Node Status Acquisition Instruction)
17-150 WUME-FP7CPUPGR-12