Parse, build, decode, and validate Modbus RTU, Modbus TCP, and Modbus ASCII frames directly in Raycast.
0x-prefixed hexadecimal input.Parse Modbus in Raycast.For example, the RTU request 10 06 02 02 00 03 6A F2 writes the value 3 to physical register address 514 (logical address 515) on slave 16.
Modbus ASCII accepts the standard text form, such as :010302580002A0 followed by CRLF. It also accepts a hexadecimal capture of the ASCII wire bytes, including the leading 3A and trailing 0D 0A.
The text form must include its CRLF terminator. When entering a visible escaped representation, a trailing literal \r\n is accepted as well.
Parse Modbus breaks a complete request or response frame into fields.Build Modbus Frame creates function 01, 02, 03, 04, 05, 06, 15, and 16 request frames with the required transport header and checksum.Decode Register Values interprets raw register bytes using common numeric and text types with configurable byte order.Calculate Modbus Checksum calculates and appends a checksum or verifies one already present in a frame.Modbus Reference provides a searchable guide to data areas, common function codes, data types, byte orders, logical-to-physical addressing, protocol frames, and exception codes.10 06 02 02 00 03 6A F2 as a request.03, unit 1, starting address 0, and quantity 2 to generate a complete read request.41 20 00 00 as Float32 with ABCD order to obtain 10.10 06 02 02 00 03 to obtain wire bytes 6A F2.The parser validates and breaks down the following function codes into named fields:
0x01, 0x02, 0x03, and 0x04: read requests and responses.0x05 and 0x06: single-write requests and responses.0x07: exception-status requests and responses.0x08: diagnostics requests and responses.0x0F and 0x10: multiple-write requests and responses.0x16: mask-write requests and responses.0x17: read/write-multiple-register requests and responses.Other function codes remain usable: their function data is displayed as a raw payload instead of being split into function-specific fields.
Because RTU has no header, a short byte sequence can occasionally satisfy both a valid RTU CRC and the byte layout of a valid TCP frame. In that inherently ambiguous case, the parser honors the protocol selected by the user. It suggests another protocol only when the selected framing fails and the other framing validates.
Modbus natively defines bits and 16-bit registers. Signed integers, 32-bit or 64-bit values, floating-point values, strings, and multi-register byte order are device conventions. Always confirm them in the device documentation.
This extension's input flow and field-oriented result presentation are explicitly based on the Rapid SCADA Modbus Parser. Frame structure, size, MBAP header, length, and unit-address validation follow the Fernhill Software Modbus Protocol guide. Function-code limits and data encoding follow the Modbus Application Protocol Specification V1.1b3, while CRC and LRC generation follow the Modbus Serial Line Protocol and Implementation Guide V1.02. The implementation runs locally in Raycast and does not send entered frames to any website.
Modbus is a registered trademark of Schneider Electric. This extension is an independent developer tool and is not affiliated with Rapid SCADA or Schneider Electric.