Guide
Tutorials and how-tos for working with ModDef. Start with Getting started, then read the concept pages as you need them.
- Getting started: read your first device in each language.
- What is a ModDef document?: the file, its three encodings, and how it is validated.
- Types & storage: storage widths, byte and word order, primitives.
- Transforms & scaling: static rationals, SunSpec scale factors, selector cases.
- Measurands: querying by meaning instead of by address.
- Writing & constraints: access modes and §11.4 validation.
- SunSpec discovery: dynamic, model-chained addressing.
For the normative rules, see the Specification.