Chapter 5 Programming
5-5
IP2 16#010A
Mode 16#00 UCMM
SerCode 16#0E Read/write a single one attribute service
code
ClassId 1 Class ID = 1
InstId 1 Instance ID = 1
AttrId 1 Attribute ID =1
Size No need to set up No need to set up
Data No need to set up No need to set up
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 16#031F Delta’s manufacturers code
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#07 Connection lost
Value No output No output
Example 2: Create a CIP connection and change the parameter value of the node 192.168.1.10 to 16#01. Close the
connection after the transmission is done.
Parameters: ClassId= 16#9D, InstId= 2, AttrId= 1
The parameters in the function blocks are as below:
Input
Parameter Settings Description
BID 16#01 Backplane 1
SID 16#01 Slot 1
PID 16#01