ROOTCASTLE / इंजीनियरिंग लैब
प्रोटोकॉल निरीक्षक
Modbus RTU, UART और CAN फ्रेमों का डीकोड करें।
LOCAL CALCULATION · NO DEVICE CONNECTION
Modbus RTU decoder
✓ Valid frame · Request
| Field | Bytes | Value |
|---|---|---|
| slave | 01 | 1 |
| function | 03 | 3 Read Holding Registers |
| start | 00 00 | 0 (0x0000) |
| quantity | 00 0A | 10 |
| crc | C5 CD | 0xCDC5 = 0xCDC5 |
Model and assumptions
RTU frame: address, function, data, CRC-16 (reflected polynomial 0xA001, initial 0xFFFF, low byte first). The same function code has different lengths in request and response; automatic direction can be wrong for ambiguous frames. Addresses are zero-based; the 40001 notation is a device convention. Word order of 32-bit values depends on the device.
CRC: c=0xFFFF; c^=byte; 8×{ c = c&1 ? (c>>1)^0xA001 : c>>1 }
यह किस लिए है
क्षेत्र में सबसे आम संचार खराबियां एक गलत CRC, एक गलत पता, विकृत शब्द क्रम और समय सीमा समाप्ति हैं। एक विश्लेषक से कॉपी किए गए एक फ्रेम या एक सीरियल लॉग पेस्ट करें ताकि यह देख सकूं कि कौन सा क्षेत्र गलत है, डिवाइस एक्सेप्शन कोड और रजिस्टर मानों की संभावित व्याख्याएँ।
संभावित आवृत्ति घटक
उपकरण उपकरणों से कनेक्ट नहीं करता या डेटा नहीं भेजता; प्रत्येक गणना आपके ब्राउज़र में चलती है। Modbus ASCII, Modbus TCP, CAN FD और J1939/CANopen payload interpretation are out of scope. Automatic direction can be wrong for ambiguous frames; choose it manually.
संदर्भ
Modbus over Serial Line V1.02 · Modbus एप्लिकेशन प्रोटोकॉल V1.1b3 · ISO 11898-1:2015 (CAN data link layer) · CRC सूची
शैक्षिक मॉडल। एक मशीन का निदान करने या सुरक्षित ऑपरेटिंग सीमाओं को स्थापित करने के लिए परिणाम पर्याप्त नहीं हैं।