
8. Modbus protocol
Negative response specifically related to the identification function:
Slave no. | 2B + 80 | Type of MEI | Error code |
| CRC16 | |
|
|
| ||||
| AB | 0E | 00 to 02 | Lo |
| Hi |
|
|
|
|
|
|
|
1 byte | 1 byte | 1 byte | 1 byte | 1 byte |
| 1 byte |
Error code: | 16#00 = | No error |
|
|
|
|
16#01 = The "Request code" (16#2B), the "Type of MEI" (16#0E) or the "ReadDeviceId" (16#01) contained in the request is incorrect.
16#02 = The "Object Id" (16#00) contained in the request is incorrect.
Example of positive response:
•Address = 2
•Manufacturer name = “Telemecanique”
•Device name = “ATV71HU15M3”
•Device version = “0201”
•Device name = “MACHINE 4”
Request: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Slave no. | Request code | Type of MEI | ReadDeviceld | Object Id |
| CRC |
| CRC |
|
| |||||||
| Lo |
| Hi |
|
| ||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
02 |
| 2B | 0E |
| 01 |
|
| 00 |
|
| 34 |
| 77 |
|
| ||
Response: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
Slave no. |
| Response |
| Type of | ReadDeviceld | Degree of |
|
| No. of additional | Next object Id | Object no. | ||||||
|
| code |
| MEI | conformity |
|
|
| frames |
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
02 |
| 2B |
| 0E |
| 01 |
| 02 |
|
|
| 00 | 00 | 04 | |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Id of | Length of |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Value of object no. 1 |
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||
object no. | object no. 1 | ’T’ |
| ’e’ |
| ’l’ |
|
| ’e’ |
| ’m’ |
|
|
| ’e’ |
| ’c’ |
| ’a’ |
| ’n’ |
|
| ’i’ |
| ’q’ |
| ’u’ |
| ’e’ | ||||||||||||||||||||
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 00 |
| 0D | 54 |
|
|
| 65 |
| 6C |
|
| 65 |
| 6D |
|
|
| 65 |
|
|
| 63 |
|
|
| 61 |
| 6E |
| 69 |
| 71 |
| 75 |
| 65 |
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||
| Id of |
| Length of |
|
|
|
|
|
|
|
|
|
|
|
|
| Value of object no. 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||
|
| object no. | object no. 2 | ’A’ |
|
|
| ’T’ |
|
| ’V’ |
|
| ’7’ |
| ’1’ |
| ’H’ |
|
| ’U’ |
|
|
| ’1’ |
|
|
| ’5’ |
| ’M’ |
|
| ’3’ |
|
|
|
|
|
|
| |||||||||
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
| 01 |
| 0B | 41 |
|
| 54 |
|
| 56 |
|
| 37 |
| 31 |
| 48 |
|
|
| 55 |
|
|
| 31 |
|
| 35 |
| 4D |
|
| 33 |
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||
|
| Id of |
| Length of | Value of object no. 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||
|
| object no. |
| object no. 3 | ’0’ |
|
|
| ’2’ |
|
| ’0’ |
|
| ’1’ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
| 02 |
| 04 | 30 |
|
| 32 |
|
| 30 |
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||
|
| Id of |
| Length of |
|
|
|
|
|
|
|
| Value of object no. 4 |
|
|
|
|
|
|
|
|
|
| CRC | CRC |
|
|
|
|
|
|
|
| |||||||||||||||||
|
| object no. |
| object no. 4 | ’M’ |
|
|
| ’A’ |
|
| ’C’ |
|
| ’H’ |
| ’I’ |
| ’N’ |
|
| ’E’ |
|
| ’ ’ |
|
|
| ’4’ |
| Lo |
| Hi |
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||||||||||||||||
|
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 06 |
| 09 | 4D |
|
| 41 |
|
| 43 |
|
| 48 |
| 49 |
| 4E |
|
| 45 |
|
|
| 20 |
|
| 34 |
| 6F |
| 50 |
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33