Modbus Protocol Specification


Response The format of a normal response is shown below. The data contents are specific to each controller type. Summary of Slave IDs



tải về 0.61 Mb.
Chế độ xem pdf
trang16/35
Chuyển đổi dữ liệu14.05.2023
Kích0.61 Mb.
#54683
1   ...   12   13   14   15   16   17   18   19   ...   35
modbus protocol

Response
The format of a normal response is shown below. The data contents are specific to each
controller type.
Summary of Slave IDs
These are the Slave ID codes returned by Modicon controllers in the first byte of the data field:
http://www.modicon.com/techpubs/dcon7.html (20 of 36) [1/11/2000 10:41:04 PM]


184 / 384
The 184 or 384 controller returns a byte count of either 4 or 74 (4A hexadecimal). If the
controller's J347 Modbus Slave Interface is setup properly, and its internal PIB table is normal,
the byte count will be 74. Otherwise the byte count will be 4. The four bytes that are always
returned are:
Bytes 5 ... 10, returned for a correct J347 setup and normal PIB, are:
Bytes 11 ... 74 contain the PIB table. This data is valid only if the controller is running (as
shown in Byte 2). The table is as follows:
http://www.modicon.com/techpubs/dcon7.html (21 of 36) [1/11/2000 10:41:04 PM]


584
The 584 controller returns a byte count of 9, as follows:
http://www.modicon.com/techpubs/dcon7.html (22 of 36) [1/11/2000 10:41:04 PM]


http://www.modicon.com/techpubs/dcon7.html (23 of 36) [1/11/2000 10:41:04 PM]


984
The 984 controller returns a byte count of 9, as follows:
http://www.modicon.com/techpubs/dcon7.html (24 of 36) [1/11/2000 10:41:04 PM]


Note: Bit 0 of the Machine State word defines the use of the memory downsize values in words
99, 100, and 175 (63, 64, and AF hexadecimal) of the configuration table. If bit 0 = logic 1,
downsizing is calculated as follows:
Page 0 size (16-bit words) = (Word 99 * 4096) - (Word 175 lo byte * 16)
State table size (16-bit words) = (Word 100 * 1024) - (Word 175 hi byte * 16)
Micro 84
The Micro 84 controller returns a byte count of 8, as follows:
http://www.modicon.com/techpubs/dcon7.html (25 of 36) [1/11/2000 10:41:04 PM]



tải về 0.61 Mb.

Chia sẻ với bạn bè của bạn:
1   ...   12   13   14   15   16   17   18   19   ...   35




Cơ sở dữ liệu được bảo vệ bởi bản quyền ©hocday.com 2024
được sử dụng cho việc quản lý

    Quê hương