System-variable-backed IF/GOTOF resolves through the fixture runtime.
Status: Match
IF $P_ACT_X == 1 GOTOF TARGET G1 X20 GOTO END TARGET: G1 X10 END:
{
"filename": null,
"active_skip_levels": [],
"tool_change_mode": "deferred_m6",
"enable_iso_m98_calls": false
}{
"system_variables": {
"$P_ACT_X": 0.0
},
"system_variable_reads": [],
"linear_move_results": []
}{
"name": "if_system_variable_false_branch",
"description": "System-variable-backed IF/GOTOF resolves through the fixture runtime.",
"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
},
"runtime": {
"system_variables": {
"$P_ACT_X": 0.0
},
"system_variable_reads": [],
"linear_move_results": []
},
"expected_events": [
{
"type": "system_variable_read",
"source": {
"filename": null,
"line": 1,
"line_number": null
},
"name": "$P_ACT_X",
"outcome": "ready",
"value": 0.0
},
{
"type": "linear_move",
"source": {
"filename": null,
"line": 2,
"line_number": null
},
"target": {
"x": 20.0,
"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": "if_system_variable_false_branch",
"description": "System-variable-backed IF/GOTOF resolves through the fixture runtime.",
"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
},
"runtime": {
"system_variables": {
"$P_ACT_X": 0.0
},
"system_variable_reads": [],
"linear_move_results": []
},
"expected_events": [
{
"type": "system_variable_read",
"source": {
"filename": null,
"line": 1,
"line_number": null
},
"name": "$P_ACT_X",
"outcome": "ready",
"value": 0.0
},
{
"type": "linear_move",
"source": {
"filename": null,
"line": 2,
"line_number": null
},
"target": {
"x": 20.0,
"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"
}
]
}