What Is B2MML? The ISA-95 Data Exchange XML
ISA-95 defines models for exchanging information between the plant and the business, but a model is not a file format, and at some point systems have to send each other actual messages. B2MML is that format. This page explains what B2MML is, how it turns ISA-95's abstract models into concrete XML, and where it fits in a real integration. It is written for the engineer or integrator connecting MES and ERP who keeps seeing B2MML referenced and needs to know what it actually is.
B2MML in one line: B2MML, Business to Manufacturing Markup Language, is an XML implementation of the ISA-95 models. It provides a set of standardized XML schemas that turn ISA-95's abstract objects, such as production schedules, production performance, and material definitions, into concrete machine-readable documents that systems like MES and ERP can exchange. Where ISA-95 defines what information to share, B2MML defines a common file structure for actually sharing it.
How B2MML Works
B2MML is a collection of XML schemas that mirror the ISA-95 information models. For each ISA-95 object, such as a production schedule or a report of production performance, B2MML provides a corresponding schema that says exactly which elements and attributes a valid document contains. When one system needs to send a production schedule to another, it produces an XML document that conforms to the B2MML schema, and the receiving system, knowing the same schema, can parse it reliably. The schema is the shared contract that makes the exchange unambiguous.
The reason this matters is that ISA-95 on its own is a set of models, not a wire format, so two vendors could both claim ISA-95 alignment yet still be unable to exchange a file. B2MML closes that gap by giving everyone the same XML structure to target. It is the practical companion that lets the ISA-95 model move from a whiteboard diagram to messages flowing between systems, which is why integrators reach for it when a real interface has to be built.
Where It Fits in the Integration
B2MML lives at the boundary between operations management and business planning, the Level 3 to Level 4 interface in ISA-95 terms. That is where production schedules flow down from planning and production results flow back up, and it is exactly the exchange ISA-95 was created to structure. B2MML is the format those messages take across that boundary, so it sits where MES and ERP meet rather than down on the plant floor with the controllers and SCADA tags.
Because it is XML, B2MML is transport-agnostic: the same document can move over a message queue, a web service, or a file drop, and the choice of transport is separate from the choice of format. This separation is deliberate and useful, because it lets an integration adopt the standardized content structure without dictating the plumbing. The equipment hierarchy that ISA-95 defines is reflected in how B2MML documents reference the equipment a schedule or result pertains to.
Design and Adoption Considerations
The main design decision with B2MML is which parts of it to use, because a full integration rarely needs every schema. Most projects adopt the schemas for the specific exchanges they perform, such as production schedule and production performance, and profile them to the fields their systems actually populate. Agreeing that profile up front, so both sides fill and read the same elements, is what turns a nominally standard interface into one that works in practice.
Adoption also means accepting XML's verbosity in exchange for its interoperability and tooling. B2MML documents are larger and more explicit than a bespoke format would be, but that explicitness is the point: any system that knows the schema can validate and parse them without a custom parser. For an ISA-95-aligned integration, that predictability is usually worth the extra size, especially where more than two systems have to understand the same messages.
Failure Modes
The common failure is two systems that both claim B2MML support but profile it differently, so one populates fields the other ignores or expects fields the other never sends. B2MML guarantees a shared structure, not a shared interpretation of every optional element, so an agreed profile is essential. When an interface passes validation yet the receiving system gets no useful data, a profile mismatch is the usual cause.
The other failure is treating B2MML as if it dictated transport or timing, which it does not. B2MML is a content format; how often documents are sent and over what channel are separate decisions. Blaming the format for a late or missed message usually points instead at the transport or the triggering logic, which live outside B2MML entirely and have to be designed on their own.
Frequently Asked Questions
What does B2MML stand for?
Business to Manufacturing Markup Language. It is an XML implementation of the ISA-95 models, providing standardized schemas so that manufacturing operations systems and business systems can exchange production information in a common, machine-readable structure. The name reflects its job: carrying data across the boundary between the business and manufacturing.
How is B2MML related to ISA-95?
ISA-95 defines the abstract information models, and B2MML implements them as concrete XML schemas. ISA-95 tells you what information to exchange, such as a production schedule; B2MML gives you the exact document structure to exchange it in. B2MML is the practical file format that lets an ISA-95-aligned integration actually move messages between systems.
Do two systems automatically interoperate if both support B2MML?
Not automatically. B2MML guarantees a shared XML structure, but each side can profile which optional elements it populates and reads. If they profile it differently, one may send fields the other ignores, or expect fields the other never sends. Agreeing a common profile up front is what turns nominal B2MML support into a working interface.
Automation services
Need help turning this into a working system?
Merobix integrates SCADA, programs Allen-Bradley and Siemens PLCs, and designs and fabricates industrial control panels.
Meeting requests are reviewed before confirmation.