Skip to content
keith edited this page Mar 15, 2022 · 1 revision

OT-sim Draft Documentation

Configuration

A configuration file — XML format — has four primary keys: message bus, CPU module, logic module, and Modbus module.

Message Bus

The message bus utilizes ZeroMQ's PUB/SUB protocol to allow connected modules to publish messages for other modules to process.

  • Verbose (boolean)
  • Subscribe endpoint (string, tcp:// address with port number)
  • Publish endpoint (string, tcp:// address with port number)
  • Debug endpoint (string, tcp:// address with port number)

CPU Module

  • Publish endpoint

Logic Module

  • Subscribe endpoint
  • Publish endpoint
  • Time period between (period)
  • Program data (??)
  • Variable to modify (e.g., counter value, reset to value)

Modbus Module

  • Subscribe endpoint
  • Publish endpoint
  • Endpoint value (e.g., 127.0.0.1:5502)
  • Register:
    • Type of register
    • Address
    • Tag
Clone this wiki locally