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 페이로드 해석은 범위 외입니다. 애매한 프레임에 대한 자동 방향은 잘못될 수 있습니다; 수동으로 선택하십시오.
참고문헌
Modbus over Serial Line V1.02 · Modbus Application Protocol V1.1b3 · ISO 11898-1:2015 (CAN data link layer) · CRC 카탈로그
교육용 모델. 기계를 진단하거나 안전한 운영 한계를 확정하기에 결과가 충분하지 않습니다.