Pending runtime reads emit an attempted read event before blocking and a fresh ready event after resume.
Status: Match
G1 X=$P_ACT_X
{
"filename": null,
"active_skip_levels": [],
"tool_change_mode": "deferred_m6",
"enable_iso_m98_calls": false
}[
{
"action": "finish"
},
{
"action": "resume_blocked"
}
]{
"system_variables": {},
"system_variable_reads": [
{
"name": "$P_ACT_X",
"outcome": "pending",
"token": {
"kind": "system_variable",
"id": "read-001"
}
},
{
"name": "$P_ACT_X",
"outcome": "ready",
"value": 12.5
}
],
"linear_move_results": []
}{
"name": "pending_system_variable_read",
"description": "Pending runtime reads emit an attempted read event before blocking and a fresh ready event after resume.",
"initial_state": {
"modal": {
"motion_code": "",
"working_plane": "xy",
"rapid_mode": "linear",
"tool_radius_comp": "off",
"active_tool_selection": null,
"pending_tool_selection": null,
"selected_tool_selection": null
}
},
"options": {
"filename": null,
"active_skip_levels": [],
"tool_change_mode": "deferred_m6",
"enable_iso_m98_calls": false
},
"driver": [
{
"action": "finish"
},
{
"action": "resume_blocked"
}
],
"runtime": {
"system_variables": {},
"system_variable_reads": [
{
"name": "$P_ACT_X",
"outcome": "pending",
"token": {
"kind": "system_variable",
"id": "read-001"
}
},
{
"name": "$P_ACT_X",
"outcome": "ready",
"value": 12.5
}
],
"linear_move_results": []
},
"expected_events": [
{
"type": "system_variable_read",
"source": {
"filename": null,
"line": 1,
"line_number": null
},
"name": "$P_ACT_X",
"outcome": "pending",
"token": {
"kind": "system_variable",
"id": "read-001"
}
},
{
"type": "blocked",
"line": 1,
"token": {
"kind": "system_variable",
"id": "read-001"
},
"reason": "instruction execution in progress"
},
{
"type": "system_variable_read",
"source": {
"filename": null,
"line": 1,
"line_number": null
},
"name": "$P_ACT_X",
"outcome": "ready",
"value": 12.5
},
{
"type": "linear_move",
"source": {
"filename": null,
"line": 1,
"line_number": null
},
"target": {
"x": 12.5,
"y": null,
"z": null,
"a": null,
"b": null,
"c": null
},
"feed": null,
"effective": {
"motion_code": "G1",
"working_plane": "xy",
"rapid_mode": "linear",
"tool_radius_comp": "off",
"active_tool_selection": null,
"pending_tool_selection": null,
"selected_tool_selection": null
}
},
{
"type": "completed"
}
]
}
{
"name": "pending_system_variable_read",
"description": "Pending runtime reads emit an attempted read event before blocking and a fresh ready event after resume.",
"initial_state": {
"modal": {
"motion_code": "",
"working_plane": "xy",
"rapid_mode": "linear",
"tool_radius_comp": "off",
"active_tool_selection": null,
"pending_tool_selection": null,
"selected_tool_selection": null
}
},
"options": {
"filename": null,
"active_skip_levels": [],
"tool_change_mode": "deferred_m6",
"enable_iso_m98_calls": false
},
"driver": [
{
"action": "finish"
},
{
"action": "resume_blocked"
}
],
"runtime": {
"system_variables": {},
"system_variable_reads": [
{
"name": "$P_ACT_X",
"outcome": "pending",
"token": {
"kind": "system_variable",
"id": "read-001"
}
},
{
"name": "$P_ACT_X",
"outcome": "ready",
"value": 12.5
}
],
"linear_move_results": []
},
"expected_events": [
{
"type": "system_variable_read",
"source": {
"filename": null,
"line": 1,
"line_number": null
},
"name": "$P_ACT_X",
"outcome": "pending",
"token": {
"kind": "system_variable",
"id": "read-001"
}
},
{
"type": "blocked",
"line": 1,
"token": {
"kind": "system_variable",
"id": "read-001"
},
"reason": "instruction execution in progress"
},
{
"type": "system_variable_read",
"source": {
"filename": null,
"line": 1,
"line_number": null
},
"name": "$P_ACT_X",
"outcome": "ready",
"value": 12.5
},
{
"type": "linear_move",
"source": {
"filename": null,
"line": 1,
"line_number": null
},
"target": {
"x": 12.5,
"y": null,
"z": null,
"a": null,
"b": null,
"c": null
},
"feed": null,
"effective": {
"motion_code": "G1",
"working_plane": "xy",
"rapid_mode": "linear",
"tool_radius_comp": "off",
"active_tool_selection": null,
"pending_tool_selection": null,
"selected_tool_selection": null
}
},
{
"type": "completed"
}
]
}