{"format": "lkwiring/1",
 "machine": {"name": "Gate demo line"},
 "made": {"by": "ai", "checked": false, "tool": "example", "at": "2026-11-05"},
 "documents": [{"key": "E", "title": "Electrical schematic", "kind": "electrical", "sheets": 3}],
 "modules": [
  {"key": "PLC", "label": "PLC", "role": "controller", "catalog": "1769-L33ER", "at": [{"sheet": 1}]},
  {"key": "IN1", "label": "IN1", "role": "io", "program_key": "1", "dir": "I", "points": 16, "at": [{"sheet": 2}]},
  {"key": "OUT2", "label": "OUT2", "role": "io", "program_key": "2", "dir": "O", "points": 8, "at": [{"sheet": 2}]}],
 "points": [
  {"key": "IN1.0", "module": "IN1", "channel": 0, "devices": [], "spare": true, "at": [{"sheet": 2}]},
  {"key": "IN1.3", "module": "IN1", "channel": 3, "devices": ["B1"], "wire": "103", "function": "bottle present",
   "at": [{"sheet": 2}]},
  {"key": "IN1.7", "module": "IN1", "channel": 7, "devices": ["B2"], "wire": "107",
   "path": [{"kind": "terminal", "id": "X1", "pin": "7"}], "function": "gate out", "at": [{"sheet": 2}]},
  {"key": "OUT2.0", "module": "OUT2", "channel": 0, "devices": ["Y1"], "wire": "200", "function": "gate valve",
   "at": [{"sheet": 2}]},
  {"key": "OUT2.1", "module": "OUT2", "channel": 1, "devices": ["K1"], "wire": "201", "function": "conveyor on",
   "at": [{"sheet": 2}]}],
 "devices": [
  {"key": "B1", "ref": "B1", "type": "sensor", "function": "bottle present", "at": [{"sheet": 2}]},
  {"key": "B2", "ref": "B2", "type": "sensor", "function": "gate out", "at": [{"sheet": 2}]},
  {"key": "Y1", "ref": "Y1", "type": "coil", "function": "gate valve", "at": [{"sheet": 2}]},
  {"key": "K1", "ref": "K1", "type": "contactor", "at": [{"sheet": 1}, {"sheet": 2}]},
  {"key": "Q1", "ref": "Q1", "type": "breaker", "rating": "6 A", "at": [{"sheet": 1}]},
  {"key": "G1", "ref": "G1", "type": "power_supply", "rating": "24 V DC, 5 A", "at": [{"sheet": 1}]},
  {"key": "F1", "ref": "F1", "type": "fuse", "rating": "2 A", "at": [{"sheet": 1}]},
  {"key": "M1", "ref": "M1", "type": "motor", "function": "conveyor", "at": [{"sheet": 1}]},
  {"key": "V1", "ref": "V1", "type": "valve", "rating": "5/2", "at": [{"sheet": 3}]},
  {"key": "C1", "ref": "C1", "type": "cylinder", "function": "gate", "at": [{"sheet": 3}]},
  {"key": "S0", "ref": "S0", "type": "switch", "function": "emergency stop", "safety": true, "at": [{"sheet": 1}]}],
 "rails": [
  {"key": "+24F1", "name": "+24F1", "from": "F1", "voltage": "24 V DC", "at": [{"sheet": 1}]},
  {"key": "P1", "name": "P1", "from": null, "medium": "air", "at": [{"sheet": 3}]}],
 "feeds": [
  {"key": "feed.G1", "load": "G1", "from": "Q1", "at": [{"sheet": 1}]},
  {"key": "feed.F1", "load": "F1", "from": "G1", "at": [{"sheet": 1}]},
  {"key": "feed.IN1", "load": "IN1", "from": "+24F1", "at": [{"sheet": 2}]},
  {"key": "feed.B1", "load": "B1", "from": "+24F1", "at": [{"sheet": 2}]},
  {"key": "feed.K1.contacts", "load": "K1", "load_side": "contacts", "from": "Q1", "at": [{"sheet": 1}]},
  {"key": "feed.M1", "load": "M1", "from": "K1", "at": [{"sheet": 1}]}],
 "mechanisms": [
  {"key": "gate", "title": "GATE", "drive": ["Y1"], "valve": "V1", "actuators": ["C1"], "feedback": "drawn",
   "positions": [{"sensor": "B2", "actuator": "C1", "label": "out"}], "air": "P1", "at": [{"sheet": 3}]}],
 "parts": [
  {"key": "E2E-X5ME1", "catalog": "E2E-X5ME1", "maker": "Omron", "words": "inductive sensor", "for": ["B1", "B2"],
   "at": [{"sheet": 2}]}],
 "safety": [
  {"key": "estop", "about": ["S0"], "text": "Emergency stop chain: see the sheet.", "at": [{"sheet": 1}]}],
 "open": [
  {"key": "P1-source", "text": "The drawing does not show where air line P1 comes from.", "about": [], "at": [{"sheet": 3}]}]
}