{"route":"/skills/modbus/check-byte-order","title":"Check Byte Order","tab":"skills/modbus/check-byte-order.md","description":"Check which byte and word orders apply to one raw sample, then calculate every supported layout.","updatedAt":"2026-08-28","enabled":true,"url":"https://studioseventeen.io/skills/modbus/check-byte-order","markdown":"# Check Modbus byte order\n\nREAD-ONLY · YOUR APPROVAL · NOT FOR BIT ORDER\n\nDetermine byte order without another device read. Give the skill the raw words from one saved sample. It calculates the value for every supported byte and word order. You compare those values with what you know about the equipment.\n\n## One sample, all supported orders\n\nA 32-bit sample produces the ABCD, BADC, CDAB, and DCBA results. The evaluation does not send another Modbus request. A 64-bit sample produces every supported four-word order. Keep the device, register, time of the read, and raw words together.\n\n## When to use it\n\nUse this skill when raw words exist and the map does not define byte order. If no sample exists, use $capture-sample first.\n\n## Workflow\n\n1. Read the saved sample.\n2. Calculate every supported order.\n3. Confirm the value that matches the equipment.\n4. Add the confirmed layout to the map.\n\nCoil or packed-bit numbering is a $check-map hold. Resolve it through map review with an explicit bit-numbering rule. It is not an ABCD, BADC, CDAB, or DCBA question.\n\n## Prompt\n\n```text\nUse $check-byte-order to calculate every supported byte and word order for these raw words. Show each value. Do not choose an order until the operator confirms which value matches the equipment.\n```\n\n## Safety\n\nNo writes. No broadcasts. No discovery scans. No polls without a defined limit. Unknown values stay blank and appear in the review list.\n\nSource: https://github.com/studioxvii/modbus-skills/blob/v0.2.2/plugins/modbus-skills/skills/check-byte-order/SKILL.md\n"}