17363 lines
494 KiB
JSON
17363 lines
494 KiB
JSON
{
|
|
"job_id": "W2-JOB-20260628021400-19b5a2c7",
|
|
"suite_id": "working2-abb120-spec",
|
|
"robot_id": "abb_irb120_3_58",
|
|
"robot": {
|
|
"robotId": "abb_irb120_3_58",
|
|
"urdf": "\n<robot name=\"abb_irb120_3_58\">\n <link name=\"base_link\"/>\n <link name=\"link_1\"/>\n <link name=\"link_2\"/>\n <link name=\"link_3\"/>\n <link name=\"link_4\"/>\n <link name=\"link_5\"/>\n <link name=\"link_6\"/>\n <link name=\"base\"/>\n <link name=\"flange\"/>\n <link name=\"tool0\"/>\n <joint name=\"joint_1\" type=\"revolute\"><origin rpy=\"0 0 0\" xyz=\"0 0 0\"/><parent link=\"base_link\"/><child link=\"link_1\"/><limit effort=\"0\" lower=\"-2.87979\" upper=\"2.87979\" velocity=\"4.36332\" acceleration=\"8.72664\"/><axis xyz=\"0 0 1\"/></joint>\n <joint name=\"joint_2\" type=\"revolute\"><origin rpy=\"0 0 0\" xyz=\"0 0 0.29\"/><parent link=\"link_1\"/><child link=\"link_2\"/><limit effort=\"0\" lower=\"-1.91986\" upper=\"1.91986\" velocity=\"4.36332\" acceleration=\"8.72664\"/><axis xyz=\"0 1 0\"/></joint>\n <joint name=\"joint_3\" type=\"revolute\"><origin rpy=\"0 0 0\" xyz=\"0 0 0.27\"/><parent link=\"link_2\"/><child link=\"link_3\"/><limit effort=\"0\" lower=\"-1.91986\" upper=\"1.22173\" velocity=\"4.36332\" acceleration=\"8.72664\"/><axis xyz=\"0 1 0\"/></joint>\n <joint name=\"joint_4\" type=\"revolute\"><origin rpy=\"0 0 0\" xyz=\"0 0 0.07\"/><parent link=\"link_3\"/><child link=\"link_4\"/><limit effort=\"0\" lower=\"-2.79253\" upper=\"2.79253\" velocity=\"5.58505\" acceleration=\"11.1701\"/><axis xyz=\"1 0 0\"/></joint>\n <joint name=\"joint_5\" type=\"revolute\"><origin rpy=\"0 0 0\" xyz=\"0.302 0 0\"/><parent link=\"link_4\"/><child link=\"link_5\"/><limit effort=\"0\" lower=\"-2.094395\" upper=\"2.094395\" velocity=\"5.58505\" acceleration=\"11.1701\"/><axis xyz=\"0 1 0\"/></joint>\n <joint name=\"joint_6\" type=\"revolute\"><origin rpy=\"0 0 0\" xyz=\"0.072 0 0\"/><parent link=\"link_5\"/><child link=\"link_6\"/><limit effort=\"0\" lower=\"-6.98132\" upper=\"6.98132\" velocity=\"7.33038\" acceleration=\"14.66076\"/><axis xyz=\"1 0 0\"/></joint>\n <joint name=\"base_link-base\" type=\"fixed\"><origin xyz=\"0 0 0\" rpy=\"0 0 0\"/><parent link=\"base_link\"/><child link=\"base\"/></joint>\n <joint name=\"joint_6-flange\" type=\"fixed\"><origin xyz=\"0 0 0\" rpy=\"0 0 0\"/><parent link=\"link_6\"/><child link=\"flange\"/></joint>\n <joint name=\"link_6-tool0\" type=\"fixed\"><origin xyz=\"0 0 0\" rpy=\"0 1.5707963267948966 0\"/><parent link=\"flange\"/><child link=\"tool0\"/></joint>\n</robot>\n",
|
|
"loadOptions": {
|
|
"robotId": "abb_irb120_3_58",
|
|
"baseLink": "base_link",
|
|
"tipLink": "tool0"
|
|
},
|
|
"source": {
|
|
"repository": "https://github.com/ros-industrial/abb",
|
|
"branch": "noetic-devel",
|
|
"entrypoint": "abb_irb120_support/urdf/irb120_3_58.xacro",
|
|
"macro": "abb_irb120_support/urdf/irb120_3_58_macro.xacro"
|
|
},
|
|
"standardJoints": {
|
|
"home": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"approach": [
|
|
0,
|
|
-0.4,
|
|
0.5,
|
|
0,
|
|
0.2,
|
|
0
|
|
],
|
|
"pick": [
|
|
0.2,
|
|
-0.35,
|
|
0.45,
|
|
0.1,
|
|
-0.2,
|
|
0.3
|
|
],
|
|
"place": [
|
|
-0.35,
|
|
-0.25,
|
|
0.35,
|
|
-0.25,
|
|
0.15,
|
|
-0.4
|
|
]
|
|
}
|
|
},
|
|
"git_revision": "working-tree",
|
|
"manifest_hash": "17e18defd5949a2a391afdb2e832413a39e8b71d8f3eaf814ad6b584063b3a41",
|
|
"coverage": {
|
|
"specSections": [
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
8,
|
|
9,
|
|
10,
|
|
11,
|
|
12,
|
|
13,
|
|
14,
|
|
15,
|
|
16,
|
|
17,
|
|
18,
|
|
19,
|
|
20,
|
|
21,
|
|
22,
|
|
23,
|
|
24,
|
|
25
|
|
],
|
|
"coveredSections": [
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
8,
|
|
9,
|
|
10,
|
|
11,
|
|
12,
|
|
13,
|
|
14,
|
|
15,
|
|
16,
|
|
17,
|
|
18,
|
|
19,
|
|
20,
|
|
21,
|
|
22,
|
|
23,
|
|
24,
|
|
25
|
|
],
|
|
"missingSections": [],
|
|
"runtimePrograms": 11,
|
|
"staticPrograms": 4,
|
|
"postPrograms": 3
|
|
},
|
|
"programs": [
|
|
{
|
|
"program_id": "W2_00_MinimalModule",
|
|
"file": "runtime/W2_00_MinimalModule.grl",
|
|
"coverage_level": "Runtime",
|
|
"expected_status": "pass",
|
|
"status": "pass",
|
|
"input_hash": "4eae9a20aaf3becd68f0577a1a98c52ff25ec9dfdea700919e9920bd94945f59",
|
|
"spec_sections": [
|
|
4,
|
|
5,
|
|
6,
|
|
9,
|
|
10,
|
|
23
|
|
],
|
|
"diagnostics": [],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_00_MinimalModule/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_00_MinimalModule/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_00_MinimalModule/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_00_MinimalModule/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_00_MinimalModule/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_00_MinimalModule/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_00_MinimalModule/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_00_MinimalModule/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": true,
|
|
"moduleName": "W2MinimalModule",
|
|
"astKind": "Program",
|
|
"semanticChecks": [
|
|
"language/module/proc",
|
|
"const/var/persistent symbols",
|
|
"tool/frame/speed/zone",
|
|
"joint_target/pose_target",
|
|
"movej/movel/movec",
|
|
"path/point/event/run_path",
|
|
"operation/run_operation",
|
|
"io/wait/pulse",
|
|
"if/elseif/else/while/for/switch",
|
|
"call/return/break/continue",
|
|
"proc parameter directions",
|
|
"func returns and side effects",
|
|
"alarm/raise/try/catch",
|
|
"source map propagation",
|
|
"KDL motion request bridge",
|
|
"KDL path request bridge",
|
|
"duplicate symbol diagnostics",
|
|
"missing reference diagnostics",
|
|
"P1 unsupported diagnostics",
|
|
"operation action expansion",
|
|
"path event expansion",
|
|
"raw statement preservation"
|
|
],
|
|
"sourceMapEntries": 1,
|
|
"kdlMotionRequests": 1,
|
|
"kdlPathRequests": 0,
|
|
"symbolCount": 4,
|
|
"procedureCount": 1,
|
|
"pathCount": 0,
|
|
"operationCount": 0
|
|
},
|
|
"controller": {
|
|
"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": "completed",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "hold",
|
|
"before": "paused",
|
|
"after": "hold",
|
|
"result": "ok",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "resume",
|
|
"before": "hold",
|
|
"after": "stopped",
|
|
"result": "completed",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "stepMotion",
|
|
"before": "stopped",
|
|
"after": "stopped",
|
|
"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": 1,
|
|
"callStack": [
|
|
{
|
|
"procedure": "main",
|
|
"pc": 1
|
|
}
|
|
],
|
|
"scopeStack": [
|
|
{
|
|
"id": "global",
|
|
"variables": {}
|
|
},
|
|
{
|
|
"id": "main",
|
|
"variables": {}
|
|
}
|
|
],
|
|
"alarmQueue": [],
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2MinimalModule",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:7:5",
|
|
"sourceMap": {
|
|
"line": 7,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2MinimalModule"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:7:5",
|
|
"sourceMap": {
|
|
"line": 7,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:7:5",
|
|
"sourceMap": {
|
|
"line": 7,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 4
|
|
}
|
|
],
|
|
"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.4
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"sourceMap": {
|
|
"line": 7,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 7,
|
|
"column": 5
|
|
}
|
|
},
|
|
"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.4
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"sourceMap": {
|
|
"line": 7,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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_00_MinimalModule-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": []
|
|
}
|
|
}
|
|
},
|
|
"motionQueue": {
|
|
"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.4
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"sourceMap": {
|
|
"line": 7,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 7,
|
|
"column": 5
|
|
}
|
|
},
|
|
"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.4
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"sourceMap": {
|
|
"line": 7,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": "queued"
|
|
}
|
|
],
|
|
"activeIndex": 0,
|
|
"virtualTime": 0.1
|
|
},
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2MinimalModule",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:7:5",
|
|
"sourceMap": {
|
|
"line": 7,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2MinimalModule"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:7:5",
|
|
"sourceMap": {
|
|
"line": 7,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:7:5",
|
|
"sourceMap": {
|
|
"line": 7,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 4
|
|
}
|
|
],
|
|
"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_00_MinimalModule-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
|
|
}
|
|
]
|
|
},
|
|
"trajectory": {
|
|
"sampleCount": 4,
|
|
"duration": 0.24,
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"endJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"diagnostics": []
|
|
},
|
|
"post": {
|
|
"filenames": [
|
|
"W2MinimalModule.mod",
|
|
"W2MinimalModule.ls",
|
|
"W2MinimalModule.src"
|
|
],
|
|
"report": []
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_10_DataTargetToolFrame",
|
|
"file": "runtime/W2_10_DataTargetToolFrame.grl",
|
|
"coverage_level": "Runtime",
|
|
"expected_status": "pass",
|
|
"status": "pass",
|
|
"input_hash": "6e7480a7195f219554aa1463e3fe832830d9af027a0c3748a740ff48936d1e3d",
|
|
"spec_sections": [
|
|
6,
|
|
8,
|
|
9
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement set_tool preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 37,
|
|
"column": 5
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement gripper preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 37,
|
|
"column": 14
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement set_frame preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 38,
|
|
"column": 5
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement fixture preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 38,
|
|
"column": 15
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement set_speed preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 39,
|
|
"column": 5
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement vl preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 39,
|
|
"column": 15
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement set_zone preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 40,
|
|
"column": 5
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement z5 preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 40,
|
|
"column": 14
|
|
}
|
|
}
|
|
],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_10_DataTargetToolFrame/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_10_DataTargetToolFrame/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_10_DataTargetToolFrame/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_10_DataTargetToolFrame/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_10_DataTargetToolFrame/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_10_DataTargetToolFrame/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_10_DataTargetToolFrame/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_10_DataTargetToolFrame/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": true,
|
|
"moduleName": "W2DataTargetToolFrame",
|
|
"astKind": "Program",
|
|
"semanticChecks": [
|
|
"language/module/proc",
|
|
"const/var/persistent symbols",
|
|
"tool/frame/speed/zone",
|
|
"joint_target/pose_target",
|
|
"movej/movel/movec",
|
|
"path/point/event/run_path",
|
|
"operation/run_operation",
|
|
"io/wait/pulse",
|
|
"if/elseif/else/while/for/switch",
|
|
"call/return/break/continue",
|
|
"proc parameter directions",
|
|
"func returns and side effects",
|
|
"alarm/raise/try/catch",
|
|
"source map propagation",
|
|
"KDL motion request bridge",
|
|
"KDL path request bridge",
|
|
"duplicate symbol diagnostics",
|
|
"missing reference diagnostics",
|
|
"P1 unsupported diagnostics",
|
|
"operation action expansion",
|
|
"path event expansion",
|
|
"raw statement preservation"
|
|
],
|
|
"sourceMapEntries": 3,
|
|
"kdlMotionRequests": 3,
|
|
"kdlPathRequests": 0,
|
|
"symbolCount": 19,
|
|
"procedureCount": 1,
|
|
"pathCount": 0,
|
|
"operationCount": 0
|
|
},
|
|
"controller": {
|
|
"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": "stopped",
|
|
"result": "completed",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "stepMotion",
|
|
"before": "stopped",
|
|
"after": "stopped",
|
|
"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": 3,
|
|
"callStack": [
|
|
{
|
|
"procedure": "main",
|
|
"pc": 3
|
|
}
|
|
],
|
|
"scopeStack": [
|
|
{
|
|
"id": "global",
|
|
"variables": {}
|
|
},
|
|
{
|
|
"id": "main",
|
|
"variables": {}
|
|
}
|
|
],
|
|
"alarmQueue": [],
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2DataTargetToolFrame",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:41:5",
|
|
"sourceMap": {
|
|
"line": 41,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2DataTargetToolFrame"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:41:5",
|
|
"sourceMap": {
|
|
"line": 41,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:41:5",
|
|
"sourceMap": {
|
|
"line": 41,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:42:5",
|
|
"sourceMap": {
|
|
"line": 42,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 4
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:42:5",
|
|
"sourceMap": {
|
|
"line": 42,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 5
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:42:5",
|
|
"sourceMap": {
|
|
"line": 42,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 6
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "MOVEL",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:43:5",
|
|
"sourceMap": {
|
|
"line": 43,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 7
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 3,
|
|
"instructionKind": "MOVEL",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:43:5",
|
|
"sourceMap": {
|
|
"line": 43,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 8
|
|
}
|
|
],
|
|
"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.4
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.1
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 41,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 41,
|
|
"column": 5
|
|
}
|
|
},
|
|
"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.4
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.1
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 41,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": "queued"
|
|
},
|
|
{
|
|
"id": "mq_2",
|
|
"kind": "motion",
|
|
"source": {
|
|
"kind": "instruction",
|
|
"instruction": {
|
|
"kind": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0,
|
|
-0.4000000033993267,
|
|
0.5000000042491584,
|
|
0,
|
|
0.20000000169966334,
|
|
0
|
|
],
|
|
"id": "approach"
|
|
},
|
|
"speed": {
|
|
"kind": "joint_percent",
|
|
"value": 0.4
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.005
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.1
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 42,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 42,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": [
|
|
{
|
|
"id": "motion_2",
|
|
"motion": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0,
|
|
-0.4000000033993267,
|
|
0.5000000042491584,
|
|
0,
|
|
0.20000000169966334,
|
|
0
|
|
],
|
|
"id": "approach"
|
|
},
|
|
"speed": {
|
|
"kind": "joint_percent",
|
|
"value": 0.4
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.005
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.1
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 42,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": "queued"
|
|
},
|
|
{
|
|
"id": "mq_3",
|
|
"kind": "motion",
|
|
"source": {
|
|
"kind": "instruction",
|
|
"instruction": {
|
|
"kind": "MOVEL",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.5,
|
|
0.03,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "pick_q"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.12
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.005
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.1
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 43,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 43,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": [
|
|
{
|
|
"id": "motion_3",
|
|
"motion": "MOVEL",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.5,
|
|
0.03,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "pick_q"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.12
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.005
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.1
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 43,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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_10_DataTargetToolFrame-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": []
|
|
}
|
|
}
|
|
},
|
|
"motionQueue": {
|
|
"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.4
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.1
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 41,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 41,
|
|
"column": 5
|
|
}
|
|
},
|
|
"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.4
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.1
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 41,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": "queued"
|
|
},
|
|
{
|
|
"id": "mq_2",
|
|
"kind": "motion",
|
|
"source": {
|
|
"kind": "instruction",
|
|
"instruction": {
|
|
"kind": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0,
|
|
-0.4000000033993267,
|
|
0.5000000042491584,
|
|
0,
|
|
0.20000000169966334,
|
|
0
|
|
],
|
|
"id": "approach"
|
|
},
|
|
"speed": {
|
|
"kind": "joint_percent",
|
|
"value": 0.4
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.005
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.1
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 42,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 42,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": [
|
|
{
|
|
"id": "motion_2",
|
|
"motion": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0,
|
|
-0.4000000033993267,
|
|
0.5000000042491584,
|
|
0,
|
|
0.20000000169966334,
|
|
0
|
|
],
|
|
"id": "approach"
|
|
},
|
|
"speed": {
|
|
"kind": "joint_percent",
|
|
"value": 0.4
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.005
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.1
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 42,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": "queued"
|
|
},
|
|
{
|
|
"id": "mq_3",
|
|
"kind": "motion",
|
|
"source": {
|
|
"kind": "instruction",
|
|
"instruction": {
|
|
"kind": "MOVEL",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.5,
|
|
0.03,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "pick_q"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.12
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.005
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.1
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 43,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 43,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": [
|
|
{
|
|
"id": "motion_3",
|
|
"motion": "MOVEL",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.5,
|
|
0.03,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "pick_q"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.12
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.005
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.1
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 43,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": "queued"
|
|
}
|
|
],
|
|
"activeIndex": 0,
|
|
"virtualTime": 0.1
|
|
},
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2DataTargetToolFrame",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:41:5",
|
|
"sourceMap": {
|
|
"line": 41,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2DataTargetToolFrame"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:41:5",
|
|
"sourceMap": {
|
|
"line": 41,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:41:5",
|
|
"sourceMap": {
|
|
"line": 41,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:42:5",
|
|
"sourceMap": {
|
|
"line": 42,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 4
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:42:5",
|
|
"sourceMap": {
|
|
"line": 42,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 5
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:42:5",
|
|
"sourceMap": {
|
|
"line": 42,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 6
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "MOVEL",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:43:5",
|
|
"sourceMap": {
|
|
"line": 43,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 7
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 3,
|
|
"instructionKind": "MOVEL",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:43:5",
|
|
"sourceMap": {
|
|
"line": 43,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 8
|
|
}
|
|
],
|
|
"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_10_DataTargetToolFrame-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
|
|
}
|
|
]
|
|
},
|
|
"trajectory": {
|
|
"sampleCount": 12,
|
|
"duration": 0.72,
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"endJoints": [
|
|
0.5,
|
|
0.03,
|
|
-0.5,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"diagnostics": []
|
|
},
|
|
"post": {
|
|
"filenames": [
|
|
"W2DataTargetToolFrame.mod",
|
|
"W2DataTargetToolFrame.ls",
|
|
"W2DataTargetToolFrame.src"
|
|
],
|
|
"report": []
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_20_ExpressionMath",
|
|
"file": "runtime/W2_20_ExpressionMath.grl",
|
|
"coverage_level": "Runtime",
|
|
"expected_status": "pass",
|
|
"status": "pass",
|
|
"input_hash": "2e1afb8beaa60b2666056b1d6594a58da50a006c761e76ef131c9cfdd40c29b3",
|
|
"spec_sections": [
|
|
7,
|
|
9,
|
|
13
|
|
],
|
|
"diagnostics": [],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_20_ExpressionMath/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_20_ExpressionMath/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_20_ExpressionMath/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_20_ExpressionMath/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_20_ExpressionMath/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_20_ExpressionMath/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_20_ExpressionMath/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_20_ExpressionMath/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": true,
|
|
"moduleName": "W2ExpressionMath",
|
|
"astKind": "Program",
|
|
"semanticChecks": [
|
|
"language/module/proc",
|
|
"const/var/persistent symbols",
|
|
"tool/frame/speed/zone",
|
|
"joint_target/pose_target",
|
|
"movej/movel/movec",
|
|
"path/point/event/run_path",
|
|
"operation/run_operation",
|
|
"io/wait/pulse",
|
|
"if/elseif/else/while/for/switch",
|
|
"call/return/break/continue",
|
|
"proc parameter directions",
|
|
"func returns and side effects",
|
|
"alarm/raise/try/catch",
|
|
"source map propagation",
|
|
"KDL motion request bridge",
|
|
"KDL path request bridge",
|
|
"duplicate symbol diagnostics",
|
|
"missing reference diagnostics",
|
|
"P1 unsupported diagnostics",
|
|
"operation action expansion",
|
|
"path event expansion",
|
|
"raw statement preservation"
|
|
],
|
|
"sourceMapEntries": 3,
|
|
"kdlMotionRequests": 2,
|
|
"kdlPathRequests": 0,
|
|
"symbolCount": 9,
|
|
"procedureCount": 1,
|
|
"pathCount": 0,
|
|
"operationCount": 0
|
|
},
|
|
"controller": {
|
|
"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": "stopped",
|
|
"result": "completed",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "stepMotion",
|
|
"before": "stopped",
|
|
"after": "stopped",
|
|
"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": 3,
|
|
"callStack": [
|
|
{
|
|
"procedure": "main",
|
|
"pc": 3
|
|
}
|
|
],
|
|
"scopeStack": [
|
|
{
|
|
"id": "global",
|
|
"variables": {
|
|
"$wait:main:2": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "main",
|
|
"variables": {}
|
|
}
|
|
],
|
|
"alarmQueue": [],
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2ExpressionMath",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:16:5",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2ExpressionMath"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:16:5",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:16:5",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 4
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "MOVEL",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 5
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "MOVEL",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 6
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "satisfied",
|
|
"elapsed": 0
|
|
},
|
|
"id": 7
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 3,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 8
|
|
}
|
|
],
|
|
"completed": true
|
|
},
|
|
"motion": {
|
|
"items": [
|
|
{
|
|
"id": "mq_1",
|
|
"kind": "motion",
|
|
"source": {
|
|
"kind": "instruction",
|
|
"instruction": {
|
|
"kind": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0,
|
|
0.2617993877991494,
|
|
-0.5235987755982988,
|
|
0,
|
|
0.2617993877991494,
|
|
0.05235987755982989
|
|
],
|
|
"id": "home"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.1
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": [
|
|
{
|
|
"id": "motion_1",
|
|
"motion": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0,
|
|
0.2617993877991494,
|
|
-0.5235987755982988,
|
|
0,
|
|
0.2617993877991494,
|
|
0.05235987755982989
|
|
],
|
|
"id": "home"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.1
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": "queued"
|
|
},
|
|
{
|
|
"id": "mq_2",
|
|
"kind": "motion",
|
|
"source": {
|
|
"kind": "instruction",
|
|
"instruction": {
|
|
"kind": "MOVEL",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.45,
|
|
0.04,
|
|
0.3
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0.3826834323650897,
|
|
0.9238795325112867
|
|
]
|
|
},
|
|
"id": "pick"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.15000000000000002
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": [
|
|
{
|
|
"id": "motion_2",
|
|
"motion": "MOVEL",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.45,
|
|
0.04,
|
|
0.3
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0.3826834323650897,
|
|
0.9238795325112867
|
|
]
|
|
},
|
|
"id": "pick"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.15000000000000002
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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_20_ExpressionMath-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": []
|
|
}
|
|
}
|
|
},
|
|
"motionQueue": {
|
|
"items": [
|
|
{
|
|
"id": "mq_1",
|
|
"kind": "motion",
|
|
"source": {
|
|
"kind": "instruction",
|
|
"instruction": {
|
|
"kind": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0,
|
|
0.2617993877991494,
|
|
-0.5235987755982988,
|
|
0,
|
|
0.2617993877991494,
|
|
0.05235987755982989
|
|
],
|
|
"id": "home"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.1
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": [
|
|
{
|
|
"id": "motion_1",
|
|
"motion": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0,
|
|
0.2617993877991494,
|
|
-0.5235987755982988,
|
|
0,
|
|
0.2617993877991494,
|
|
0.05235987755982989
|
|
],
|
|
"id": "home"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.1
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": "queued"
|
|
},
|
|
{
|
|
"id": "mq_2",
|
|
"kind": "motion",
|
|
"source": {
|
|
"kind": "instruction",
|
|
"instruction": {
|
|
"kind": "MOVEL",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.45,
|
|
0.04,
|
|
0.3
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0.3826834323650897,
|
|
0.9238795325112867
|
|
]
|
|
},
|
|
"id": "pick"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.15000000000000002
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": [
|
|
{
|
|
"id": "motion_2",
|
|
"motion": "MOVEL",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.45,
|
|
0.04,
|
|
0.3
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0.3826834323650897,
|
|
0.9238795325112867
|
|
]
|
|
},
|
|
"id": "pick"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.15000000000000002
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": "queued"
|
|
}
|
|
],
|
|
"activeIndex": 0,
|
|
"virtualTime": 0.1
|
|
},
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2ExpressionMath",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:16:5",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2ExpressionMath"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:16:5",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:16:5",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 4
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "MOVEL",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 5
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "MOVEL",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 6
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "satisfied",
|
|
"elapsed": 0
|
|
},
|
|
"id": 7
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 3,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 8
|
|
}
|
|
],
|
|
"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_20_ExpressionMath-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
|
|
}
|
|
]
|
|
},
|
|
"trajectory": {
|
|
"sampleCount": 8,
|
|
"duration": 0.48,
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"endJoints": [
|
|
0.45,
|
|
0.04,
|
|
-0.2,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"diagnostics": []
|
|
},
|
|
"post": {
|
|
"filenames": [
|
|
"W2ExpressionMath.mod",
|
|
"W2ExpressionMath.ls",
|
|
"W2ExpressionMath.src"
|
|
],
|
|
"report": []
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_30_MotionAllTypes",
|
|
"file": "runtime/W2_30_MotionAllTypes.grl",
|
|
"coverage_level": "Runtime",
|
|
"expected_status": "pass",
|
|
"status": "pass",
|
|
"input_hash": "f851346e7e008aa85718895b6ba97010f3071027f6c3cd920dc5920c7cd6020c",
|
|
"spec_sections": [
|
|
8,
|
|
9,
|
|
10
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement set_tool preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 13,
|
|
"column": 5
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement gripper preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 13,
|
|
"column": 14
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement set_frame preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 14,
|
|
"column": 5
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement fixture preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 14,
|
|
"column": 15
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement set_speed preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 15,
|
|
"column": 5
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement vl preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 15,
|
|
"column": 15
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement set_zone preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement z10 preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 14
|
|
}
|
|
}
|
|
],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_30_MotionAllTypes/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_30_MotionAllTypes/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_30_MotionAllTypes/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_30_MotionAllTypes/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_30_MotionAllTypes/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_30_MotionAllTypes/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_30_MotionAllTypes/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_30_MotionAllTypes/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": true,
|
|
"moduleName": "W2MotionAllTypes",
|
|
"astKind": "Program",
|
|
"semanticChecks": [
|
|
"language/module/proc",
|
|
"const/var/persistent symbols",
|
|
"tool/frame/speed/zone",
|
|
"joint_target/pose_target",
|
|
"movej/movel/movec",
|
|
"path/point/event/run_path",
|
|
"operation/run_operation",
|
|
"io/wait/pulse",
|
|
"if/elseif/else/while/for/switch",
|
|
"call/return/break/continue",
|
|
"proc parameter directions",
|
|
"func returns and side effects",
|
|
"alarm/raise/try/catch",
|
|
"source map propagation",
|
|
"KDL motion request bridge",
|
|
"KDL path request bridge",
|
|
"duplicate symbol diagnostics",
|
|
"missing reference diagnostics",
|
|
"P1 unsupported diagnostics",
|
|
"operation action expansion",
|
|
"path event expansion",
|
|
"raw statement preservation"
|
|
],
|
|
"sourceMapEntries": 3,
|
|
"kdlMotionRequests": 3,
|
|
"kdlPathRequests": 0,
|
|
"symbolCount": 10,
|
|
"procedureCount": 1,
|
|
"pathCount": 0,
|
|
"operationCount": 0
|
|
},
|
|
"controller": {
|
|
"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": "stopped",
|
|
"result": "completed",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "stepMotion",
|
|
"before": "stopped",
|
|
"after": "stopped",
|
|
"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": 3,
|
|
"callStack": [
|
|
{
|
|
"procedure": "main",
|
|
"pc": 3
|
|
}
|
|
],
|
|
"scopeStack": [
|
|
{
|
|
"id": "global",
|
|
"variables": {}
|
|
},
|
|
{
|
|
"id": "main",
|
|
"variables": {}
|
|
}
|
|
],
|
|
"alarmQueue": [],
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2MotionAllTypes",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2MotionAllTypes"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 4
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "MOVEL",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 5
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "MOVEL",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 6
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "MOVEC",
|
|
"source": {
|
|
"kind": "MOVEC",
|
|
"id": "main:MOVEC:19:5",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 7
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 3,
|
|
"instructionKind": "MOVEC",
|
|
"source": {
|
|
"kind": "MOVEC",
|
|
"id": "main:MOVEC:19:5",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 8
|
|
}
|
|
],
|
|
"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.45
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.08
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
}
|
|
},
|
|
"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.45
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.08
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": "queued"
|
|
},
|
|
{
|
|
"id": "mq_2",
|
|
"kind": "motion",
|
|
"source": {
|
|
"kind": "instruction",
|
|
"instruction": {
|
|
"kind": "MOVEL",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.5,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "start"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.15
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.08
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": [
|
|
{
|
|
"id": "motion_2",
|
|
"motion": "MOVEL",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.5,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "start"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.15
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.08
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": "queued"
|
|
},
|
|
{
|
|
"id": "mq_3",
|
|
"kind": "motion",
|
|
"source": {
|
|
"kind": "instruction",
|
|
"instruction": {
|
|
"kind": "MOVEC",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.6,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "finish"
|
|
},
|
|
"via": {
|
|
"pose": {
|
|
"position": [
|
|
0.55,
|
|
0.05,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "mid"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.1
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.08
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": [
|
|
{
|
|
"id": "motion_3",
|
|
"motion": "MOVEC",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.6,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "finish"
|
|
},
|
|
"via": {
|
|
"pose": {
|
|
"position": [
|
|
0.55,
|
|
0.05,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "mid"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.1
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.08
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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_30_MotionAllTypes-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": []
|
|
}
|
|
}
|
|
},
|
|
"motionQueue": {
|
|
"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.45
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.08
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
}
|
|
},
|
|
"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.45
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.08
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": "queued"
|
|
},
|
|
{
|
|
"id": "mq_2",
|
|
"kind": "motion",
|
|
"source": {
|
|
"kind": "instruction",
|
|
"instruction": {
|
|
"kind": "MOVEL",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.5,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "start"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.15
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.08
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": [
|
|
{
|
|
"id": "motion_2",
|
|
"motion": "MOVEL",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.5,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "start"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.15
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.08
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": "queued"
|
|
},
|
|
{
|
|
"id": "mq_3",
|
|
"kind": "motion",
|
|
"source": {
|
|
"kind": "instruction",
|
|
"instruction": {
|
|
"kind": "MOVEC",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.6,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "finish"
|
|
},
|
|
"via": {
|
|
"pose": {
|
|
"position": [
|
|
0.55,
|
|
0.05,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "mid"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.1
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.08
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": [
|
|
{
|
|
"id": "motion_3",
|
|
"motion": "MOVEC",
|
|
"target": {
|
|
"pose": {
|
|
"position": [
|
|
0.6,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "finish"
|
|
},
|
|
"via": {
|
|
"pose": {
|
|
"position": [
|
|
0.55,
|
|
0.05,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"tool": {
|
|
"id": "gripper"
|
|
},
|
|
"frame": {
|
|
"id": "fixture"
|
|
},
|
|
"id": "mid"
|
|
},
|
|
"speed": {
|
|
"kind": "linear",
|
|
"velocity": 0.1
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"tool": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0.08
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"frame": {
|
|
"position": [
|
|
0.8,
|
|
0,
|
|
0
|
|
],
|
|
"quaternion": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": "queued"
|
|
}
|
|
],
|
|
"activeIndex": 0,
|
|
"virtualTime": 0.1
|
|
},
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2MotionAllTypes",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2MotionAllTypes"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "MOVEJ",
|
|
"source": {
|
|
"kind": "MOVEJ",
|
|
"id": "main:MOVEJ:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 4
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "MOVEL",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 5
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "MOVEL",
|
|
"source": {
|
|
"kind": "MOVEL",
|
|
"id": "main:MOVEL:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 6
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "MOVEC",
|
|
"source": {
|
|
"kind": "MOVEC",
|
|
"id": "main:MOVEC:19:5",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 7
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 3,
|
|
"instructionKind": "MOVEC",
|
|
"source": {
|
|
"kind": "MOVEC",
|
|
"id": "main:MOVEC:19:5",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 8
|
|
}
|
|
],
|
|
"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_30_MotionAllTypes-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
|
|
}
|
|
]
|
|
},
|
|
"trajectory": {
|
|
"sampleCount": 12,
|
|
"duration": 0.72,
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"endJoints": [
|
|
0.6,
|
|
0,
|
|
-0.5,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"diagnostics": []
|
|
},
|
|
"post": {
|
|
"filenames": [
|
|
"W2MotionAllTypes.mod",
|
|
"W2MotionAllTypes.ls",
|
|
"W2MotionAllTypes.src"
|
|
],
|
|
"report": []
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_40_PathEvents",
|
|
"file": "runtime/W2_40_PathEvents.grl",
|
|
"coverage_level": "Runtime",
|
|
"expected_status": "pass",
|
|
"status": "pass",
|
|
"input_hash": "86770c6d548271a2ae9f332b6bd4b84e52b513d41647df37f62b7e49a4b11942",
|
|
"spec_sections": [
|
|
11,
|
|
13,
|
|
19
|
|
],
|
|
"diagnostics": [],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_40_PathEvents/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_40_PathEvents/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_40_PathEvents/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_40_PathEvents/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_40_PathEvents/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_40_PathEvents/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_40_PathEvents/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_40_PathEvents/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": true,
|
|
"moduleName": "W2PathEvents",
|
|
"astKind": "Program",
|
|
"semanticChecks": [
|
|
"language/module/proc",
|
|
"const/var/persistent symbols",
|
|
"tool/frame/speed/zone",
|
|
"joint_target/pose_target",
|
|
"movej/movel/movec",
|
|
"path/point/event/run_path",
|
|
"operation/run_operation",
|
|
"io/wait/pulse",
|
|
"if/elseif/else/while/for/switch",
|
|
"call/return/break/continue",
|
|
"proc parameter directions",
|
|
"func returns and side effects",
|
|
"alarm/raise/try/catch",
|
|
"source map propagation",
|
|
"KDL motion request bridge",
|
|
"KDL path request bridge",
|
|
"duplicate symbol diagnostics",
|
|
"missing reference diagnostics",
|
|
"P1 unsupported diagnostics",
|
|
"operation action expansion",
|
|
"path event expansion",
|
|
"raw statement preservation"
|
|
],
|
|
"sourceMapEntries": 7,
|
|
"kdlMotionRequests": 0,
|
|
"kdlPathRequests": 1,
|
|
"symbolCount": 8,
|
|
"procedureCount": 1,
|
|
"pathCount": 1,
|
|
"operationCount": 0
|
|
},
|
|
"controller": {
|
|
"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": "completed",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "hold",
|
|
"before": "paused",
|
|
"after": "hold",
|
|
"result": "ok",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "resume",
|
|
"before": "hold",
|
|
"after": "stopped",
|
|
"result": "completed",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "stepMotion",
|
|
"before": "stopped",
|
|
"after": "stopped",
|
|
"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": 1,
|
|
"callStack": [
|
|
{
|
|
"procedure": "main",
|
|
"pc": 1
|
|
}
|
|
],
|
|
"scopeStack": [
|
|
{
|
|
"id": "global",
|
|
"variables": {}
|
|
},
|
|
{
|
|
"id": "main",
|
|
"variables": {}
|
|
}
|
|
],
|
|
"alarmQueue": [],
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2PathEvents",
|
|
"source": {
|
|
"kind": "RUN_PATH",
|
|
"id": "main:RUN_PATH:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2PathEvents"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "RUN_PATH",
|
|
"source": {
|
|
"kind": "RUN_PATH",
|
|
"id": "main:RUN_PATH:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "RUN_PATH",
|
|
"source": {
|
|
"kind": "RUN_PATH",
|
|
"id": "main:RUN_PATH:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 4
|
|
}
|
|
],
|
|
"completed": true
|
|
},
|
|
"motion": {
|
|
"items": [
|
|
{
|
|
"id": "mq_1",
|
|
"kind": "path",
|
|
"source": {
|
|
"kind": "path",
|
|
"pathId": "generated_path",
|
|
"instruction": {
|
|
"kind": "RUN_PATH",
|
|
"pathId": "generated_path",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"pathId": "generated_path",
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"segments": [
|
|
{
|
|
"id": "p_home",
|
|
"motion": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"id": "home"
|
|
},
|
|
"targetId": "home",
|
|
"speed": {
|
|
"kind": "joint_percent",
|
|
"value": 0.35000000000000003
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 18
|
|
},
|
|
"source": {
|
|
"type": "cad_curve",
|
|
"id": "edge_032",
|
|
"sample_distance": 0.005
|
|
}
|
|
},
|
|
{
|
|
"id": "p_pick",
|
|
"motion": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0.20000000169966334,
|
|
-0.3500000029744108,
|
|
0.4500000038242425,
|
|
0.10000000084983167,
|
|
-0.20000000169966334,
|
|
0.300000002549495
|
|
],
|
|
"id": "pick"
|
|
},
|
|
"targetId": "pick",
|
|
"speed": {
|
|
"kind": "joint_percent",
|
|
"value": 0.35000000000000003
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 18
|
|
},
|
|
"source": {
|
|
"type": "cad_curve",
|
|
"id": "edge_032",
|
|
"sample_distance": 0.005
|
|
}
|
|
},
|
|
{
|
|
"id": "p_place",
|
|
"motion": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
-0.3500000029744108,
|
|
-0.2500000021245792,
|
|
0.3500000029744108,
|
|
-0.2500000021245792,
|
|
0.1500000012747475,
|
|
-0.4000000033993267
|
|
],
|
|
"id": "place"
|
|
},
|
|
"targetId": "place",
|
|
"speed": {
|
|
"kind": "joint_percent",
|
|
"value": 0.35000000000000003
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"sourceMap": {
|
|
"line": 20,
|
|
"column": 19
|
|
},
|
|
"source": {
|
|
"type": "cad_curve",
|
|
"id": "edge_032",
|
|
"sample_distance": 0.005
|
|
}
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"id": "event_0",
|
|
"timing": "before",
|
|
"pointId": "p_pick",
|
|
"kind": "io",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 25
|
|
},
|
|
"data": {
|
|
"statement": "io . do [ 10 ] = true",
|
|
"tokens": [
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "io",
|
|
"value": "io",
|
|
"range": {
|
|
"start": {
|
|
"offset": 703,
|
|
"line": 17,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"offset": 705,
|
|
"line": 17,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": ".",
|
|
"value": ".",
|
|
"range": {
|
|
"start": {
|
|
"offset": 705,
|
|
"line": 17,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"offset": 706,
|
|
"line": 17,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "do",
|
|
"value": "do",
|
|
"range": {
|
|
"start": {
|
|
"offset": 706,
|
|
"line": 17,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"offset": 708,
|
|
"line": 17,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "[",
|
|
"value": "[",
|
|
"range": {
|
|
"start": {
|
|
"offset": 708,
|
|
"line": 17,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"offset": 709,
|
|
"line": 17,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "10",
|
|
"value": 10,
|
|
"range": {
|
|
"start": {
|
|
"offset": 709,
|
|
"line": 17,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"offset": 711,
|
|
"line": 17,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "]",
|
|
"value": "]",
|
|
"range": {
|
|
"start": {
|
|
"offset": 711,
|
|
"line": 17,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"offset": 712,
|
|
"line": 17,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "operator",
|
|
"raw": "=",
|
|
"value": "=",
|
|
"range": {
|
|
"start": {
|
|
"offset": 713,
|
|
"line": 17,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"offset": 714,
|
|
"line": 17,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "true",
|
|
"value": "true",
|
|
"range": {
|
|
"start": {
|
|
"offset": 715,
|
|
"line": 17,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"offset": 719,
|
|
"line": 17,
|
|
"column": 41
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "event_1",
|
|
"timing": "after",
|
|
"pointId": "p_pick",
|
|
"kind": "wait",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 24
|
|
},
|
|
"data": {
|
|
"statement": "wait io . di [ 10 ] == true timeout 2 s on_timeout alarm \"pick sensor timeout\"",
|
|
"tokens": [
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "wait",
|
|
"value": "wait",
|
|
"range": {
|
|
"start": {
|
|
"offset": 780,
|
|
"line": 19,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"offset": 784,
|
|
"line": 19,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "io",
|
|
"value": "io",
|
|
"range": {
|
|
"start": {
|
|
"offset": 785,
|
|
"line": 19,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"offset": 787,
|
|
"line": 19,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": ".",
|
|
"value": ".",
|
|
"range": {
|
|
"start": {
|
|
"offset": 787,
|
|
"line": 19,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"offset": 788,
|
|
"line": 19,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "di",
|
|
"value": "di",
|
|
"range": {
|
|
"start": {
|
|
"offset": 788,
|
|
"line": 19,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"offset": 790,
|
|
"line": 19,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "[",
|
|
"value": "[",
|
|
"range": {
|
|
"start": {
|
|
"offset": 790,
|
|
"line": 19,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"offset": 791,
|
|
"line": 19,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "10",
|
|
"value": 10,
|
|
"range": {
|
|
"start": {
|
|
"offset": 791,
|
|
"line": 19,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"offset": 793,
|
|
"line": 19,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "]",
|
|
"value": "]",
|
|
"range": {
|
|
"start": {
|
|
"offset": 793,
|
|
"line": 19,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"offset": 794,
|
|
"line": 19,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "operator",
|
|
"raw": "==",
|
|
"value": "==",
|
|
"range": {
|
|
"start": {
|
|
"offset": 795,
|
|
"line": 19,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"offset": 797,
|
|
"line": 19,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "true",
|
|
"value": "true",
|
|
"range": {
|
|
"start": {
|
|
"offset": 798,
|
|
"line": 19,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"offset": 802,
|
|
"line": 19,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "timeout",
|
|
"value": "timeout",
|
|
"range": {
|
|
"start": {
|
|
"offset": 803,
|
|
"line": 19,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"offset": 810,
|
|
"line": 19,
|
|
"column": 54
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "2 s",
|
|
"value": 2,
|
|
"range": {
|
|
"start": {
|
|
"offset": 811,
|
|
"line": 19,
|
|
"column": 55
|
|
},
|
|
"end": {
|
|
"offset": 814,
|
|
"line": 19,
|
|
"column": 58
|
|
}
|
|
},
|
|
"unit": {
|
|
"raw": "s",
|
|
"kind": "time",
|
|
"siUnit": "s",
|
|
"normalizedValue": 2
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "on_timeout",
|
|
"value": "on_timeout",
|
|
"range": {
|
|
"start": {
|
|
"offset": 815,
|
|
"line": 19,
|
|
"column": 59
|
|
},
|
|
"end": {
|
|
"offset": 825,
|
|
"line": 19,
|
|
"column": 69
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "alarm",
|
|
"value": "alarm",
|
|
"range": {
|
|
"start": {
|
|
"offset": 826,
|
|
"line": 19,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"offset": 831,
|
|
"line": 19,
|
|
"column": 75
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "string",
|
|
"raw": "\"pick sensor timeout\"",
|
|
"value": "pick sensor timeout",
|
|
"range": {
|
|
"start": {
|
|
"offset": 832,
|
|
"line": 19,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"offset": 853,
|
|
"line": 19,
|
|
"column": 97
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "event_2",
|
|
"timing": "at",
|
|
"pointId": "p_place",
|
|
"distance": 0.01,
|
|
"kind": "pulse",
|
|
"sourceMap": {
|
|
"line": 21,
|
|
"column": 37
|
|
},
|
|
"data": {
|
|
"statement": "pulse io . do [ 11 ] duration 100 ms",
|
|
"tokens": [
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "pulse",
|
|
"value": "pulse",
|
|
"range": {
|
|
"start": {
|
|
"offset": 929,
|
|
"line": 21,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"offset": 934,
|
|
"line": 21,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "io",
|
|
"value": "io",
|
|
"range": {
|
|
"start": {
|
|
"offset": 935,
|
|
"line": 21,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"offset": 937,
|
|
"line": 21,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": ".",
|
|
"value": ".",
|
|
"range": {
|
|
"start": {
|
|
"offset": 937,
|
|
"line": 21,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"offset": 938,
|
|
"line": 21,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "do",
|
|
"value": "do",
|
|
"range": {
|
|
"start": {
|
|
"offset": 938,
|
|
"line": 21,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"offset": 940,
|
|
"line": 21,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "[",
|
|
"value": "[",
|
|
"range": {
|
|
"start": {
|
|
"offset": 940,
|
|
"line": 21,
|
|
"column": 48
|
|
},
|
|
"end": {
|
|
"offset": 941,
|
|
"line": 21,
|
|
"column": 49
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "11",
|
|
"value": 11,
|
|
"range": {
|
|
"start": {
|
|
"offset": 941,
|
|
"line": 21,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"offset": 943,
|
|
"line": 21,
|
|
"column": 51
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "]",
|
|
"value": "]",
|
|
"range": {
|
|
"start": {
|
|
"offset": 943,
|
|
"line": 21,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"offset": 944,
|
|
"line": 21,
|
|
"column": 52
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "duration",
|
|
"value": "duration",
|
|
"range": {
|
|
"start": {
|
|
"offset": 945,
|
|
"line": 21,
|
|
"column": 53
|
|
},
|
|
"end": {
|
|
"offset": 953,
|
|
"line": 21,
|
|
"column": 61
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "100 ms",
|
|
"value": 100,
|
|
"range": {
|
|
"start": {
|
|
"offset": 954,
|
|
"line": 21,
|
|
"column": 62
|
|
},
|
|
"end": {
|
|
"offset": 960,
|
|
"line": 21,
|
|
"column": 68
|
|
}
|
|
},
|
|
"unit": {
|
|
"raw": "ms",
|
|
"kind": "time",
|
|
"siUnit": "s",
|
|
"normalizedValue": 0.1
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sampleTime": 0.02,
|
|
"source": {
|
|
"type": "cad_curve",
|
|
"id": "edge_032",
|
|
"sample_distance": 0.005
|
|
}
|
|
},
|
|
"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_40_PathEvents-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": [
|
|
"generated_path"
|
|
],
|
|
"operationIds": [],
|
|
"diagnostics": []
|
|
}
|
|
}
|
|
},
|
|
"motionQueue": {
|
|
"items": [
|
|
{
|
|
"id": "mq_1",
|
|
"kind": "path",
|
|
"source": {
|
|
"kind": "path",
|
|
"pathId": "generated_path",
|
|
"instruction": {
|
|
"kind": "RUN_PATH",
|
|
"pathId": "generated_path",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"pathId": "generated_path",
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"segments": [
|
|
{
|
|
"id": "p_home",
|
|
"motion": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"id": "home"
|
|
},
|
|
"targetId": "home",
|
|
"speed": {
|
|
"kind": "joint_percent",
|
|
"value": 0.35000000000000003
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 18
|
|
},
|
|
"source": {
|
|
"type": "cad_curve",
|
|
"id": "edge_032",
|
|
"sample_distance": 0.005
|
|
}
|
|
},
|
|
{
|
|
"id": "p_pick",
|
|
"motion": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0.20000000169966334,
|
|
-0.3500000029744108,
|
|
0.4500000038242425,
|
|
0.10000000084983167,
|
|
-0.20000000169966334,
|
|
0.300000002549495
|
|
],
|
|
"id": "pick"
|
|
},
|
|
"targetId": "pick",
|
|
"speed": {
|
|
"kind": "joint_percent",
|
|
"value": 0.35000000000000003
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 18
|
|
},
|
|
"source": {
|
|
"type": "cad_curve",
|
|
"id": "edge_032",
|
|
"sample_distance": 0.005
|
|
}
|
|
},
|
|
{
|
|
"id": "p_place",
|
|
"motion": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
-0.3500000029744108,
|
|
-0.2500000021245792,
|
|
0.3500000029744108,
|
|
-0.2500000021245792,
|
|
0.1500000012747475,
|
|
-0.4000000033993267
|
|
],
|
|
"id": "place"
|
|
},
|
|
"targetId": "place",
|
|
"speed": {
|
|
"kind": "joint_percent",
|
|
"value": 0.35000000000000003
|
|
},
|
|
"zone": {
|
|
"kind": "distance",
|
|
"value": 0.01
|
|
},
|
|
"sourceMap": {
|
|
"line": 20,
|
|
"column": 19
|
|
},
|
|
"source": {
|
|
"type": "cad_curve",
|
|
"id": "edge_032",
|
|
"sample_distance": 0.005
|
|
}
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"id": "event_0",
|
|
"timing": "before",
|
|
"pointId": "p_pick",
|
|
"kind": "io",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 25
|
|
},
|
|
"data": {
|
|
"statement": "io . do [ 10 ] = true",
|
|
"tokens": [
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "io",
|
|
"value": "io",
|
|
"range": {
|
|
"start": {
|
|
"offset": 703,
|
|
"line": 17,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"offset": 705,
|
|
"line": 17,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": ".",
|
|
"value": ".",
|
|
"range": {
|
|
"start": {
|
|
"offset": 705,
|
|
"line": 17,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"offset": 706,
|
|
"line": 17,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "do",
|
|
"value": "do",
|
|
"range": {
|
|
"start": {
|
|
"offset": 706,
|
|
"line": 17,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"offset": 708,
|
|
"line": 17,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "[",
|
|
"value": "[",
|
|
"range": {
|
|
"start": {
|
|
"offset": 708,
|
|
"line": 17,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"offset": 709,
|
|
"line": 17,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "10",
|
|
"value": 10,
|
|
"range": {
|
|
"start": {
|
|
"offset": 709,
|
|
"line": 17,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"offset": 711,
|
|
"line": 17,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "]",
|
|
"value": "]",
|
|
"range": {
|
|
"start": {
|
|
"offset": 711,
|
|
"line": 17,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"offset": 712,
|
|
"line": 17,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "operator",
|
|
"raw": "=",
|
|
"value": "=",
|
|
"range": {
|
|
"start": {
|
|
"offset": 713,
|
|
"line": 17,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"offset": 714,
|
|
"line": 17,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "true",
|
|
"value": "true",
|
|
"range": {
|
|
"start": {
|
|
"offset": 715,
|
|
"line": 17,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"offset": 719,
|
|
"line": 17,
|
|
"column": 41
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "event_1",
|
|
"timing": "after",
|
|
"pointId": "p_pick",
|
|
"kind": "wait",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 24
|
|
},
|
|
"data": {
|
|
"statement": "wait io . di [ 10 ] == true timeout 2 s on_timeout alarm \"pick sensor timeout\"",
|
|
"tokens": [
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "wait",
|
|
"value": "wait",
|
|
"range": {
|
|
"start": {
|
|
"offset": 780,
|
|
"line": 19,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"offset": 784,
|
|
"line": 19,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "io",
|
|
"value": "io",
|
|
"range": {
|
|
"start": {
|
|
"offset": 785,
|
|
"line": 19,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"offset": 787,
|
|
"line": 19,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": ".",
|
|
"value": ".",
|
|
"range": {
|
|
"start": {
|
|
"offset": 787,
|
|
"line": 19,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"offset": 788,
|
|
"line": 19,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "di",
|
|
"value": "di",
|
|
"range": {
|
|
"start": {
|
|
"offset": 788,
|
|
"line": 19,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"offset": 790,
|
|
"line": 19,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "[",
|
|
"value": "[",
|
|
"range": {
|
|
"start": {
|
|
"offset": 790,
|
|
"line": 19,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"offset": 791,
|
|
"line": 19,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "10",
|
|
"value": 10,
|
|
"range": {
|
|
"start": {
|
|
"offset": 791,
|
|
"line": 19,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"offset": 793,
|
|
"line": 19,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "]",
|
|
"value": "]",
|
|
"range": {
|
|
"start": {
|
|
"offset": 793,
|
|
"line": 19,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"offset": 794,
|
|
"line": 19,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "operator",
|
|
"raw": "==",
|
|
"value": "==",
|
|
"range": {
|
|
"start": {
|
|
"offset": 795,
|
|
"line": 19,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"offset": 797,
|
|
"line": 19,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "true",
|
|
"value": "true",
|
|
"range": {
|
|
"start": {
|
|
"offset": 798,
|
|
"line": 19,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"offset": 802,
|
|
"line": 19,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "timeout",
|
|
"value": "timeout",
|
|
"range": {
|
|
"start": {
|
|
"offset": 803,
|
|
"line": 19,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"offset": 810,
|
|
"line": 19,
|
|
"column": 54
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "2 s",
|
|
"value": 2,
|
|
"range": {
|
|
"start": {
|
|
"offset": 811,
|
|
"line": 19,
|
|
"column": 55
|
|
},
|
|
"end": {
|
|
"offset": 814,
|
|
"line": 19,
|
|
"column": 58
|
|
}
|
|
},
|
|
"unit": {
|
|
"raw": "s",
|
|
"kind": "time",
|
|
"siUnit": "s",
|
|
"normalizedValue": 2
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "on_timeout",
|
|
"value": "on_timeout",
|
|
"range": {
|
|
"start": {
|
|
"offset": 815,
|
|
"line": 19,
|
|
"column": 59
|
|
},
|
|
"end": {
|
|
"offset": 825,
|
|
"line": 19,
|
|
"column": 69
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "alarm",
|
|
"value": "alarm",
|
|
"range": {
|
|
"start": {
|
|
"offset": 826,
|
|
"line": 19,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"offset": 831,
|
|
"line": 19,
|
|
"column": 75
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "string",
|
|
"raw": "\"pick sensor timeout\"",
|
|
"value": "pick sensor timeout",
|
|
"range": {
|
|
"start": {
|
|
"offset": 832,
|
|
"line": 19,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"offset": 853,
|
|
"line": 19,
|
|
"column": 97
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "event_2",
|
|
"timing": "at",
|
|
"pointId": "p_place",
|
|
"distance": 0.01,
|
|
"kind": "pulse",
|
|
"sourceMap": {
|
|
"line": 21,
|
|
"column": 37
|
|
},
|
|
"data": {
|
|
"statement": "pulse io . do [ 11 ] duration 100 ms",
|
|
"tokens": [
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "pulse",
|
|
"value": "pulse",
|
|
"range": {
|
|
"start": {
|
|
"offset": 929,
|
|
"line": 21,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"offset": 934,
|
|
"line": 21,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "io",
|
|
"value": "io",
|
|
"range": {
|
|
"start": {
|
|
"offset": 935,
|
|
"line": 21,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"offset": 937,
|
|
"line": 21,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": ".",
|
|
"value": ".",
|
|
"range": {
|
|
"start": {
|
|
"offset": 937,
|
|
"line": 21,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"offset": 938,
|
|
"line": 21,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "do",
|
|
"value": "do",
|
|
"range": {
|
|
"start": {
|
|
"offset": 938,
|
|
"line": 21,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"offset": 940,
|
|
"line": 21,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "[",
|
|
"value": "[",
|
|
"range": {
|
|
"start": {
|
|
"offset": 940,
|
|
"line": 21,
|
|
"column": 48
|
|
},
|
|
"end": {
|
|
"offset": 941,
|
|
"line": 21,
|
|
"column": 49
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "11",
|
|
"value": 11,
|
|
"range": {
|
|
"start": {
|
|
"offset": 941,
|
|
"line": 21,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"offset": 943,
|
|
"line": 21,
|
|
"column": 51
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "]",
|
|
"value": "]",
|
|
"range": {
|
|
"start": {
|
|
"offset": 943,
|
|
"line": 21,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"offset": 944,
|
|
"line": 21,
|
|
"column": 52
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "duration",
|
|
"value": "duration",
|
|
"range": {
|
|
"start": {
|
|
"offset": 945,
|
|
"line": 21,
|
|
"column": 53
|
|
},
|
|
"end": {
|
|
"offset": 953,
|
|
"line": 21,
|
|
"column": 61
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "100 ms",
|
|
"value": 100,
|
|
"range": {
|
|
"start": {
|
|
"offset": 954,
|
|
"line": 21,
|
|
"column": 62
|
|
},
|
|
"end": {
|
|
"offset": 960,
|
|
"line": 21,
|
|
"column": 68
|
|
}
|
|
},
|
|
"unit": {
|
|
"raw": "ms",
|
|
"kind": "time",
|
|
"siUnit": "s",
|
|
"normalizedValue": 0.1
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sampleTime": 0.02,
|
|
"source": {
|
|
"type": "cad_curve",
|
|
"id": "edge_032",
|
|
"sample_distance": 0.005
|
|
}
|
|
},
|
|
"status": "queued"
|
|
}
|
|
],
|
|
"activeIndex": 0,
|
|
"virtualTime": 0.1
|
|
},
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2PathEvents",
|
|
"source": {
|
|
"kind": "RUN_PATH",
|
|
"id": "main:RUN_PATH:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2PathEvents"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "RUN_PATH",
|
|
"source": {
|
|
"kind": "RUN_PATH",
|
|
"id": "main:RUN_PATH:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "RUN_PATH",
|
|
"source": {
|
|
"kind": "RUN_PATH",
|
|
"id": "main:RUN_PATH:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 4
|
|
}
|
|
],
|
|
"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_40_PathEvents-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
|
|
}
|
|
]
|
|
},
|
|
"trajectory": {
|
|
"sampleCount": 12,
|
|
"duration": 0.72,
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"endJoints": [
|
|
-0.3500000029744108,
|
|
-0.2500000021245792,
|
|
0.3500000029744108,
|
|
-0.2500000021245792,
|
|
0.15000000127474747,
|
|
-0.4000000033993266
|
|
],
|
|
"diagnostics": []
|
|
},
|
|
"post": {
|
|
"filenames": [
|
|
"W2PathEvents.mod",
|
|
"W2PathEvents.ls",
|
|
"W2PathEvents.src"
|
|
],
|
|
"report": [
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RUN_PATH is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RUN_PATH is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RUN_PATH is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_50_OperationProcess",
|
|
"file": "runtime/W2_50_OperationProcess.grl",
|
|
"coverage_level": "Runtime",
|
|
"expected_status": "pass",
|
|
"status": "pass",
|
|
"input_hash": "01b2232a6f30383d441f7cc73020fc44d0e752e807ff07f92af0ed9132afa1c6",
|
|
"spec_sections": [
|
|
12,
|
|
13
|
|
],
|
|
"diagnostics": [],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_50_OperationProcess/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_50_OperationProcess/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_50_OperationProcess/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_50_OperationProcess/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_50_OperationProcess/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_50_OperationProcess/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_50_OperationProcess/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_50_OperationProcess/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": true,
|
|
"moduleName": "W2OperationProcess",
|
|
"astKind": "Program",
|
|
"semanticChecks": [
|
|
"language/module/proc",
|
|
"const/var/persistent symbols",
|
|
"tool/frame/speed/zone",
|
|
"joint_target/pose_target",
|
|
"movej/movel/movec",
|
|
"path/point/event/run_path",
|
|
"operation/run_operation",
|
|
"io/wait/pulse",
|
|
"if/elseif/else/while/for/switch",
|
|
"call/return/break/continue",
|
|
"proc parameter directions",
|
|
"func returns and side effects",
|
|
"alarm/raise/try/catch",
|
|
"source map propagation",
|
|
"KDL motion request bridge",
|
|
"KDL path request bridge",
|
|
"duplicate symbol diagnostics",
|
|
"missing reference diagnostics",
|
|
"P1 unsupported diagnostics",
|
|
"operation action expansion",
|
|
"path event expansion",
|
|
"raw statement preservation"
|
|
],
|
|
"sourceMapEntries": 4,
|
|
"kdlMotionRequests": 0,
|
|
"kdlPathRequests": 1,
|
|
"symbolCount": 6,
|
|
"procedureCount": 1,
|
|
"pathCount": 1,
|
|
"operationCount": 1
|
|
},
|
|
"controller": {
|
|
"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": "completed",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "hold",
|
|
"before": "paused",
|
|
"after": "hold",
|
|
"result": "ok",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "resume",
|
|
"before": "hold",
|
|
"after": "stopped",
|
|
"result": "completed",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "stepMotion",
|
|
"before": "stopped",
|
|
"after": "stopped",
|
|
"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": 1,
|
|
"callStack": [
|
|
{
|
|
"procedure": "main",
|
|
"pc": 1
|
|
}
|
|
],
|
|
"scopeStack": [
|
|
{
|
|
"id": "global",
|
|
"variables": {}
|
|
},
|
|
{
|
|
"id": "main",
|
|
"variables": {}
|
|
}
|
|
],
|
|
"alarmQueue": [],
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2OperationProcess",
|
|
"source": {
|
|
"kind": "RUN_OPERATION",
|
|
"id": "main:RUN_OPERATION:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2OperationProcess"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "RUN_OPERATION",
|
|
"source": {
|
|
"kind": "RUN_OPERATION",
|
|
"id": "main:RUN_OPERATION:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "RUN_OPERATION",
|
|
"source": {
|
|
"kind": "RUN_OPERATION",
|
|
"id": "main:RUN_OPERATION:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 4
|
|
}
|
|
],
|
|
"completed": true
|
|
},
|
|
"motion": {
|
|
"items": [
|
|
{
|
|
"id": "mq_1",
|
|
"kind": "action",
|
|
"status": "done",
|
|
"source": {
|
|
"kind": "action",
|
|
"operationId": "pick_op",
|
|
"actionKind": "start_action",
|
|
"statement": "io . do [ 1 ] = true",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 7
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": []
|
|
}
|
|
},
|
|
{
|
|
"id": "mq_2",
|
|
"kind": "path",
|
|
"source": {
|
|
"kind": "path",
|
|
"pathId": "op_path",
|
|
"operationId": "pick_op",
|
|
"instruction": {
|
|
"kind": "RUN_PATH",
|
|
"pathId": "op_path",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"pathId": "op_path",
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"segments": [
|
|
{
|
|
"id": "p0",
|
|
"motion": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"id": "home"
|
|
},
|
|
"targetId": "home",
|
|
"speed": {
|
|
"kind": "joint_percent",
|
|
"value": 0.35000000000000003
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"sourceMap": {
|
|
"line": 8,
|
|
"column": 14
|
|
}
|
|
}
|
|
],
|
|
"sampleTime": 0.02
|
|
},
|
|
"status": "queued"
|
|
},
|
|
{
|
|
"id": "mq_3",
|
|
"kind": "action",
|
|
"status": "done",
|
|
"source": {
|
|
"kind": "action",
|
|
"operationId": "pick_op",
|
|
"actionKind": "end_action",
|
|
"statement": "io . do [ 1 ] = false",
|
|
"sourceMap": {
|
|
"line": 21,
|
|
"column": 7
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": []
|
|
}
|
|
}
|
|
],
|
|
"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_50_OperationProcess-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": [
|
|
"op_path"
|
|
],
|
|
"operationIds": [
|
|
"pick_op"
|
|
],
|
|
"diagnostics": []
|
|
}
|
|
}
|
|
},
|
|
"motionQueue": {
|
|
"items": [
|
|
{
|
|
"id": "mq_1",
|
|
"kind": "action",
|
|
"status": "done",
|
|
"source": {
|
|
"kind": "action",
|
|
"operationId": "pick_op",
|
|
"actionKind": "start_action",
|
|
"statement": "io . do [ 1 ] = true",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 7
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": []
|
|
}
|
|
},
|
|
{
|
|
"id": "mq_2",
|
|
"kind": "path",
|
|
"source": {
|
|
"kind": "path",
|
|
"pathId": "op_path",
|
|
"operationId": "pick_op",
|
|
"instruction": {
|
|
"kind": "RUN_PATH",
|
|
"pathId": "op_path",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"pathId": "op_path",
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"segments": [
|
|
{
|
|
"id": "p0",
|
|
"motion": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"id": "home"
|
|
},
|
|
"targetId": "home",
|
|
"speed": {
|
|
"kind": "joint_percent",
|
|
"value": 0.35000000000000003
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"sourceMap": {
|
|
"line": 8,
|
|
"column": 14
|
|
}
|
|
}
|
|
],
|
|
"sampleTime": 0.02
|
|
},
|
|
"status": "queued"
|
|
},
|
|
{
|
|
"id": "mq_3",
|
|
"kind": "action",
|
|
"status": "done",
|
|
"source": {
|
|
"kind": "action",
|
|
"operationId": "pick_op",
|
|
"actionKind": "end_action",
|
|
"statement": "io . do [ 1 ] = false",
|
|
"sourceMap": {
|
|
"line": 21,
|
|
"column": 7
|
|
}
|
|
},
|
|
"request": {
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"sampleTime": 0.02,
|
|
"segments": []
|
|
}
|
|
}
|
|
],
|
|
"activeIndex": 0,
|
|
"virtualTime": 0.1
|
|
},
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2OperationProcess",
|
|
"source": {
|
|
"kind": "RUN_OPERATION",
|
|
"id": "main:RUN_OPERATION:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2OperationProcess"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "RUN_OPERATION",
|
|
"source": {
|
|
"kind": "RUN_OPERATION",
|
|
"id": "main:RUN_OPERATION:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "RUN_OPERATION",
|
|
"source": {
|
|
"kind": "RUN_OPERATION",
|
|
"id": "main:RUN_OPERATION:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 4
|
|
}
|
|
],
|
|
"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_50_OperationProcess-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
|
|
}
|
|
]
|
|
},
|
|
"trajectory": {
|
|
"sampleCount": 4,
|
|
"duration": 0.24,
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"endJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"diagnostics": []
|
|
},
|
|
"post": {
|
|
"filenames": [
|
|
"W2OperationProcess.mod",
|
|
"W2OperationProcess.ls",
|
|
"W2OperationProcess.src"
|
|
],
|
|
"report": [
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RUN_OPERATION is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RUN_OPERATION is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RUN_OPERATION is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_60_IOWaitPulse",
|
|
"file": "runtime/W2_60_IOWaitPulse.grl",
|
|
"coverage_level": "Runtime",
|
|
"expected_status": "pass",
|
|
"status": "pass",
|
|
"input_hash": "b473d3fcbc92ba0e6d34790d12ff1367bfc89452744ae540ffd9b301fc7f2636",
|
|
"spec_sections": [
|
|
13
|
|
],
|
|
"diagnostics": [],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_60_IOWaitPulse/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_60_IOWaitPulse/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_60_IOWaitPulse/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_60_IOWaitPulse/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_60_IOWaitPulse/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_60_IOWaitPulse/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_60_IOWaitPulse/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_60_IOWaitPulse/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": true,
|
|
"moduleName": "W2IOWaitPulse",
|
|
"astKind": "Program",
|
|
"semanticChecks": [
|
|
"language/module/proc",
|
|
"const/var/persistent symbols",
|
|
"tool/frame/speed/zone",
|
|
"joint_target/pose_target",
|
|
"movej/movel/movec",
|
|
"path/point/event/run_path",
|
|
"operation/run_operation",
|
|
"io/wait/pulse",
|
|
"if/elseif/else/while/for/switch",
|
|
"call/return/break/continue",
|
|
"proc parameter directions",
|
|
"func returns and side effects",
|
|
"alarm/raise/try/catch",
|
|
"source map propagation",
|
|
"KDL motion request bridge",
|
|
"KDL path request bridge",
|
|
"duplicate symbol diagnostics",
|
|
"missing reference diagnostics",
|
|
"P1 unsupported diagnostics",
|
|
"operation action expansion",
|
|
"path event expansion",
|
|
"raw statement preservation"
|
|
],
|
|
"sourceMapEntries": 12,
|
|
"kdlMotionRequests": 0,
|
|
"kdlPathRequests": 1,
|
|
"symbolCount": 5,
|
|
"procedureCount": 1,
|
|
"pathCount": 1,
|
|
"operationCount": 0
|
|
},
|
|
"controller": {
|
|
"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": 10,
|
|
"callStack": [
|
|
{
|
|
"procedure": "main",
|
|
"pc": 10
|
|
}
|
|
],
|
|
"scopeStack": [
|
|
{
|
|
"id": "global",
|
|
"variables": {
|
|
"$wait:main:3": 0,
|
|
"$wait:main:4": 0,
|
|
"$wait:main:5": 0.1,
|
|
"$wait:main:6": 0.1,
|
|
"$wait:main:7": 0.1
|
|
}
|
|
},
|
|
{
|
|
"id": "main",
|
|
"variables": {}
|
|
}
|
|
],
|
|
"alarmQueue": [],
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2IOWaitPulse",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:12:5",
|
|
"sourceMap": {
|
|
"line": 12,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2IOWaitPulse"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "IO_WRITE",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:12:5",
|
|
"sourceMap": {
|
|
"line": 12,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"result": [
|
|
{
|
|
"id": 10,
|
|
"time": 0,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "do",
|
|
"index": 1,
|
|
"raw": "io.do[1]"
|
|
},
|
|
"value": true,
|
|
"kind": "write"
|
|
}
|
|
]
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "IO_WRITE",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:12:5",
|
|
"sourceMap": {
|
|
"line": 12,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:13:5",
|
|
"sourceMap": {
|
|
"line": 13,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 4
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "IO_WRITE",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:13:5",
|
|
"sourceMap": {
|
|
"line": 13,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"result": [
|
|
{
|
|
"id": 11,
|
|
"time": 0,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "ao",
|
|
"index": 1,
|
|
"raw": "io.ao[1]"
|
|
},
|
|
"value": 0.75,
|
|
"kind": "write"
|
|
}
|
|
]
|
|
},
|
|
"id": 5
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "IO_WRITE",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:13:5",
|
|
"sourceMap": {
|
|
"line": 13,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 6
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "IO_WRITE",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:14:5",
|
|
"sourceMap": {
|
|
"line": 14,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"result": [
|
|
{
|
|
"id": 12,
|
|
"time": 0,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "go",
|
|
"index": 1,
|
|
"raw": "io.go[1]"
|
|
},
|
|
"value": 3,
|
|
"kind": "write"
|
|
}
|
|
]
|
|
},
|
|
"id": 7
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 3,
|
|
"instructionKind": "IO_WRITE",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:14:5",
|
|
"sourceMap": {
|
|
"line": 14,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 8
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 3,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:15:5",
|
|
"sourceMap": {
|
|
"line": 15,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "satisfied",
|
|
"elapsed": 0
|
|
},
|
|
"id": 9
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 4,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:15:5",
|
|
"sourceMap": {
|
|
"line": 15,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 10
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 4,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:16:5",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "satisfied",
|
|
"elapsed": 0
|
|
},
|
|
"id": 11
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 5,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:16:5",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 12
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 5,
|
|
"message": "Execution exceeded 3 steps",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 3 steps"
|
|
},
|
|
"id": 13
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 5,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "satisfied",
|
|
"elapsed": 0
|
|
},
|
|
"id": 14
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 6,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 15
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 6,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "satisfied",
|
|
"elapsed": 0
|
|
},
|
|
"id": 16
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 7,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 17
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 7,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:19:5",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "satisfied",
|
|
"elapsed": 0
|
|
},
|
|
"id": 18
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 8,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:19:5",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 19
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 8,
|
|
"instructionKind": "PULSE",
|
|
"source": {
|
|
"kind": "PULSE",
|
|
"id": "main:PULSE:20:5",
|
|
"sourceMap": {
|
|
"line": 20,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"result": [
|
|
{
|
|
"id": 16,
|
|
"time": 0.1,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "do",
|
|
"index": 2,
|
|
"raw": "io.do[2]"
|
|
},
|
|
"value": true,
|
|
"kind": "pulse_set"
|
|
}
|
|
]
|
|
},
|
|
"id": 20
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 9,
|
|
"instructionKind": "PULSE",
|
|
"source": {
|
|
"kind": "PULSE",
|
|
"id": "main:PULSE:20:5",
|
|
"sourceMap": {
|
|
"line": 20,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 21
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 9,
|
|
"instructionKind": "RUN_PATH",
|
|
"source": {
|
|
"kind": "RUN_PATH",
|
|
"id": "main:RUN_PATH:21:5",
|
|
"sourceMap": {
|
|
"line": 21,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 22
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 10,
|
|
"instructionKind": "RUN_PATH",
|
|
"source": {
|
|
"kind": "RUN_PATH",
|
|
"id": "main:RUN_PATH:21:5",
|
|
"sourceMap": {
|
|
"line": 21,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 23
|
|
}
|
|
],
|
|
"completed": true
|
|
},
|
|
"motion": {
|
|
"items": [
|
|
{
|
|
"id": "mq_1",
|
|
"kind": "path",
|
|
"source": {
|
|
"kind": "path",
|
|
"pathId": "io_path",
|
|
"instruction": {
|
|
"kind": "RUN_PATH",
|
|
"pathId": "io_path",
|
|
"sourceMap": {
|
|
"line": 21,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 21,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"pathId": "io_path",
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"segments": [
|
|
{
|
|
"id": "p0",
|
|
"motion": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"id": "home"
|
|
},
|
|
"targetId": "home",
|
|
"speed": {
|
|
"kind": "joint_percent",
|
|
"value": 0.35000000000000003
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"sourceMap": {
|
|
"line": 8,
|
|
"column": 14
|
|
}
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"id": "event_0",
|
|
"timing": "at",
|
|
"pointId": "p0",
|
|
"distance": 0.01,
|
|
"kind": "pulse",
|
|
"sourceMap": {
|
|
"line": 9,
|
|
"column": 35
|
|
},
|
|
"data": {
|
|
"statement": "pulse io . do [ 20 ] duration 50 + 50 ms",
|
|
"tokens": [
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "pulse",
|
|
"value": "pulse",
|
|
"range": {
|
|
"start": {
|
|
"offset": 286,
|
|
"line": 9,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"offset": 291,
|
|
"line": 9,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "io",
|
|
"value": "io",
|
|
"range": {
|
|
"start": {
|
|
"offset": 292,
|
|
"line": 9,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"offset": 294,
|
|
"line": 9,
|
|
"column": 43
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": ".",
|
|
"value": ".",
|
|
"range": {
|
|
"start": {
|
|
"offset": 294,
|
|
"line": 9,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"offset": 295,
|
|
"line": 9,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "do",
|
|
"value": "do",
|
|
"range": {
|
|
"start": {
|
|
"offset": 295,
|
|
"line": 9,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"offset": 297,
|
|
"line": 9,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "[",
|
|
"value": "[",
|
|
"range": {
|
|
"start": {
|
|
"offset": 297,
|
|
"line": 9,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"offset": 298,
|
|
"line": 9,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "20",
|
|
"value": 20,
|
|
"range": {
|
|
"start": {
|
|
"offset": 298,
|
|
"line": 9,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"offset": 300,
|
|
"line": 9,
|
|
"column": 49
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "]",
|
|
"value": "]",
|
|
"range": {
|
|
"start": {
|
|
"offset": 300,
|
|
"line": 9,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"offset": 301,
|
|
"line": 9,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "duration",
|
|
"value": "duration",
|
|
"range": {
|
|
"start": {
|
|
"offset": 302,
|
|
"line": 9,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"offset": 310,
|
|
"line": 9,
|
|
"column": 59
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "50",
|
|
"value": 50,
|
|
"range": {
|
|
"start": {
|
|
"offset": 311,
|
|
"line": 9,
|
|
"column": 60
|
|
},
|
|
"end": {
|
|
"offset": 313,
|
|
"line": 9,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "operator",
|
|
"raw": "+",
|
|
"value": "+",
|
|
"range": {
|
|
"start": {
|
|
"offset": 314,
|
|
"line": 9,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"offset": 315,
|
|
"line": 9,
|
|
"column": 64
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "50 ms",
|
|
"value": 50,
|
|
"range": {
|
|
"start": {
|
|
"offset": 316,
|
|
"line": 9,
|
|
"column": 65
|
|
},
|
|
"end": {
|
|
"offset": 321,
|
|
"line": 9,
|
|
"column": 70
|
|
}
|
|
},
|
|
"unit": {
|
|
"raw": "ms",
|
|
"kind": "time",
|
|
"siUnit": "s",
|
|
"normalizedValue": 0.05
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sampleTime": 0.02
|
|
},
|
|
"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,
|
|
"io.do[1]": true,
|
|
"io.ao[1]": 0.75,
|
|
"io.go[1]": 3,
|
|
"io.do[2]": true
|
|
},
|
|
"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,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "do",
|
|
"index": 1,
|
|
"raw": "io.do[1]"
|
|
},
|
|
"value": true,
|
|
"kind": "write"
|
|
},
|
|
{
|
|
"id": 11,
|
|
"time": 0,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "ao",
|
|
"index": 1,
|
|
"raw": "io.ao[1]"
|
|
},
|
|
"value": 0.75,
|
|
"kind": "write"
|
|
},
|
|
{
|
|
"id": 12,
|
|
"time": 0,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "go",
|
|
"index": 1,
|
|
"raw": "io.go[1]"
|
|
},
|
|
"value": 3,
|
|
"kind": "write"
|
|
},
|
|
{
|
|
"id": 13,
|
|
"time": 0.1,
|
|
"writer": "script",
|
|
"target": {
|
|
"domain": "di",
|
|
"index": 5,
|
|
"raw": "io.di[5]"
|
|
},
|
|
"previous": false,
|
|
"value": true,
|
|
"kind": "script"
|
|
},
|
|
{
|
|
"id": 14,
|
|
"time": 0.1,
|
|
"writer": "script",
|
|
"target": {
|
|
"domain": "di",
|
|
"index": 6,
|
|
"raw": "io.di[6]"
|
|
},
|
|
"previous": true,
|
|
"value": false,
|
|
"kind": "script"
|
|
},
|
|
{
|
|
"id": 15,
|
|
"time": 0.1,
|
|
"writer": "script",
|
|
"target": {
|
|
"domain": "di",
|
|
"index": 7,
|
|
"raw": "io.di[7]"
|
|
},
|
|
"previous": false,
|
|
"value": true,
|
|
"kind": "script"
|
|
},
|
|
{
|
|
"id": 16,
|
|
"time": 0.1,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "do",
|
|
"index": 2,
|
|
"raw": "io.do[2]"
|
|
},
|
|
"value": true,
|
|
"kind": "pulse_set"
|
|
}
|
|
],
|
|
"diagnostics": [],
|
|
"scripts": [
|
|
{
|
|
"name": "W2_60_IOWaitPulse-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": [
|
|
"io_path"
|
|
],
|
|
"operationIds": [],
|
|
"diagnostics": []
|
|
}
|
|
}
|
|
},
|
|
"motionQueue": {
|
|
"items": [
|
|
{
|
|
"id": "mq_1",
|
|
"kind": "path",
|
|
"source": {
|
|
"kind": "path",
|
|
"pathId": "io_path",
|
|
"instruction": {
|
|
"kind": "RUN_PATH",
|
|
"pathId": "io_path",
|
|
"sourceMap": {
|
|
"line": 21,
|
|
"column": 5
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"line": 21,
|
|
"column": 5
|
|
}
|
|
},
|
|
"request": {
|
|
"pathId": "io_path",
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"segments": [
|
|
{
|
|
"id": "p0",
|
|
"motion": "MOVEJ",
|
|
"target": {
|
|
"joints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"id": "home"
|
|
},
|
|
"targetId": "home",
|
|
"speed": {
|
|
"kind": "joint_percent",
|
|
"value": 0.35000000000000003
|
|
},
|
|
"zone": {
|
|
"kind": "fine"
|
|
},
|
|
"sourceMap": {
|
|
"line": 8,
|
|
"column": 14
|
|
}
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"id": "event_0",
|
|
"timing": "at",
|
|
"pointId": "p0",
|
|
"distance": 0.01,
|
|
"kind": "pulse",
|
|
"sourceMap": {
|
|
"line": 9,
|
|
"column": 35
|
|
},
|
|
"data": {
|
|
"statement": "pulse io . do [ 20 ] duration 50 + 50 ms",
|
|
"tokens": [
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "pulse",
|
|
"value": "pulse",
|
|
"range": {
|
|
"start": {
|
|
"offset": 286,
|
|
"line": 9,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"offset": 291,
|
|
"line": 9,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "keyword",
|
|
"raw": "io",
|
|
"value": "io",
|
|
"range": {
|
|
"start": {
|
|
"offset": 292,
|
|
"line": 9,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"offset": 294,
|
|
"line": 9,
|
|
"column": 43
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": ".",
|
|
"value": ".",
|
|
"range": {
|
|
"start": {
|
|
"offset": 294,
|
|
"line": 9,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"offset": 295,
|
|
"line": 9,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "do",
|
|
"value": "do",
|
|
"range": {
|
|
"start": {
|
|
"offset": 295,
|
|
"line": 9,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"offset": 297,
|
|
"line": 9,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "[",
|
|
"value": "[",
|
|
"range": {
|
|
"start": {
|
|
"offset": 297,
|
|
"line": 9,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"offset": 298,
|
|
"line": 9,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "20",
|
|
"value": 20,
|
|
"range": {
|
|
"start": {
|
|
"offset": 298,
|
|
"line": 9,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"offset": 300,
|
|
"line": 9,
|
|
"column": 49
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "punctuation",
|
|
"raw": "]",
|
|
"value": "]",
|
|
"range": {
|
|
"start": {
|
|
"offset": 300,
|
|
"line": 9,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"offset": 301,
|
|
"line": 9,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "identifier",
|
|
"raw": "duration",
|
|
"value": "duration",
|
|
"range": {
|
|
"start": {
|
|
"offset": 302,
|
|
"line": 9,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"offset": 310,
|
|
"line": 9,
|
|
"column": 59
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "50",
|
|
"value": 50,
|
|
"range": {
|
|
"start": {
|
|
"offset": 311,
|
|
"line": 9,
|
|
"column": 60
|
|
},
|
|
"end": {
|
|
"offset": 313,
|
|
"line": 9,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "operator",
|
|
"raw": "+",
|
|
"value": "+",
|
|
"range": {
|
|
"start": {
|
|
"offset": 314,
|
|
"line": 9,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"offset": 315,
|
|
"line": 9,
|
|
"column": 64
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"raw": "50 ms",
|
|
"value": 50,
|
|
"range": {
|
|
"start": {
|
|
"offset": 316,
|
|
"line": 9,
|
|
"column": 65
|
|
},
|
|
"end": {
|
|
"offset": 321,
|
|
"line": 9,
|
|
"column": 70
|
|
}
|
|
},
|
|
"unit": {
|
|
"raw": "ms",
|
|
"kind": "time",
|
|
"siUnit": "s",
|
|
"normalizedValue": 0.05
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sampleTime": 0.02
|
|
},
|
|
"status": "queued"
|
|
}
|
|
],
|
|
"activeIndex": 0,
|
|
"virtualTime": 0.1
|
|
},
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2IOWaitPulse",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:12:5",
|
|
"sourceMap": {
|
|
"line": 12,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2IOWaitPulse"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "IO_WRITE",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:12:5",
|
|
"sourceMap": {
|
|
"line": 12,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"result": [
|
|
{
|
|
"id": 10,
|
|
"time": 0,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "do",
|
|
"index": 1,
|
|
"raw": "io.do[1]"
|
|
},
|
|
"value": true,
|
|
"kind": "write"
|
|
}
|
|
]
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "IO_WRITE",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:12:5",
|
|
"sourceMap": {
|
|
"line": 12,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:13:5",
|
|
"sourceMap": {
|
|
"line": 13,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 4
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "IO_WRITE",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:13:5",
|
|
"sourceMap": {
|
|
"line": 13,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"result": [
|
|
{
|
|
"id": 11,
|
|
"time": 0,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "ao",
|
|
"index": 1,
|
|
"raw": "io.ao[1]"
|
|
},
|
|
"value": 0.75,
|
|
"kind": "write"
|
|
}
|
|
]
|
|
},
|
|
"id": 5
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "IO_WRITE",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:13:5",
|
|
"sourceMap": {
|
|
"line": 13,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 6
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "IO_WRITE",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:14:5",
|
|
"sourceMap": {
|
|
"line": 14,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"result": [
|
|
{
|
|
"id": 12,
|
|
"time": 0,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "go",
|
|
"index": 1,
|
|
"raw": "io.go[1]"
|
|
},
|
|
"value": 3,
|
|
"kind": "write"
|
|
}
|
|
]
|
|
},
|
|
"id": 7
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 3,
|
|
"instructionKind": "IO_WRITE",
|
|
"source": {
|
|
"kind": "IO_WRITE",
|
|
"id": "main:IO_WRITE:14:5",
|
|
"sourceMap": {
|
|
"line": 14,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 8
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 3,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:15:5",
|
|
"sourceMap": {
|
|
"line": 15,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "satisfied",
|
|
"elapsed": 0
|
|
},
|
|
"id": 9
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 4,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:15:5",
|
|
"sourceMap": {
|
|
"line": 15,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 10
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 4,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:16:5",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "satisfied",
|
|
"elapsed": 0
|
|
},
|
|
"id": 11
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 5,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:16:5",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 12
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 5,
|
|
"message": "Execution exceeded 3 steps",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 3 steps"
|
|
},
|
|
"id": 13
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 5,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "satisfied",
|
|
"elapsed": 0
|
|
},
|
|
"id": 14
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 6,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 15
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 6,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "satisfied",
|
|
"elapsed": 0
|
|
},
|
|
"id": 16
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 7,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 17
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 7,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:19:5",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "satisfied",
|
|
"elapsed": 0
|
|
},
|
|
"id": 18
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 8,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:19:5",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 19
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 8,
|
|
"instructionKind": "PULSE",
|
|
"source": {
|
|
"kind": "PULSE",
|
|
"id": "main:PULSE:20:5",
|
|
"sourceMap": {
|
|
"line": 20,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"result": [
|
|
{
|
|
"id": 16,
|
|
"time": 0.1,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "do",
|
|
"index": 2,
|
|
"raw": "io.do[2]"
|
|
},
|
|
"value": true,
|
|
"kind": "pulse_set"
|
|
}
|
|
]
|
|
},
|
|
"id": 20
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "io",
|
|
"procedure": "main",
|
|
"pc": 9,
|
|
"instructionKind": "PULSE",
|
|
"source": {
|
|
"kind": "PULSE",
|
|
"id": "main:PULSE:20:5",
|
|
"sourceMap": {
|
|
"line": 20,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 21
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "motion",
|
|
"procedure": "main",
|
|
"pc": 9,
|
|
"instructionKind": "RUN_PATH",
|
|
"source": {
|
|
"kind": "RUN_PATH",
|
|
"id": "main:RUN_PATH:21:5",
|
|
"sourceMap": {
|
|
"line": 21,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"queued": true
|
|
},
|
|
"id": 22
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 10,
|
|
"instructionKind": "RUN_PATH",
|
|
"source": {
|
|
"kind": "RUN_PATH",
|
|
"id": "main:RUN_PATH:21:5",
|
|
"sourceMap": {
|
|
"line": 21,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 23
|
|
}
|
|
],
|
|
"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,
|
|
"io.do[1]": true,
|
|
"io.ao[1]": 0.75,
|
|
"io.go[1]": 3,
|
|
"io.do[2]": true
|
|
},
|
|
"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,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "do",
|
|
"index": 1,
|
|
"raw": "io.do[1]"
|
|
},
|
|
"value": true,
|
|
"kind": "write"
|
|
},
|
|
{
|
|
"id": 11,
|
|
"time": 0,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "ao",
|
|
"index": 1,
|
|
"raw": "io.ao[1]"
|
|
},
|
|
"value": 0.75,
|
|
"kind": "write"
|
|
},
|
|
{
|
|
"id": 12,
|
|
"time": 0,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "go",
|
|
"index": 1,
|
|
"raw": "io.go[1]"
|
|
},
|
|
"value": 3,
|
|
"kind": "write"
|
|
},
|
|
{
|
|
"id": 13,
|
|
"time": 0.1,
|
|
"writer": "script",
|
|
"target": {
|
|
"domain": "di",
|
|
"index": 5,
|
|
"raw": "io.di[5]"
|
|
},
|
|
"previous": false,
|
|
"value": true,
|
|
"kind": "script"
|
|
},
|
|
{
|
|
"id": 14,
|
|
"time": 0.1,
|
|
"writer": "script",
|
|
"target": {
|
|
"domain": "di",
|
|
"index": 6,
|
|
"raw": "io.di[6]"
|
|
},
|
|
"previous": true,
|
|
"value": false,
|
|
"kind": "script"
|
|
},
|
|
{
|
|
"id": 15,
|
|
"time": 0.1,
|
|
"writer": "script",
|
|
"target": {
|
|
"domain": "di",
|
|
"index": 7,
|
|
"raw": "io.di[7]"
|
|
},
|
|
"previous": false,
|
|
"value": true,
|
|
"kind": "script"
|
|
},
|
|
{
|
|
"id": 16,
|
|
"time": 0.1,
|
|
"writer": "program",
|
|
"target": {
|
|
"domain": "do",
|
|
"index": 2,
|
|
"raw": "io.do[2]"
|
|
},
|
|
"value": true,
|
|
"kind": "pulse_set"
|
|
}
|
|
],
|
|
"diagnostics": [],
|
|
"scripts": [
|
|
{
|
|
"name": "W2_60_IOWaitPulse-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
|
|
}
|
|
]
|
|
},
|
|
"trajectory": {
|
|
"sampleCount": 4,
|
|
"duration": 0.24,
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"endJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"diagnostics": []
|
|
},
|
|
"post": {
|
|
"filenames": [
|
|
"W2IOWaitPulse.mod",
|
|
"W2IOWaitPulse.ls",
|
|
"W2IOWaitPulse.src"
|
|
],
|
|
"report": [
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RUN_PATH is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RUN_PATH is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RUN_PATH is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_70_ControlFlow",
|
|
"file": "runtime/W2_70_ControlFlow.grl",
|
|
"coverage_level": "Runtime",
|
|
"expected_status": "pass",
|
|
"status": "pass",
|
|
"input_hash": "516fe162d1032f7a3d65c2b632ea10bafb95b10b38ccb15f77db79f86f0aaa7c",
|
|
"spec_sections": [
|
|
14
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement movej preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 12,
|
|
"column": 7
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement home preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 12,
|
|
"column": 13
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement speed preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 12,
|
|
"column": 18
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement v preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 12,
|
|
"column": 24
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement zone preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 12,
|
|
"column": 26
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement zf preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 12,
|
|
"column": 31
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement elseif preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 13,
|
|
"column": 5
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement fault preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 13,
|
|
"column": 12
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement == preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 13,
|
|
"column": 18
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement true preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 13,
|
|
"column": 21
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement alarm preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 14,
|
|
"column": 7
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement FAULT preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 14,
|
|
"column": 13
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement \"fault\" preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 14,
|
|
"column": 19
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement else preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 15,
|
|
"column": 5
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement alarm preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 7
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement NOT_READY preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 13
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement \"not ready\" preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 23
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement retry preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 7
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement = preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 13
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement 1 preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 15
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement continue preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 20,
|
|
"column": 7
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement movej preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 23,
|
|
"column": 7
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement home preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 23,
|
|
"column": 13
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement speed preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 23,
|
|
"column": 18
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement v preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 23,
|
|
"column": 24
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement zone preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 23,
|
|
"column": 26
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement zf preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 23,
|
|
"column": 31
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement case preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 26,
|
|
"column": 7
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement 1 preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 26,
|
|
"column": 12
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement alarm preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 27,
|
|
"column": 9
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement MODE1 preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 27,
|
|
"column": 15
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement \"mode 1\" preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 27,
|
|
"column": 21
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement break preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 28,
|
|
"column": 9
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement case preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 29,
|
|
"column": 7
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement 2 preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 29,
|
|
"column": 12
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement movej preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 30,
|
|
"column": 9
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement home preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 30,
|
|
"column": 15
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement speed preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 30,
|
|
"column": 20
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement v preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 30,
|
|
"column": 26
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement zone preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 30,
|
|
"column": 28
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement zf preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 30,
|
|
"column": 33
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement default preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 31,
|
|
"column": 7
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement alarm preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 32,
|
|
"column": 9
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement MODE_OTHER preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 32,
|
|
"column": 15
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement \"mode other\" preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 32,
|
|
"column": 26
|
|
}
|
|
}
|
|
],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_70_ControlFlow/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_70_ControlFlow/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_70_ControlFlow/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_70_ControlFlow/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_70_ControlFlow/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_70_ControlFlow/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_70_ControlFlow/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_70_ControlFlow/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": true,
|
|
"moduleName": "W2ControlFlow",
|
|
"astKind": "Program",
|
|
"semanticChecks": [
|
|
"language/module/proc",
|
|
"const/var/persistent symbols",
|
|
"tool/frame/speed/zone",
|
|
"joint_target/pose_target",
|
|
"movej/movel/movec",
|
|
"path/point/event/run_path",
|
|
"operation/run_operation",
|
|
"io/wait/pulse",
|
|
"if/elseif/else/while/for/switch",
|
|
"call/return/break/continue",
|
|
"proc parameter directions",
|
|
"func returns and side effects",
|
|
"alarm/raise/try/catch",
|
|
"source map propagation",
|
|
"KDL motion request bridge",
|
|
"KDL path request bridge",
|
|
"duplicate symbol diagnostics",
|
|
"missing reference diagnostics",
|
|
"P1 unsupported diagnostics",
|
|
"operation action expansion",
|
|
"path event expansion",
|
|
"raw statement preservation"
|
|
],
|
|
"sourceMapEntries": 14,
|
|
"kdlMotionRequests": 0,
|
|
"kdlPathRequests": 0,
|
|
"symbolCount": 8,
|
|
"procedureCount": 1,
|
|
"pathCount": 0,
|
|
"operationCount": 0
|
|
},
|
|
"controller": {
|
|
"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": 8,
|
|
"callStack": [
|
|
{
|
|
"procedure": "main",
|
|
"pc": 8
|
|
}
|
|
],
|
|
"scopeStack": [
|
|
{
|
|
"id": "global",
|
|
"variables": {}
|
|
},
|
|
{
|
|
"id": "main",
|
|
"variables": {}
|
|
},
|
|
{
|
|
"id": "else:0",
|
|
"variables": {
|
|
"i": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "for:3",
|
|
"variables": {}
|
|
},
|
|
{
|
|
"id": "switch:5",
|
|
"variables": {}
|
|
}
|
|
],
|
|
"alarmQueue": [
|
|
{
|
|
"id": "NOT_READY",
|
|
"message": "not ready",
|
|
"severity": "error",
|
|
"source": {
|
|
"kind": "ALARM",
|
|
"id": "main:ALARM:16:7",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 7
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"time": 0
|
|
},
|
|
{
|
|
"id": "MODE1",
|
|
"message": "mode 1",
|
|
"severity": "error",
|
|
"source": {
|
|
"kind": "ALARM",
|
|
"id": "main:ALARM:27:9",
|
|
"sourceMap": {
|
|
"line": 27,
|
|
"column": 9
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"time": 0.1
|
|
}
|
|
],
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2ControlFlow",
|
|
"source": {
|
|
"kind": "EXEC_IF",
|
|
"id": "main:EXEC_IF:11:5",
|
|
"sourceMap": {
|
|
"line": 11,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2ControlFlow"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "EXEC_IF",
|
|
"source": {
|
|
"kind": "EXEC_IF",
|
|
"id": "main:EXEC_IF:11:5",
|
|
"sourceMap": {
|
|
"line": 11,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"source": {
|
|
"kind": "ALARM",
|
|
"id": "main:ALARM:16:7",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 7
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "alarm",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "not ready",
|
|
"source": {
|
|
"kind": "ALARM",
|
|
"id": "main:ALARM:16:7",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 7
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"alarmId": "NOT_READY",
|
|
"severity": "error"
|
|
},
|
|
"id": 4
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "ALARM",
|
|
"source": {
|
|
"kind": "ALARM",
|
|
"id": "main:ALARM:16:7",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 7
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 5
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 3,
|
|
"instructionKind": "EXEC_WHILE",
|
|
"source": {
|
|
"kind": "EXEC_WHILE",
|
|
"id": "main:EXEC_WHILE:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 6
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 4,
|
|
"instructionKind": "EXEC_FOR",
|
|
"source": {
|
|
"kind": "EXEC_FOR",
|
|
"id": "main:EXEC_FOR:22:5",
|
|
"sourceMap": {
|
|
"line": 22,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 7
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 5,
|
|
"instructionKind": "RAW_STATEMENT",
|
|
"source": {
|
|
"kind": "RAW_STATEMENT",
|
|
"id": "main:RAW_STATEMENT:23:7",
|
|
"sourceMap": {
|
|
"line": 23,
|
|
"column": 7
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 8
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 5,
|
|
"message": "Execution exceeded 3 steps",
|
|
"source": {
|
|
"kind": "EXEC_SWITCH",
|
|
"id": "main:EXEC_SWITCH:25:5",
|
|
"sourceMap": {
|
|
"line": 25,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 3 steps"
|
|
},
|
|
"id": 9
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 6,
|
|
"instructionKind": "EXEC_SWITCH",
|
|
"source": {
|
|
"kind": "EXEC_SWITCH",
|
|
"id": "main:EXEC_SWITCH:25:5",
|
|
"sourceMap": {
|
|
"line": 25,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 10
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 7,
|
|
"instructionKind": "BREAK",
|
|
"source": {
|
|
"kind": "BREAK",
|
|
"id": "main:BREAK:28:9",
|
|
"sourceMap": {
|
|
"line": 28,
|
|
"column": 9
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "info",
|
|
"code": "VC_BREAK",
|
|
"message": "BREAK reached",
|
|
"sourceMap": {
|
|
"line": 28,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": 11
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "alarm",
|
|
"procedure": "main",
|
|
"pc": 7,
|
|
"message": "mode 1",
|
|
"source": {
|
|
"kind": "ALARM",
|
|
"id": "main:ALARM:27:9",
|
|
"sourceMap": {
|
|
"line": 27,
|
|
"column": 9
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"alarmId": "MODE1",
|
|
"severity": "error"
|
|
},
|
|
"id": 12
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 8,
|
|
"instructionKind": "ALARM",
|
|
"source": {
|
|
"kind": "ALARM",
|
|
"id": "main:ALARM:27:9",
|
|
"sourceMap": {
|
|
"line": 27,
|
|
"column": 9
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 13
|
|
}
|
|
],
|
|
"completed": true
|
|
},
|
|
"motion": {
|
|
"items": [],
|
|
"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_70_ControlFlow-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": []
|
|
}
|
|
}
|
|
},
|
|
"motionQueue": {
|
|
"items": [],
|
|
"activeIndex": 0,
|
|
"virtualTime": 0.1
|
|
},
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2ControlFlow",
|
|
"source": {
|
|
"kind": "EXEC_IF",
|
|
"id": "main:EXEC_IF:11:5",
|
|
"sourceMap": {
|
|
"line": 11,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2ControlFlow"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "EXEC_IF",
|
|
"source": {
|
|
"kind": "EXEC_IF",
|
|
"id": "main:EXEC_IF:11:5",
|
|
"sourceMap": {
|
|
"line": 11,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"source": {
|
|
"kind": "ALARM",
|
|
"id": "main:ALARM:16:7",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 7
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "alarm",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "not ready",
|
|
"source": {
|
|
"kind": "ALARM",
|
|
"id": "main:ALARM:16:7",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 7
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"alarmId": "NOT_READY",
|
|
"severity": "error"
|
|
},
|
|
"id": 4
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "ALARM",
|
|
"source": {
|
|
"kind": "ALARM",
|
|
"id": "main:ALARM:16:7",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 7
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 5
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 3,
|
|
"instructionKind": "EXEC_WHILE",
|
|
"source": {
|
|
"kind": "EXEC_WHILE",
|
|
"id": "main:EXEC_WHILE:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 6
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 4,
|
|
"instructionKind": "EXEC_FOR",
|
|
"source": {
|
|
"kind": "EXEC_FOR",
|
|
"id": "main:EXEC_FOR:22:5",
|
|
"sourceMap": {
|
|
"line": 22,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 7
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 5,
|
|
"instructionKind": "RAW_STATEMENT",
|
|
"source": {
|
|
"kind": "RAW_STATEMENT",
|
|
"id": "main:RAW_STATEMENT:23:7",
|
|
"sourceMap": {
|
|
"line": 23,
|
|
"column": 7
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 8
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 5,
|
|
"message": "Execution exceeded 3 steps",
|
|
"source": {
|
|
"kind": "EXEC_SWITCH",
|
|
"id": "main:EXEC_SWITCH:25:5",
|
|
"sourceMap": {
|
|
"line": 25,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 3 steps"
|
|
},
|
|
"id": 9
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 6,
|
|
"instructionKind": "EXEC_SWITCH",
|
|
"source": {
|
|
"kind": "EXEC_SWITCH",
|
|
"id": "main:EXEC_SWITCH:25:5",
|
|
"sourceMap": {
|
|
"line": 25,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 10
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 7,
|
|
"instructionKind": "BREAK",
|
|
"source": {
|
|
"kind": "BREAK",
|
|
"id": "main:BREAK:28:9",
|
|
"sourceMap": {
|
|
"line": 28,
|
|
"column": 9
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "info",
|
|
"code": "VC_BREAK",
|
|
"message": "BREAK reached",
|
|
"sourceMap": {
|
|
"line": 28,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": 11
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "alarm",
|
|
"procedure": "main",
|
|
"pc": 7,
|
|
"message": "mode 1",
|
|
"source": {
|
|
"kind": "ALARM",
|
|
"id": "main:ALARM:27:9",
|
|
"sourceMap": {
|
|
"line": 27,
|
|
"column": 9
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"alarmId": "MODE1",
|
|
"severity": "error"
|
|
},
|
|
"id": 12
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 8,
|
|
"instructionKind": "ALARM",
|
|
"source": {
|
|
"kind": "ALARM",
|
|
"id": "main:ALARM:27:9",
|
|
"sourceMap": {
|
|
"line": 27,
|
|
"column": 9
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 13
|
|
}
|
|
],
|
|
"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_70_ControlFlow-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
|
|
}
|
|
]
|
|
},
|
|
"trajectory": {
|
|
"sampleCount": 0,
|
|
"duration": 0,
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"endJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"diagnostics": []
|
|
},
|
|
"post": {
|
|
"filenames": [
|
|
"W2ControlFlow.mod",
|
|
"W2ControlFlow.ls",
|
|
"W2ControlFlow.src"
|
|
],
|
|
"report": [
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_IF is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "ALARM is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_WHILE is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_FOR is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RAW_STATEMENT is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_SWITCH is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "BREAK is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "ALARM is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_IF is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "ALARM is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_WHILE is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_FOR is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RAW_STATEMENT is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_SWITCH is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "BREAK is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "ALARM is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_IF is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "ALARM is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_WHILE is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_FOR is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RAW_STATEMENT is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_SWITCH is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "BREAK is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "ALARM is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_80_ProcFuncCall",
|
|
"file": "runtime/W2_80_ProcFuncCall.grl",
|
|
"coverage_level": "Runtime",
|
|
"expected_status": "pass",
|
|
"status": "pass",
|
|
"input_hash": "701334663d6a215852dbe4c78b3025ebcda5e318513a1e73ab0e6518c49788d5",
|
|
"spec_sections": [
|
|
15
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement movej preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 22,
|
|
"column": 7
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement home preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 22,
|
|
"column": 13
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement speed preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 22,
|
|
"column": 18
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement v preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 22,
|
|
"column": 24
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement zone preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 22,
|
|
"column": 26
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement zf preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 22,
|
|
"column": 31
|
|
}
|
|
}
|
|
],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_80_ProcFuncCall/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_80_ProcFuncCall/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_80_ProcFuncCall/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_80_ProcFuncCall/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_80_ProcFuncCall/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_80_ProcFuncCall/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_80_ProcFuncCall/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_80_ProcFuncCall/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": true,
|
|
"moduleName": "W2ProcFuncCall",
|
|
"astKind": "Program",
|
|
"semanticChecks": [
|
|
"language/module/proc",
|
|
"const/var/persistent symbols",
|
|
"tool/frame/speed/zone",
|
|
"joint_target/pose_target",
|
|
"movej/movel/movec",
|
|
"path/point/event/run_path",
|
|
"operation/run_operation",
|
|
"io/wait/pulse",
|
|
"if/elseif/else/while/for/switch",
|
|
"call/return/break/continue",
|
|
"proc parameter directions",
|
|
"func returns and side effects",
|
|
"alarm/raise/try/catch",
|
|
"source map propagation",
|
|
"KDL motion request bridge",
|
|
"KDL path request bridge",
|
|
"duplicate symbol diagnostics",
|
|
"missing reference diagnostics",
|
|
"P1 unsupported diagnostics",
|
|
"operation action expansion",
|
|
"path event expansion",
|
|
"raw statement preservation"
|
|
],
|
|
"sourceMapEntries": 9,
|
|
"kdlMotionRequests": 0,
|
|
"kdlPathRequests": 0,
|
|
"symbolCount": 8,
|
|
"procedureCount": 3,
|
|
"pathCount": 0,
|
|
"operationCount": 0
|
|
},
|
|
"controller": {
|
|
"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": [],
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2ProcFuncCall",
|
|
"source": {
|
|
"kind": "RAW_STATEMENT",
|
|
"id": "main:RAW_STATEMENT:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2ProcFuncCall"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "RAW_STATEMENT",
|
|
"source": {
|
|
"kind": "RAW_STATEMENT",
|
|
"id": "main:RAW_STATEMENT:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"source": {
|
|
"kind": "RAW_STATEMENT",
|
|
"id": "main:RAW_STATEMENT:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "RAW_STATEMENT",
|
|
"source": {
|
|
"kind": "RAW_STATEMENT",
|
|
"id": "main:RAW_STATEMENT:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 4
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "read_part",
|
|
"pc": 0,
|
|
"instructionKind": "CALL",
|
|
"message": "Call read_part",
|
|
"source": {
|
|
"kind": "CALL",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
},
|
|
"procedureId": "read_part"
|
|
},
|
|
"id": 5
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "read_part",
|
|
"pc": 1,
|
|
"instructionKind": "RAW_STATEMENT",
|
|
"source": {
|
|
"kind": "RAW_STATEMENT",
|
|
"id": "read_part:RAW_STATEMENT:8:5",
|
|
"sourceMap": {
|
|
"line": 8,
|
|
"column": 5
|
|
},
|
|
"procedureId": "read_part"
|
|
},
|
|
"id": 6
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 3,
|
|
"message": "Execution exceeded 3 steps",
|
|
"source": {
|
|
"kind": "CALL",
|
|
"id": "main:CALL:20:5",
|
|
"sourceMap": {
|
|
"line": 20,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 3 steps"
|
|
},
|
|
"id": 7
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "increment_retry",
|
|
"pc": 0,
|
|
"instructionKind": "CALL",
|
|
"message": "Call increment_retry",
|
|
"source": {
|
|
"kind": "CALL",
|
|
"sourceMap": {
|
|
"line": 20,
|
|
"column": 5
|
|
},
|
|
"procedureId": "increment_retry"
|
|
},
|
|
"id": 8
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "increment_retry",
|
|
"pc": 1,
|
|
"instructionKind": "RAW_STATEMENT",
|
|
"source": {
|
|
"kind": "RAW_STATEMENT",
|
|
"id": "increment_retry:RAW_STATEMENT:11:5",
|
|
"sourceMap": {
|
|
"line": 11,
|
|
"column": 5
|
|
},
|
|
"procedureId": "increment_retry"
|
|
},
|
|
"id": 9
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 5,
|
|
"instructionKind": "EXEC_IF",
|
|
"source": {
|
|
"kind": "EXEC_IF",
|
|
"id": "main:EXEC_IF:21:5",
|
|
"sourceMap": {
|
|
"line": 21,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 10
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 5,
|
|
"instructionKind": "RETURN",
|
|
"source": {
|
|
"kind": "RETURN",
|
|
"id": "main:RETURN:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 11
|
|
}
|
|
],
|
|
"currentSource": {
|
|
"kind": "RETURN",
|
|
"id": "main:RETURN:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"completed": true
|
|
},
|
|
"motion": {
|
|
"items": [],
|
|
"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_80_ProcFuncCall-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": []
|
|
}
|
|
}
|
|
},
|
|
"motionQueue": {
|
|
"items": [],
|
|
"activeIndex": 0,
|
|
"virtualTime": 0.1
|
|
},
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2ProcFuncCall",
|
|
"source": {
|
|
"kind": "RAW_STATEMENT",
|
|
"id": "main:RAW_STATEMENT:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2ProcFuncCall"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "RAW_STATEMENT",
|
|
"source": {
|
|
"kind": "RAW_STATEMENT",
|
|
"id": "main:RAW_STATEMENT:17:5",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"message": "Execution exceeded 1 steps",
|
|
"source": {
|
|
"kind": "RAW_STATEMENT",
|
|
"id": "main:RAW_STATEMENT:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 1 steps"
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 2,
|
|
"instructionKind": "RAW_STATEMENT",
|
|
"source": {
|
|
"kind": "RAW_STATEMENT",
|
|
"id": "main:RAW_STATEMENT:18:5",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 4
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "read_part",
|
|
"pc": 0,
|
|
"instructionKind": "CALL",
|
|
"message": "Call read_part",
|
|
"source": {
|
|
"kind": "CALL",
|
|
"sourceMap": {
|
|
"line": 19,
|
|
"column": 5
|
|
},
|
|
"procedureId": "read_part"
|
|
},
|
|
"id": 5
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "instruction",
|
|
"procedure": "read_part",
|
|
"pc": 1,
|
|
"instructionKind": "RAW_STATEMENT",
|
|
"source": {
|
|
"kind": "RAW_STATEMENT",
|
|
"id": "read_part:RAW_STATEMENT:8:5",
|
|
"sourceMap": {
|
|
"line": 8,
|
|
"column": 5
|
|
},
|
|
"procedureId": "read_part"
|
|
},
|
|
"id": 6
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "diagnostic",
|
|
"procedure": "main",
|
|
"pc": 3,
|
|
"message": "Execution exceeded 3 steps",
|
|
"source": {
|
|
"kind": "CALL",
|
|
"id": "main:CALL:20:5",
|
|
"sourceMap": {
|
|
"line": 20,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"diagnostic": {
|
|
"severity": "error",
|
|
"code": "VC_STEP_LIMIT_EXCEEDED",
|
|
"message": "Execution exceeded 3 steps"
|
|
},
|
|
"id": 7
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "increment_retry",
|
|
"pc": 0,
|
|
"instructionKind": "CALL",
|
|
"message": "Call increment_retry",
|
|
"source": {
|
|
"kind": "CALL",
|
|
"sourceMap": {
|
|
"line": 20,
|
|
"column": 5
|
|
},
|
|
"procedureId": "increment_retry"
|
|
},
|
|
"id": 8
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "increment_retry",
|
|
"pc": 1,
|
|
"instructionKind": "RAW_STATEMENT",
|
|
"source": {
|
|
"kind": "RAW_STATEMENT",
|
|
"id": "increment_retry:RAW_STATEMENT:11:5",
|
|
"sourceMap": {
|
|
"line": 11,
|
|
"column": 5
|
|
},
|
|
"procedureId": "increment_retry"
|
|
},
|
|
"id": 9
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 5,
|
|
"instructionKind": "EXEC_IF",
|
|
"source": {
|
|
"kind": "EXEC_IF",
|
|
"id": "main:EXEC_IF:21:5",
|
|
"sourceMap": {
|
|
"line": 21,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 10
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 5,
|
|
"instructionKind": "RETURN",
|
|
"source": {
|
|
"kind": "RETURN",
|
|
"id": "main:RETURN:24:5",
|
|
"sourceMap": {
|
|
"line": 24,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 11
|
|
}
|
|
],
|
|
"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_80_ProcFuncCall-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
|
|
}
|
|
]
|
|
},
|
|
"trajectory": {
|
|
"sampleCount": 0,
|
|
"duration": 0,
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"endJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"diagnostics": []
|
|
},
|
|
"post": {
|
|
"filenames": [
|
|
"W2ProcFuncCall.mod",
|
|
"W2ProcFuncCall.ls",
|
|
"W2ProcFuncCall.src"
|
|
],
|
|
"report": [
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RAW_STATEMENT is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RAW_STATEMENT is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "CALL is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "CALL is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_IF is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RETURN is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RAW_STATEMENT is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RAW_STATEMENT is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "CALL is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "CALL is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_IF is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RETURN is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RAW_STATEMENT is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RAW_STATEMENT is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "CALL is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "CALL is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "EXEC_IF is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RETURN is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_90_ExceptionAlarm",
|
|
"file": "runtime/W2_90_ExceptionAlarm.grl",
|
|
"coverage_level": "Runtime",
|
|
"expected_status": "pass",
|
|
"status": "pass",
|
|
"input_hash": "494455105f84d035ce785747ee5dde77d85db6fb2bd907d1774d1de14e61a6a0",
|
|
"spec_sections": [
|
|
16,
|
|
17
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "warning",
|
|
"code": "GRL_P1_UNIMPLEMENTED",
|
|
"message": "trap recover_trap is parsed but not executable in P0",
|
|
"sourceMap": {
|
|
"line": 6,
|
|
"column": 3
|
|
}
|
|
},
|
|
{
|
|
"severity": "warning",
|
|
"code": "GRL_P1_UNIMPLEMENTED",
|
|
"message": "task background is parsed but not executable in P0",
|
|
"sourceMap": {
|
|
"line": 9,
|
|
"column": 3
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement raise preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 7
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement E_PICK_FAILED preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 16,
|
|
"column": 13
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement E_PICK_FAILED preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 17,
|
|
"column": 11
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement alarm preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 7
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement RECOVER preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 13
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement \"recovering\" preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 21
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement severity preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 34
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement warning preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 18,
|
|
"column": 43
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement alarm preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 20,
|
|
"column": 7
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement CLEANUP preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 20,
|
|
"column": 13
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_RAW_STATEMENT_PRESERVED",
|
|
"message": "Statement \"cleanup\" preserved as raw IR",
|
|
"sourceMap": {
|
|
"line": 20,
|
|
"column": 21
|
|
}
|
|
}
|
|
],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_90_ExceptionAlarm/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_90_ExceptionAlarm/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_90_ExceptionAlarm/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_90_ExceptionAlarm/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_90_ExceptionAlarm/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_90_ExceptionAlarm/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_90_ExceptionAlarm/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_90_ExceptionAlarm/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": true,
|
|
"moduleName": "W2ExceptionAlarm",
|
|
"astKind": "Program",
|
|
"semanticChecks": [
|
|
"language/module/proc",
|
|
"const/var/persistent symbols",
|
|
"tool/frame/speed/zone",
|
|
"joint_target/pose_target",
|
|
"movej/movel/movec",
|
|
"path/point/event/run_path",
|
|
"operation/run_operation",
|
|
"io/wait/pulse",
|
|
"if/elseif/else/while/for/switch",
|
|
"call/return/break/continue",
|
|
"proc parameter directions",
|
|
"func returns and side effects",
|
|
"alarm/raise/try/catch",
|
|
"source map propagation",
|
|
"KDL motion request bridge",
|
|
"KDL path request bridge",
|
|
"duplicate symbol diagnostics",
|
|
"missing reference diagnostics",
|
|
"P1 unsupported diagnostics",
|
|
"operation action expansion",
|
|
"path event expansion",
|
|
"raw statement preservation"
|
|
],
|
|
"sourceMapEntries": 5,
|
|
"kdlMotionRequests": 1,
|
|
"kdlPathRequests": 0,
|
|
"symbolCount": 6,
|
|
"procedureCount": 1,
|
|
"pathCount": 0,
|
|
"operationCount": 0
|
|
},
|
|
"controller": {
|
|
"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": []
|
|
}
|
|
}
|
|
},
|
|
"motionQueue": {
|
|
"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
|
|
},
|
|
"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
|
|
}
|
|
],
|
|
"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
|
|
}
|
|
]
|
|
},
|
|
"trajectory": {
|
|
"sampleCount": 4,
|
|
"duration": 0.24,
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"endJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"diagnostics": []
|
|
},
|
|
"post": {
|
|
"filenames": [
|
|
"W2ExceptionAlarm.mod",
|
|
"W2ExceptionAlarm.ls",
|
|
"W2ExceptionAlarm.src"
|
|
],
|
|
"report": [
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "ALARM is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RAW_STATEMENT is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "UNSUPPORTED_RUNTIME is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "UNSUPPORTED_RUNTIME is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "ALARM is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RAW_STATEMENT is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "UNSUPPORTED_RUNTIME is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "UNSUPPORTED_RUNTIME is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "ALARM is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RAW_STATEMENT is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "UNSUPPORTED_RUNTIME is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "UNSUPPORTED_RUNTIME is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_E10_ExpressionDiagnostics",
|
|
"file": "static/W2_E10_ExpressionDiagnostics.grl",
|
|
"coverage_level": "Static",
|
|
"expected_status": "diagnostic",
|
|
"status": "diagnostic",
|
|
"input_hash": "c08db186d16a8bc3f0ecb4731abb6601d8c69348fd08ca6b21b8848f32df2347",
|
|
"spec_sections": [
|
|
7,
|
|
22
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "error",
|
|
"code": "GRL_EXPR_UNKNOWN_SYMBOL",
|
|
"message": "Unknown constant missing_symbol",
|
|
"sourceMap": {
|
|
"line": 4,
|
|
"column": 41
|
|
}
|
|
}
|
|
],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E10_ExpressionDiagnostics/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E10_ExpressionDiagnostics/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E10_ExpressionDiagnostics/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E10_ExpressionDiagnostics/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E10_ExpressionDiagnostics/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E10_ExpressionDiagnostics/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E10_ExpressionDiagnostics/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E10_ExpressionDiagnostics/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": false,
|
|
"semanticChecks": [],
|
|
"sourceMapEntries": 0,
|
|
"kdlMotionRequests": 0,
|
|
"kdlPathRequests": 0,
|
|
"symbolCount": 0,
|
|
"procedureCount": 0,
|
|
"pathCount": 0,
|
|
"operationCount": 0
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_E20_SemanticDiagnostics",
|
|
"file": "static/W2_E20_SemanticDiagnostics.grl",
|
|
"coverage_level": "Static",
|
|
"expected_status": "diagnostic",
|
|
"status": "diagnostic",
|
|
"input_hash": "98750f73027e3272a3f1e86f90ea6066d67387e7ffef190441893fff38012ed5",
|
|
"spec_sections": [
|
|
6,
|
|
15,
|
|
22
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "error",
|
|
"code": "GRL_ARGUMENT_NOT_LVALUE",
|
|
"message": "out argument done must be a writable lvalue",
|
|
"sourceMap": {
|
|
"line": 15,
|
|
"column": 19
|
|
}
|
|
},
|
|
{
|
|
"severity": "error",
|
|
"code": "GRL_SYMBOL_DUPLICATE",
|
|
"message": "Duplicate symbol v",
|
|
"sourceMap": {
|
|
"line": 4,
|
|
"column": 3
|
|
}
|
|
}
|
|
],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E20_SemanticDiagnostics/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E20_SemanticDiagnostics/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E20_SemanticDiagnostics/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E20_SemanticDiagnostics/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E20_SemanticDiagnostics/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E20_SemanticDiagnostics/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E20_SemanticDiagnostics/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E20_SemanticDiagnostics/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": false,
|
|
"semanticChecks": [],
|
|
"sourceMapEntries": 0,
|
|
"kdlMotionRequests": 0,
|
|
"kdlPathRequests": 0,
|
|
"symbolCount": 0,
|
|
"procedureCount": 0,
|
|
"pathCount": 0,
|
|
"operationCount": 0
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_E30_MotionDiagnostics",
|
|
"file": "error/W2_E30_MotionDiagnostics.grl",
|
|
"coverage_level": "Static",
|
|
"expected_status": "diagnostic",
|
|
"status": "diagnostic",
|
|
"input_hash": "19f8c9f8a1ba6f6cfa8dde62207f8ee1797267e9addf7bbdbfbe941d8734b543",
|
|
"spec_sections": [
|
|
8,
|
|
9,
|
|
10,
|
|
11,
|
|
22
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "error",
|
|
"code": "GRL_PATH_EMPTY",
|
|
"message": "Path empty_path must contain at least one point"
|
|
}
|
|
],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E30_MotionDiagnostics/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E30_MotionDiagnostics/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E30_MotionDiagnostics/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E30_MotionDiagnostics/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E30_MotionDiagnostics/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E30_MotionDiagnostics/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E30_MotionDiagnostics/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E30_MotionDiagnostics/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": false,
|
|
"semanticChecks": [],
|
|
"sourceMapEntries": 0,
|
|
"kdlMotionRequests": 0,
|
|
"kdlPathRequests": 0,
|
|
"symbolCount": 0,
|
|
"procedureCount": 0,
|
|
"pathCount": 0,
|
|
"operationCount": 0
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_E40_ControlFlowDiagnostics",
|
|
"file": "static/W2_E40_ControlFlowDiagnostics.grl",
|
|
"coverage_level": "Static",
|
|
"expected_status": "diagnostic",
|
|
"status": "diagnostic",
|
|
"input_hash": "3ba920eda8d0932b260b9875ce395803d55ebb6a48ecb3c8857b2a4ef1478fea",
|
|
"spec_sections": [
|
|
14,
|
|
22
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "error",
|
|
"code": "GRL_BREAK_OUTSIDE_FLOW",
|
|
"message": "break is only valid inside loop or switch",
|
|
"sourceMap": {
|
|
"line": 5,
|
|
"column": 5
|
|
}
|
|
}
|
|
],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E40_ControlFlowDiagnostics/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E40_ControlFlowDiagnostics/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E40_ControlFlowDiagnostics/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E40_ControlFlowDiagnostics/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E40_ControlFlowDiagnostics/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E40_ControlFlowDiagnostics/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E40_ControlFlowDiagnostics/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E40_ControlFlowDiagnostics/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": false,
|
|
"semanticChecks": [],
|
|
"sourceMapEntries": 0,
|
|
"kdlMotionRequests": 0,
|
|
"kdlPathRequests": 0,
|
|
"symbolCount": 0,
|
|
"procedureCount": 0,
|
|
"pathCount": 0,
|
|
"operationCount": 0
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_E50_RuntimeTimeout",
|
|
"file": "error/W2_E50_RuntimeTimeout.grl",
|
|
"coverage_level": "Runtime",
|
|
"expected_status": "diagnostic",
|
|
"status": "pass",
|
|
"input_hash": "2d5b41bef4b80c8a22f48697abe3b1a335779f439741f52376388091d8ea4fb6",
|
|
"spec_sections": [
|
|
13,
|
|
16
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "warning",
|
|
"code": "VC_WAIT_TIMEOUT",
|
|
"message": "Wait timed out after 0.1s",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"data": {
|
|
"condition": "io . di [ 99 ] == true"
|
|
}
|
|
}
|
|
],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E50_RuntimeTimeout/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E50_RuntimeTimeout/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E50_RuntimeTimeout/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E50_RuntimeTimeout/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E50_RuntimeTimeout/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E50_RuntimeTimeout/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E50_RuntimeTimeout/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_E50_RuntimeTimeout/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": true,
|
|
"moduleName": "W2RuntimeTimeout",
|
|
"astKind": "Program",
|
|
"semanticChecks": [
|
|
"language/module/proc",
|
|
"const/var/persistent symbols",
|
|
"tool/frame/speed/zone",
|
|
"joint_target/pose_target",
|
|
"movej/movel/movec",
|
|
"path/point/event/run_path",
|
|
"operation/run_operation",
|
|
"io/wait/pulse",
|
|
"if/elseif/else/while/for/switch",
|
|
"call/return/break/continue",
|
|
"proc parameter directions",
|
|
"func returns and side effects",
|
|
"alarm/raise/try/catch",
|
|
"source map propagation",
|
|
"KDL motion request bridge",
|
|
"KDL path request bridge",
|
|
"duplicate symbol diagnostics",
|
|
"missing reference diagnostics",
|
|
"P1 unsupported diagnostics",
|
|
"operation action expansion",
|
|
"path event expansion",
|
|
"raw statement preservation"
|
|
],
|
|
"sourceMapEntries": 4,
|
|
"kdlMotionRequests": 1,
|
|
"kdlPathRequests": 0,
|
|
"symbolCount": 5,
|
|
"procedureCount": 2,
|
|
"pathCount": 0,
|
|
"operationCount": 0
|
|
},
|
|
"controller": {
|
|
"commands": [
|
|
{
|
|
"command": "loadProgram",
|
|
"before": "unloaded",
|
|
"after": "stopped",
|
|
"result": "ok",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "start",
|
|
"before": "stopped",
|
|
"after": "running",
|
|
"result": "blocked",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "stepInto",
|
|
"before": "paused",
|
|
"after": "paused",
|
|
"result": "blocked",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "hold",
|
|
"before": "paused",
|
|
"after": "hold",
|
|
"result": "ok",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "resume",
|
|
"before": "hold",
|
|
"after": "running",
|
|
"result": "blocked",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "stepMotion",
|
|
"before": "running",
|
|
"after": "running",
|
|
"result": "ok",
|
|
"diagnostics": []
|
|
},
|
|
{
|
|
"command": "stop",
|
|
"before": "running",
|
|
"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": 1,
|
|
"callStack": [
|
|
{
|
|
"procedure": "main",
|
|
"pc": 1
|
|
}
|
|
],
|
|
"scopeStack": [
|
|
{
|
|
"id": "global",
|
|
"variables": {
|
|
"$wait:main:0": 0,
|
|
"$wait:main:1": 0.1
|
|
}
|
|
},
|
|
{
|
|
"id": "main",
|
|
"variables": {}
|
|
}
|
|
],
|
|
"alarmQueue": [
|
|
{
|
|
"id": "DI99 timeout",
|
|
"message": "DI99 timeout",
|
|
"severity": "warning",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"time": 0.1
|
|
}
|
|
],
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2RuntimeTimeout",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2RuntimeTimeout"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "waiting",
|
|
"elapsed": 0
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "waiting",
|
|
"elapsed": 0
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "waiting",
|
|
"elapsed": 0
|
|
},
|
|
"id": 4
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "timeout",
|
|
"elapsed": 0.1
|
|
},
|
|
"id": 5
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "alarm",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "DI99 timeout",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"alarmId": "DI99 timeout",
|
|
"severity": "warning"
|
|
},
|
|
"id": 6
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 7
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:11:5",
|
|
"sourceMap": {
|
|
"line": 11,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "waiting",
|
|
"elapsed": 0
|
|
},
|
|
"id": 8
|
|
}
|
|
],
|
|
"currentSource": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:11:5",
|
|
"sourceMap": {
|
|
"line": 11,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"completed": false
|
|
},
|
|
"motion": {
|
|
"items": [],
|
|
"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]": false,
|
|
"io.di[6]": true,
|
|
"io.di[7]": false,
|
|
"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"
|
|
}
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "warning",
|
|
"code": "VC_WAIT_TIMEOUT",
|
|
"message": "Wait timed out after 0.1s",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"data": {
|
|
"condition": "io . di [ 99 ] == true"
|
|
}
|
|
}
|
|
],
|
|
"scripts": []
|
|
},
|
|
"bridge": {
|
|
"pathIds": [],
|
|
"operationIds": [],
|
|
"diagnostics": []
|
|
}
|
|
}
|
|
},
|
|
"motionQueue": {
|
|
"items": [],
|
|
"activeIndex": 0,
|
|
"virtualTime": 0.1
|
|
},
|
|
"trace": [
|
|
{
|
|
"time": 0,
|
|
"kind": "load",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "Loaded W2RuntimeTimeout",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"moduleName": "W2RuntimeTimeout"
|
|
},
|
|
"id": 1
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "waiting",
|
|
"elapsed": 0
|
|
},
|
|
"id": 2
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "waiting",
|
|
"elapsed": 0
|
|
},
|
|
"id": 3
|
|
},
|
|
{
|
|
"time": 0,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "waiting",
|
|
"elapsed": 0
|
|
},
|
|
"id": 4
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "timeout",
|
|
"elapsed": 0.1
|
|
},
|
|
"id": 5
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "alarm",
|
|
"procedure": "main",
|
|
"pc": 0,
|
|
"message": "DI99 timeout",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"alarmId": "DI99 timeout",
|
|
"severity": "warning"
|
|
},
|
|
"id": 6
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "instruction",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:10:5",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"id": 7
|
|
},
|
|
{
|
|
"time": 0.1,
|
|
"kind": "wait",
|
|
"procedure": "main",
|
|
"pc": 1,
|
|
"instructionKind": "WAIT",
|
|
"source": {
|
|
"kind": "WAIT",
|
|
"id": "main:WAIT:11:5",
|
|
"sourceMap": {
|
|
"line": 11,
|
|
"column": 5
|
|
},
|
|
"procedureId": "main"
|
|
},
|
|
"data": {
|
|
"status": "waiting",
|
|
"elapsed": 0
|
|
},
|
|
"id": 8
|
|
}
|
|
],
|
|
"io": {
|
|
"time": 0.1,
|
|
"image": {
|
|
"io.di[1]": true,
|
|
"io.di[2]": false,
|
|
"io.di[3]": true,
|
|
"io.di[4]": false,
|
|
"io.di[5]": false,
|
|
"io.di[6]": true,
|
|
"io.di[7]": false,
|
|
"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"
|
|
}
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "warning",
|
|
"code": "VC_WAIT_TIMEOUT",
|
|
"message": "Wait timed out after 0.1s",
|
|
"sourceMap": {
|
|
"line": 10,
|
|
"column": 5
|
|
},
|
|
"data": {
|
|
"condition": "io . di [ 99 ] == true"
|
|
}
|
|
}
|
|
],
|
|
"scripts": []
|
|
},
|
|
"trajectory": {
|
|
"sampleCount": 0,
|
|
"duration": 0,
|
|
"startJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"endJoints": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"diagnostics": []
|
|
},
|
|
"post": {
|
|
"filenames": [
|
|
"W2RuntimeTimeout.mod",
|
|
"W2RuntimeTimeout.ls",
|
|
"W2RuntimeTimeout.src"
|
|
],
|
|
"report": []
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_P10_BrandHints",
|
|
"file": "post/W2_P10_BrandHints.grl",
|
|
"coverage_level": "Post",
|
|
"expected_status": "pass",
|
|
"status": "pass",
|
|
"input_hash": "0b0b7f523d6afa37eb7b33db69fc8dc8eef910799030e24a13b87344bb0a7f80",
|
|
"spec_sections": [
|
|
18,
|
|
20
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"message": "post_hint fanuc ignored for abb",
|
|
"data": {
|
|
"brand": "abb"
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"message": "post_hint kuka ignored for abb",
|
|
"data": {
|
|
"brand": "abb"
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"message": "post_hint abb ignored for fanuc",
|
|
"data": {
|
|
"brand": "fanuc"
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"message": "post_hint kuka ignored for fanuc",
|
|
"data": {
|
|
"brand": "fanuc"
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"message": "post_hint abb ignored for kuka",
|
|
"data": {
|
|
"brand": "kuka"
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"message": "post_hint fanuc ignored for kuka",
|
|
"data": {
|
|
"brand": "kuka"
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_TARGETS",
|
|
"message": "abb import mapped 1 targets"
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_MOTIONS",
|
|
"message": "abb import mapped 1 motion points"
|
|
},
|
|
{
|
|
"severity": "warning",
|
|
"code": "IMPORT_TARGET_STUB",
|
|
"message": "Target home was referenced by motion but had no parsed position; a zero pose stub was created",
|
|
"sourceMap": {
|
|
"file": "W2BrandHints.mod",
|
|
"line": 3
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_TOOL_DETECTED",
|
|
"message": "abb tool selection detected and recorded as import metadata"
|
|
}
|
|
],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P10_BrandHints/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P10_BrandHints/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P10_BrandHints/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P10_BrandHints/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P10_BrandHints/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P10_BrandHints/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P10_BrandHints/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P10_BrandHints/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": true,
|
|
"moduleName": "W2BrandHints",
|
|
"astKind": "Program",
|
|
"semanticChecks": [
|
|
"language/module/proc",
|
|
"const/var/persistent symbols",
|
|
"tool/frame/speed/zone",
|
|
"joint_target/pose_target",
|
|
"movej/movel/movec",
|
|
"path/point/event/run_path",
|
|
"operation/run_operation",
|
|
"io/wait/pulse",
|
|
"if/elseif/else/while/for/switch",
|
|
"call/return/break/continue",
|
|
"proc parameter directions",
|
|
"func returns and side effects",
|
|
"alarm/raise/try/catch",
|
|
"source map propagation",
|
|
"KDL motion request bridge",
|
|
"KDL path request bridge",
|
|
"duplicate symbol diagnostics",
|
|
"missing reference diagnostics",
|
|
"P1 unsupported diagnostics",
|
|
"operation action expansion",
|
|
"path event expansion",
|
|
"raw statement preservation"
|
|
],
|
|
"sourceMapEntries": 1,
|
|
"kdlMotionRequests": 1,
|
|
"kdlPathRequests": 0,
|
|
"symbolCount": 7,
|
|
"procedureCount": 1,
|
|
"pathCount": 0,
|
|
"operationCount": 0
|
|
},
|
|
"post": {
|
|
"filenames": [
|
|
"W2BrandHints.mod",
|
|
"W2BrandHints.ls",
|
|
"W2BrandHints.src"
|
|
],
|
|
"report": [
|
|
{
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"severity": "info",
|
|
"message": "post_hint fanuc ignored for abb",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"severity": "info",
|
|
"message": "post_hint kuka ignored for abb",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"severity": "info",
|
|
"message": "post_hint abb ignored for fanuc",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"severity": "info",
|
|
"message": "post_hint kuka ignored for fanuc",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"severity": "info",
|
|
"message": "post_hint abb ignored for kuka",
|
|
"brand": "kuka"
|
|
},
|
|
{
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"severity": "info",
|
|
"message": "post_hint fanuc ignored for kuka",
|
|
"brand": "kuka"
|
|
}
|
|
]
|
|
},
|
|
"roundtrip": {
|
|
"status": "warn",
|
|
"diagnostics": [
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_TARGETS",
|
|
"message": "abb import mapped 1 targets"
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_MOTIONS",
|
|
"message": "abb import mapped 1 motion points"
|
|
},
|
|
{
|
|
"severity": "warning",
|
|
"code": "IMPORT_TARGET_STUB",
|
|
"message": "Target home was referenced by motion but had no parsed position; a zero pose stub was created",
|
|
"sourceMap": {
|
|
"file": "W2BrandHints.mod",
|
|
"line": 3
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_TOOL_DETECTED",
|
|
"message": "abb tool selection detected and recorded as import metadata"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_P20_CrossBrandMotion",
|
|
"file": "post/W2_P20_CrossBrandMotion.grl",
|
|
"coverage_level": "Post",
|
|
"expected_status": "pass",
|
|
"status": "pass",
|
|
"input_hash": "25574be5f4073c18281213d73b72e386f93b1ec57fe21490a9097f8050ce68eb",
|
|
"spec_sections": [
|
|
20
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"message": "post_hint abb ignored for fanuc",
|
|
"data": {
|
|
"brand": "fanuc"
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"message": "post_hint abb ignored for kuka",
|
|
"data": {
|
|
"brand": "kuka"
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_TARGETS",
|
|
"message": "abb import mapped 1 targets"
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_MOTIONS",
|
|
"message": "abb import mapped 1 motion points"
|
|
},
|
|
{
|
|
"severity": "warning",
|
|
"code": "IMPORT_TARGET_STUB",
|
|
"message": "Target home was referenced by motion but had no parsed position; a zero pose stub was created",
|
|
"sourceMap": {
|
|
"file": "W2CrossBrandMotion.mod",
|
|
"line": 3
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_TOOL_DETECTED",
|
|
"message": "abb tool selection detected and recorded as import metadata"
|
|
}
|
|
],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P20_CrossBrandMotion/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P20_CrossBrandMotion/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P20_CrossBrandMotion/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P20_CrossBrandMotion/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P20_CrossBrandMotion/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P20_CrossBrandMotion/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P20_CrossBrandMotion/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P20_CrossBrandMotion/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": true,
|
|
"moduleName": "W2CrossBrandMotion",
|
|
"astKind": "Program",
|
|
"semanticChecks": [
|
|
"language/module/proc",
|
|
"const/var/persistent symbols",
|
|
"tool/frame/speed/zone",
|
|
"joint_target/pose_target",
|
|
"movej/movel/movec",
|
|
"path/point/event/run_path",
|
|
"operation/run_operation",
|
|
"io/wait/pulse",
|
|
"if/elseif/else/while/for/switch",
|
|
"call/return/break/continue",
|
|
"proc parameter directions",
|
|
"func returns and side effects",
|
|
"alarm/raise/try/catch",
|
|
"source map propagation",
|
|
"KDL motion request bridge",
|
|
"KDL path request bridge",
|
|
"duplicate symbol diagnostics",
|
|
"missing reference diagnostics",
|
|
"P1 unsupported diagnostics",
|
|
"operation action expansion",
|
|
"path event expansion",
|
|
"raw statement preservation"
|
|
],
|
|
"sourceMapEntries": 6,
|
|
"kdlMotionRequests": 3,
|
|
"kdlPathRequests": 0,
|
|
"symbolCount": 10,
|
|
"procedureCount": 1,
|
|
"pathCount": 0,
|
|
"operationCount": 0
|
|
},
|
|
"post": {
|
|
"filenames": [
|
|
"W2CrossBrandMotion.mod",
|
|
"W2CrossBrandMotion.ls",
|
|
"W2CrossBrandMotion.src"
|
|
],
|
|
"report": [
|
|
{
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"severity": "info",
|
|
"message": "post_hint abb ignored for fanuc",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_HINT_IGNORED",
|
|
"severity": "info",
|
|
"message": "post_hint abb ignored for kuka",
|
|
"brand": "kuka"
|
|
}
|
|
]
|
|
},
|
|
"roundtrip": {
|
|
"status": "warn",
|
|
"diagnostics": [
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_TARGETS",
|
|
"message": "abb import mapped 1 targets"
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_MOTIONS",
|
|
"message": "abb import mapped 1 motion points"
|
|
},
|
|
{
|
|
"severity": "warning",
|
|
"code": "IMPORT_TARGET_STUB",
|
|
"message": "Target home was referenced by motion but had no parsed position; a zero pose stub was created",
|
|
"sourceMap": {
|
|
"file": "W2CrossBrandMotion.mod",
|
|
"line": 3
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_TOOL_DETECTED",
|
|
"message": "abb tool selection detected and recorded as import metadata"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"program_id": "W2_P30_Roundtrip",
|
|
"file": "post/W2_P30_Roundtrip.grl",
|
|
"coverage_level": "Post",
|
|
"expected_status": "pass",
|
|
"status": "pass",
|
|
"input_hash": "ffef36ecf9e77bceff45b3438905861f7007365b608525e14f18561e58d2e6cf",
|
|
"spec_sections": [
|
|
19,
|
|
20,
|
|
21
|
|
],
|
|
"diagnostics": [
|
|
{
|
|
"severity": "warning",
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"message": "RUN_OPERATION is not supported by abb prototype postprocessor",
|
|
"data": {
|
|
"brand": "abb"
|
|
}
|
|
},
|
|
{
|
|
"severity": "warning",
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"message": "RUN_OPERATION is not supported by fanuc prototype postprocessor",
|
|
"data": {
|
|
"brand": "fanuc"
|
|
}
|
|
},
|
|
{
|
|
"severity": "warning",
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"message": "RUN_OPERATION is not supported by kuka prototype postprocessor",
|
|
"data": {
|
|
"brand": "kuka"
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_TARGETS",
|
|
"message": "abb import mapped 1 targets"
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_MOTIONS",
|
|
"message": "abb import mapped 1 motion points"
|
|
},
|
|
{
|
|
"severity": "warning",
|
|
"code": "IMPORT_TARGET_STUB",
|
|
"message": "Target home was referenced by motion but had no parsed position; a zero pose stub was created",
|
|
"sourceMap": {
|
|
"file": "W2Roundtrip.mod",
|
|
"line": 3
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_TOOL_DETECTED",
|
|
"message": "abb tool selection detected and recorded as import metadata"
|
|
}
|
|
],
|
|
"artifacts": {
|
|
"jobJson": "W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"compileJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P30_Roundtrip/compile.json",
|
|
"controllerJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P30_Roundtrip/controller.json",
|
|
"motionQueueJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P30_Roundtrip/motion-queue.json",
|
|
"traceJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P30_Roundtrip/trace.json",
|
|
"ioJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P30_Roundtrip/io.json",
|
|
"trajectoryJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P30_Roundtrip/trajectory.json",
|
|
"postReportJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P30_Roundtrip/post-report.json",
|
|
"roundtripJson": "W2-JOB-20260628021400-19b5a2c7/programs/W2_P30_Roundtrip/roundtrip.json",
|
|
"reportJson": "W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "W2-JOB-20260628021400-19b5a2c7/report.html"
|
|
},
|
|
"compile": {
|
|
"parsed": true,
|
|
"moduleName": "W2Roundtrip",
|
|
"astKind": "Program",
|
|
"semanticChecks": [
|
|
"language/module/proc",
|
|
"const/var/persistent symbols",
|
|
"tool/frame/speed/zone",
|
|
"joint_target/pose_target",
|
|
"movej/movel/movec",
|
|
"path/point/event/run_path",
|
|
"operation/run_operation",
|
|
"io/wait/pulse",
|
|
"if/elseif/else/while/for/switch",
|
|
"call/return/break/continue",
|
|
"proc parameter directions",
|
|
"func returns and side effects",
|
|
"alarm/raise/try/catch",
|
|
"source map propagation",
|
|
"KDL motion request bridge",
|
|
"KDL path request bridge",
|
|
"duplicate symbol diagnostics",
|
|
"missing reference diagnostics",
|
|
"P1 unsupported diagnostics",
|
|
"operation action expansion",
|
|
"path event expansion",
|
|
"raw statement preservation"
|
|
],
|
|
"sourceMapEntries": 4,
|
|
"kdlMotionRequests": 1,
|
|
"kdlPathRequests": 1,
|
|
"symbolCount": 8,
|
|
"procedureCount": 1,
|
|
"pathCount": 1,
|
|
"operationCount": 1
|
|
},
|
|
"post": {
|
|
"filenames": [
|
|
"W2Roundtrip.mod",
|
|
"W2Roundtrip.ls",
|
|
"W2Roundtrip.src"
|
|
],
|
|
"report": [
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RUN_OPERATION is not supported by abb prototype postprocessor",
|
|
"brand": "abb"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RUN_OPERATION is not supported by fanuc prototype postprocessor",
|
|
"brand": "fanuc"
|
|
},
|
|
{
|
|
"code": "GRL_POST_UNSUPPORTED",
|
|
"severity": "warning",
|
|
"message": "RUN_OPERATION is not supported by kuka prototype postprocessor",
|
|
"brand": "kuka"
|
|
}
|
|
]
|
|
},
|
|
"roundtrip": {
|
|
"status": "warn",
|
|
"diagnostics": [
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_TARGETS",
|
|
"message": "abb import mapped 1 targets"
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_MOTIONS",
|
|
"message": "abb import mapped 1 motion points"
|
|
},
|
|
{
|
|
"severity": "warning",
|
|
"code": "IMPORT_TARGET_STUB",
|
|
"message": "Target home was referenced by motion but had no parsed position; a zero pose stub was created",
|
|
"sourceMap": {
|
|
"file": "W2Roundtrip.mod",
|
|
"line": 3
|
|
}
|
|
},
|
|
{
|
|
"severity": "info",
|
|
"code": "IMPORT_TOOL_DETECTED",
|
|
"message": "abb tool selection detected and recorded as import metadata"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"artifacts": {
|
|
"root": "kdl-wasm/web/test-results/abb120-spec/W2-JOB-20260628021400-19b5a2c7",
|
|
"manifestJson": "kdl-wasm/web/test-results/abb120-spec/W2-JOB-20260628021400-19b5a2c7/manifest.json",
|
|
"jobJson": "kdl-wasm/web/test-results/abb120-spec/W2-JOB-20260628021400-19b5a2c7/job.json",
|
|
"reportJson": "kdl-wasm/web/test-results/abb120-spec/W2-JOB-20260628021400-19b5a2c7/report.json",
|
|
"reportHtml": "kdl-wasm/web/test-results/abb120-spec/W2-JOB-20260628021400-19b5a2c7/report.html",
|
|
"desktopScreenshot": "kdl-wasm/web/test-results/abb120-spec/W2-JOB-20260628021400-19b5a2c7/screenshots/virtual-controller-desktop.png",
|
|
"mobileScreenshot": "kdl-wasm/web/test-results/abb120-spec/W2-JOB-20260628021400-19b5a2c7/screenshots/virtual-controller-mobile.png",
|
|
"uiEvidenceJson": "kdl-wasm/web/test-results/abb120-spec/W2-JOB-20260628021400-19b5a2c7/screenshots/evidence.json"
|
|
}
|
|
}
|