Download Print this page

HMS Networks Anybus CompactCom B40 Modbus Serial Network Manual page 11

Profinet irt

Advertisement

Basic Operation
To set the virtual attributes in the Anybus CompactCom to these values, using the Modbus
function 70, create the request below:
The attribute data is sent in little-endian format.
Modbus function 70 Request
Modbus Address
Function Code
Command
Object
Instance
Ext0
Ext1
Data Size
Data
CRC
Response
Modbus Address
Function Code
Command
Object
Instance
Ext0
Ext1
Data Size
CRC
Requests with a size larger than 244 bytes will return Modbus exception code ILLEGAL DATA VALUE.
®
Anybus
CompactCom
B40 Modbus Serial PROFINET IRT Network Guide
Value
0xXX
0x46
0x42
0x01
0x01
0x00
0x11
0x00
0x72
0x00
0xF6 0x01 0x00 0x01 0x02 0x00 0x10 0x00
0xF6 0x01 0x00 0x02 0x02 0x00 0x0C 0x01
0xF6 0x01 0x00 0x08 0x08 0x00 0x4F 0x72 0x64 0x65 0x72 0x20 0x49 0x44
0xF6 0x01 0x00 0x0C 0x02 0x00 0x01 0x00
0xF9 0x01 0x00 0x03 0x01 0x00 0x00
0xF9 0x01 0x00 0x06 0x01 0x00 0x00
0xFF 0x01 0x00 0x03 0x04 0x00 0x78 0x56 0x34 0x12
0xFF 0x01 0x00 0x08 0x0B 0x00 0x56 0x65 0x6E 0x64 0x6F 0x72 0x20 0x4E 0x61
0x6D 0x65
0xFF 0x01 0x00 0x09 0x0C 0x00 0x50 0x72 0x6F 0x64 0x75 0x63 0x74 0x20 0x4E
0x61 0x6D 0x65
0xFF 0x01 0x00 0x0A 0x03 0x00 0x01 0x02 0x03
0xFF 0x01 0x00 0x0B 0x02 0x00 0x03 0x00
0xXX
0xXX
Value
0xXX
0x46
0x02
0x01
0x01
0x00
0x11
0x00
0x00
0x00
0xXX
0xXX
9 (24)
Note
FC70
Set_Attribute
Anybus Object
Instance 1
Attribute 17
Not used
The data size in
this example is
114 bytes
Device ID
Vendor ID
I&M Order ID
I&M Rev Cnt
Disable Web
Disable FTP
Serial Number
Vendor Name
Product Name
Firmware Ver.
Hardware Ver.
CRC-16
Note
FC70
Set_Attr_Resp
Anybus Object
Attribute 17
Not used
CRC-16
SCM-1202-138 1.1 en-US

Advertisement

loading
Need help?

Need help?

Do you have a question about the Anybus CompactCom B40 Modbus Serial and is the answer not in the manual?

Questions and answers