I-7242D user manual
I-7242D DeviceNet/Modbus RTU Gateway User’s Manual, July 2006, Version 1.1 45/124
4.11 User-defined Modbus Command Object ( Class : 0x65 )
The “User Defined Modbus Command” Object has maximum three
instances and is specific to the I-7242D. Its attributes contain the application
data, which can be defined by the special Modbus commands and can be
transmitted to the Modbus slaves via Modbus queries. Another attribute of this
object’s instances can receive data from a Modbus response
Users can only use Get_Attribute_Single and Set_Attribute_Single to
read/write their commands from/to Modbus devices via this object.
Class Attribute
Attribute ID
Attribute name
Data Type
Method
Value
0x01 Revision UINT Get 1
0x02 Max
Instance UINT
Get 3
Class Service
Service Code
Service Name
Need
0x0E Get_Attribute_Single
Required
Instance Attribute
Attribute ID
Description
Data Type
Method
Value
0x01
Query Modbus Message:
Address
Command
Register
Number of Register
Structure of
USINT
USINT
UINT
USINT
Get/Set
Determined by
user defined
0x02
Response Modbus Message:
Address
Command
Register
Structure of
USINT
USINT
UINT
Get
Determined by
user defined
0x03
Length of Response Modbus
Message
UINT Get/Set
0
0x04
Send User-defined Modbus
Command
CHAR Get/Set
Non-zero:
Send Command
0x05
Data Lose Counter
WORD
Get/Set
0
Instance Service
Service Code
Service name
Need
0x0E Get_Attribute_Single
Required
0x10 Set_Attribute_Single
Required