config(smargon): take the beamline's O-motor entries (x12sa 43b2e18)

Use the sgox/sgoy/sgoz entries as committed locally on x12sa-bec-001
(limits [-2, 2]) so production can drop its local commit and pull.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
menzelandClaude Opus 5.5 authored and holler committed 2026-11-23 17:02:55 +01:00
1 parent ab187d9f80
commit 887de5582f
2 files changed
+10 -11

No files matched your search

+9 -10
View File
@@ -6,7 +6,7 @@
# host/port so they share the controller.
#
# The motor NAME (the top-level key: sgx, sgchi, ...) is yours to choose. The
# `scs_axis` field binds it to the fixed smargopolo axis (SHX/SHY/SHZ/CHI/PHI/OMEGA/OX/OY/OZ).
# `scs_axis` field binds it to the fixed smargopolo axis (SHX/SHY/SHZ/CHI/PHI/OMEGA).
#
# Referencing is a deliberate operator action: after loading, run once
# dev.smargon.reference() # (or dev.sgx.controller.reference())
@@ -76,36 +76,35 @@ sgphi:
onFailure: retry
readoutPriority: baseline
# --- O-vector (SCS offset vector OX/OY/OZ, mm) ------------------------------------
# Drivable like any SCS axis and recorded in the baseline. No soft limits by default
# (smargopolo enforces the real ones) -- add `limits: [low, high]` per experiment.
sgox:
description: SmarGon OX (offset vector)
description: SmarGon OX
deviceClass: csaxs_bec.devices.smargon.positioner.SmargopoloMotor
deviceConfig: {scs_axis: OX, host: tt-smargopolo, port: 3000, tolerance: 0.001}
deviceConfig: {scs_axis: OX, host: tt-smargopolo, port: 3000, limits: [-2, 2], tolerance: 0.001}
deviceTags: [goniometer, smargon]
enabled: true
onFailure: retry
readoutPriority: baseline
sgoy:
description: SmarGon OY (offset vector)
description: SmarGon OY
deviceClass: csaxs_bec.devices.smargon.positioner.SmargopoloMotor
deviceConfig: {scs_axis: OY, host: tt-smargopolo, port: 3000, tolerance: 0.001}
deviceConfig: {scs_axis: OY, host: tt-smargopolo, port: 3000, limits: [-2, 2], tolerance: 0.001}
deviceTags: [goniometer, smargon]
enabled: true
onFailure: retry
readoutPriority: baseline
sgoz:
description: SmarGon OZ (offset vector)
description: SmarGon OZ
deviceClass: csaxs_bec.devices.smargon.positioner.SmargopoloMotor
deviceConfig: {scs_axis: OZ, host: tt-smargopolo, port: 3000, tolerance: 0.001}
deviceConfig: {scs_axis: OZ, host: tt-smargopolo, port: 3000, limits: [-2, 2], tolerance: 0.001}
deviceTags: [goniometer, smargon]
enabled: true
onFailure: retry
readoutPriority: baseline
# --- Optional OMEGA rotation drive (only on builds that have it) -------------------
# sgomega:
# description: SmarGon OMEGA (rotation drive)
+1 -1
View File
@@ -38,7 +38,7 @@ poll-to-tolerance moves), since both wrap a non-EPICS, poll-to-confirm HTTP back
only on builds that have it.
- **O-vector motors** `sgox/sgoy/sgoz` drive the SCS offset vector `OX/OY/OZ` (all mm).
They are ordinary motors (`umv`, scans, baseline readout), so the offset is recorded
with every scan. They have no soft limits by default; set `limits` per experiment.
with every scan. The beamline config gives them `limits: [-2, 2]`; adjust per experiment.
`nudge_beamline(modify_offset=True)` (`/nudgeOBCS`) also changes them; their readback
catches up on the next read.
- **`dev.smargon`** — the coordinator: `reference()`, `get_mode()`, `is_ready()`,