EtherNet/IP Operation Manual
5-6
IP1 16#C0A8 IP address: 192.168.1.10
IP2 16#010A
Mode 16#01 Create a CIP connection and close the
connection after the transmission is
done.
SerCode 16#10 Write a single one Attribute
ClassId 16#9D Class ID = 9D
InstId 16#02 Instance ID = 2
AttrId 16#01 Attribute ID =1
Size 16#02 Target parameter type: 2Bytes
Data 16#01 Parameter value: 16#01
When the function blocks are executed successfully, the output parameters will be stated as below.
Output
Parameter Settings Description
Don ON (16#01) Complete
Error No output No error
ErrCode 16#00 No error
Value No output No output
When the function blocks are not executed successfully, the output parameters will be stated as below.
Output
Parameter Settings Description
Don No output No output
Error ON (16#01) Error
ErrCode 16#0E Cannot write the attribute
Value No output No output
The Error bit is On and the ErrCode=16#1401 (The I/O module appears to have an read/write error.)
Don and Value are shown with no output. No other FBs are used.