{
  "commands": [
    {
      "command": "loadProgram",
      "before": "unloaded",
      "after": "stopped",
      "result": "ok",
      "diagnostics": []
    },
    {
      "command": "start",
      "before": "stopped",
      "after": "running",
      "result": "blocked",
      "diagnostics": [
        {
          "severity": "error",
          "code": "VC_STEP_LIMIT_EXCEEDED",
          "message": "Execution exceeded 1 steps"
        }
      ]
    },
    {
      "command": "stepInto",
      "before": "paused",
      "after": "paused",
      "result": "executed",
      "diagnostics": []
    },
    {
      "command": "hold",
      "before": "paused",
      "after": "hold",
      "result": "ok",
      "diagnostics": []
    },
    {
      "command": "resume",
      "before": "hold",
      "after": "running",
      "result": "blocked",
      "diagnostics": [
        {
          "severity": "error",
          "code": "VC_STEP_LIMIT_EXCEEDED",
          "message": "Execution exceeded 3 steps"
        }
      ]
    },
    {
      "command": "stepMotion",
      "before": "running",
      "after": "running",
      "result": "ok",
      "diagnostics": []
    },
    {
      "command": "stop",
      "before": "paused",
      "after": "stopped",
      "result": "ok",
      "diagnostics": []
    },
    {
      "command": "resetFault",
      "before": "stopped",
      "after": "stopped",
      "result": "ok",
      "diagnostics": []
    }
  ],
  "snapshot": {
    "state": {
      "state": "stopped",
      "diagnostics": []
    },
    "runtime": {
      "loaded": true,
      "procedure": "main",
      "pc": 5,
      "callStack": [
        {
          "procedure": "main",
          "pc": 5
        }
      ],
      "scopeStack": [
        {
          "id": "global",
          "variables": {}
        },
        {
          "id": "main",
          "variables": {}
        }
      ],
      "alarmQueue": [
        {
          "id": "START",
          "message": "start",
          "severity": "info",
          "source": {
            "kind": "ALARM",
            "id": "main:ALARM:13:5",
            "sourceMap": {
              "line": 13,
              "column": 5
            },
            "procedureId": "main"
          },
          "time": 0
        }
      ],
      "trace": [
        {
          "time": 0,
          "kind": "load",
          "procedure": "main",
          "pc": 0,
          "message": "Loaded W2ExceptionAlarm",
          "source": {
            "kind": "ALARM",
            "id": "main:ALARM:13:5",
            "sourceMap": {
              "line": 13,
              "column": 5
            },
            "procedureId": "main"
          },
          "data": {
            "moduleName": "W2ExceptionAlarm"
          },
          "id": 1
        },
        {
          "time": 0,
          "kind": "alarm",
          "procedure": "main",
          "pc": 0,
          "message": "start",
          "source": {
            "kind": "ALARM",
            "id": "main:ALARM:13:5",
            "sourceMap": {
              "line": 13,
              "column": 5
            },
            "procedureId": "main"
          },
          "data": {
            "alarmId": "START",
            "severity": "info"
          },
          "id": 2
        },
        {
          "time": 0,
          "kind": "instruction",
          "procedure": "main",
          "pc": 1,
          "instructionKind": "ALARM",
          "source": {
            "kind": "ALARM",
            "id": "main:ALARM:13:5",
            "sourceMap": {
              "line": 13,
              "column": 5
            },
            "procedureId": "main"
          },
          "id": 3
        },
        {
          "time": 0,
          "kind": "diagnostic",
          "procedure": "main",
          "pc": 1,
          "message": "Execution exceeded 1 steps",
          "source": {
            "kind": "RAW_STATEMENT",
            "id": "main:RAW_STATEMENT:14:5",
            "sourceMap": {
              "line": 14,
              "column": 5
            },
            "procedureId": "main"
          },
          "diagnostic": {
            "severity": "error",
            "code": "VC_STEP_LIMIT_EXCEEDED",
            "message": "Execution exceeded 1 steps"
          },
          "id": 4
        },
        {
          "time": 0,
          "kind": "instruction",
          "procedure": "main",
          "pc": 2,
          "instructionKind": "RAW_STATEMENT",
          "source": {
            "kind": "RAW_STATEMENT",
            "id": "main:RAW_STATEMENT:14:5",
            "sourceMap": {
              "line": 14,
              "column": 5
            },
            "procedureId": "main"
          },
          "id": 5
        },
        {
          "time": 0,
          "kind": "motion",
          "procedure": "main",
          "pc": 2,
          "instructionKind": "MOVEJ",
          "source": {
            "kind": "MOVEJ",
            "id": "main:MOVEJ:15:7",
            "sourceMap": {
              "line": 15,
              "column": 7
            },
            "procedureId": "main"
          },
          "data": {
            "queued": true
          },
          "id": 6
        },
        {
          "time": 0,
          "kind": "instruction",
          "procedure": "main",
          "pc": 3,
          "instructionKind": "MOVEJ",
          "source": {
            "kind": "MOVEJ",
            "id": "main:MOVEJ:15:7",
            "sourceMap": {
              "line": 15,
              "column": 7
            },
            "procedureId": "main"
          },
          "id": 7
        },
        {
          "time": 0,
          "kind": "diagnostic",
          "procedure": "main",
          "pc": 4,
          "instructionKind": "UNSUPPORTED_RUNTIME",
          "source": {
            "kind": "UNSUPPORTED_RUNTIME",
            "id": "main:UNSUPPORTED_RUNTIME:22:5",
            "sourceMap": {
              "line": 22,
              "column": 5
            },
            "procedureId": "main"
          },
          "diagnostic": {
            "severity": "warning",
            "code": "VC_UNSUPPORTED_RUNTIME",
            "message": "enable interrupt is parsed but not executable in P0",
            "sourceMap": {
              "line": 22,
              "column": 5
            }
          },
          "id": 8
        },
        {
          "time": 0,
          "kind": "diagnostic",
          "procedure": "main",
          "pc": 5,
          "instructionKind": "UNSUPPORTED_RUNTIME",
          "source": {
            "kind": "UNSUPPORTED_RUNTIME",
            "id": "main:UNSUPPORTED_RUNTIME:23:5",
            "sourceMap": {
              "line": 23,
              "column": 5
            },
            "procedureId": "main"
          },
          "diagnostic": {
            "severity": "warning",
            "code": "VC_UNSUPPORTED_RUNTIME",
            "message": "disable interrupt is parsed but not executable in P0",
            "sourceMap": {
              "line": 23,
              "column": 5
            }
          },
          "id": 9
        },
        {
          "time": 0,
          "kind": "diagnostic",
          "procedure": "main",
          "pc": 5,
          "message": "Execution exceeded 3 steps",
          "diagnostic": {
            "severity": "error",
            "code": "VC_STEP_LIMIT_EXCEEDED",
            "message": "Execution exceeded 3 steps"
          },
          "id": 10
        }
      ],
      "completed": true
    },
    "motion": {
      "items": [
        {
          "id": "mq_1",
          "kind": "motion",
          "source": {
            "kind": "instruction",
            "instruction": {
              "kind": "MOVEJ",
              "target": {
                "joints": [
                  0,
                  0,
                  0,
                  0,
                  0,
                  0
                ],
                "id": "home"
              },
              "speed": {
                "kind": "joint_percent",
                "value": 0.3
              },
              "zone": {
                "kind": "fine"
              },
              "sourceMap": {
                "line": 15,
                "column": 7
              }
            },
            "sourceMap": {
              "line": 15,
              "column": 7
            }
          },
          "request": {
            "startJoints": [
              0,
              0,
              0,
              0,
              0,
              0
            ],
            "sampleTime": 0.02,
            "segments": [
              {
                "id": "motion_1",
                "motion": "MOVEJ",
                "target": {
                  "joints": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0
                  ],
                  "id": "home"
                },
                "speed": {
                  "kind": "joint_percent",
                  "value": 0.3
                },
                "zone": {
                  "kind": "fine"
                },
                "sourceMap": {
                  "line": 15,
                  "column": 7
                }
              }
            ]
          },
          "status": "queued"
        }
      ],
      "activeIndex": 0,
      "virtualTime": 0.1
    },
    "io": {
      "time": 0.1,
      "image": {
        "io.di[1]": true,
        "io.di[2]": false,
        "io.di[3]": true,
        "io.di[4]": false,
        "io.di[5]": true,
        "io.di[6]": false,
        "io.di[7]": true,
        "io.di[10]": true,
        "io.ai[2]": 0.75
      },
      "events": [
        {
          "id": 1,
          "time": 0,
          "writer": "script",
          "target": {
            "domain": "di",
            "index": 1,
            "raw": "io.di[1]"
          },
          "value": true,
          "kind": "script"
        },
        {
          "id": 2,
          "time": 0,
          "writer": "script",
          "target": {
            "domain": "di",
            "index": 2,
            "raw": "io.di[2]"
          },
          "value": false,
          "kind": "script"
        },
        {
          "id": 3,
          "time": 0,
          "writer": "script",
          "target": {
            "domain": "di",
            "index": 3,
            "raw": "io.di[3]"
          },
          "value": true,
          "kind": "script"
        },
        {
          "id": 4,
          "time": 0,
          "writer": "script",
          "target": {
            "domain": "di",
            "index": 4,
            "raw": "io.di[4]"
          },
          "value": false,
          "kind": "script"
        },
        {
          "id": 5,
          "time": 0,
          "writer": "script",
          "target": {
            "domain": "di",
            "index": 5,
            "raw": "io.di[5]"
          },
          "value": false,
          "kind": "script"
        },
        {
          "id": 6,
          "time": 0,
          "writer": "script",
          "target": {
            "domain": "di",
            "index": 6,
            "raw": "io.di[6]"
          },
          "value": true,
          "kind": "script"
        },
        {
          "id": 7,
          "time": 0,
          "writer": "script",
          "target": {
            "domain": "di",
            "index": 7,
            "raw": "io.di[7]"
          },
          "value": false,
          "kind": "script"
        },
        {
          "id": 8,
          "time": 0,
          "writer": "script",
          "target": {
            "domain": "di",
            "index": 10,
            "raw": "io.di[10]"
          },
          "value": true,
          "kind": "script"
        },
        {
          "id": 9,
          "time": 0,
          "writer": "script",
          "target": {
            "domain": "ai",
            "index": 2,
            "raw": "io.ai[2]"
          },
          "value": 0.75,
          "kind": "script"
        },
        {
          "id": 10,
          "time": 0.1,
          "writer": "script",
          "target": {
            "domain": "di",
            "index": 5,
            "raw": "io.di[5]"
          },
          "previous": false,
          "value": true,
          "kind": "script"
        },
        {
          "id": 11,
          "time": 0.1,
          "writer": "script",
          "target": {
            "domain": "di",
            "index": 6,
            "raw": "io.di[6]"
          },
          "previous": true,
          "value": false,
          "kind": "script"
        },
        {
          "id": 12,
          "time": 0.1,
          "writer": "script",
          "target": {
            "domain": "di",
            "index": 7,
            "raw": "io.di[7]"
          },
          "previous": false,
          "value": true,
          "kind": "script"
        }
      ],
      "diagnostics": [],
      "scripts": [
        {
          "name": "W2_90_ExceptionAlarm-edge-script",
          "nextIndex": 3,
          "elapsed": 0.1,
          "steps": [
            {
              "delay": 0.02,
              "target": {
                "domain": "di",
                "index": 5,
                "raw": "io.di[5]"
              },
              "value": true
            },
            {
              "delay": 0.04,
              "target": {
                "domain": "di",
                "index": 6,
                "raw": "io.di[6]"
              },
              "value": false
            },
            {
              "delay": 0.06,
              "target": {
                "domain": "di",
                "index": 7,
                "raw": "io.di[7]"
              },
              "value": true
            }
          ],
          "done": true
        }
      ]
    },
    "bridge": {
      "pathIds": [],
      "operationIds": [],
      "diagnostics": []
    }
  }
}
