param( [string]$Port = "COM5", [int]$Baud = 921600 ) Set-StrictMode -Version Latest $ErrorActionPreference = "Stop" $root = Split-Path -Parent $MyInvocation.MyCommand.Path Write-Warning "DANGER: DISABLE DOES NOT STOP an active JOG in this temporary image. Only RESET, POWER-OFF, or CPLD RECONFIGURATION can STOP the motor." & powershell.exe -NoProfile -ExecutionPolicy Bypass -File (Join-Path $root "SEND_HEX.ps1") ` -Port $Port ` -Baud $Baud ` -Hex "A55A02040500000000000000000426000000C4AE" exit $LASTEXITCODE