Files
XplorePlane/XP.Hardware.MotionControl/Documents/App.config.example
T

66 lines
4.3 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<!-- ==================== 运动控制配置 | Motion Control Configuration ==================== -->
<!-- 直线轴配置(单位:mm| Linear axis config (unit: mm) -->
<add key="MotionControl:SourceZ:Min" value="0" />
<add key="MotionControl:SourceZ:Max" value="500" />
<add key="MotionControl:SourceZ:Origin" value="0" />
<add key="MotionControl:SourceZ:SafePosition" value="0" />
<add key="MotionControl:DetectorZ:Min" value="0" />
<add key="MotionControl:DetectorZ:Max" value="600" />
<add key="MotionControl:DetectorZ:Origin" value="0" />
<add key="MotionControl:DetectorZ:SafePosition" value="600" />
<add key="MotionControl:StageX:Min" value="-150" />
<add key="MotionControl:StageX:Max" value="150" />
<add key="MotionControl:StageX:Origin" value="0" />
<add key="MotionControl:StageX:SafePosition" value="0" />
<add key="MotionControl:StageY:Min" value="-150" />
<add key="MotionControl:StageY:Max" value="150" />
<add key="MotionControl:StageY:Origin" value="0" />
<add key="MotionControl:StageY:SafePosition" value="0" />
<!-- 旋转轴配置(单位:度)| Rotary axis config (unit: degrees) -->
<add key="MotionControl:DetectorSwing:Min" value="-45" />
<add key="MotionControl:DetectorSwing:Max" value="45" />
<add key="MotionControl:DetectorSwing:Origin" value="0" />
<add key="MotionControl:DetectorSwing:SafePosition" value="0" />
<add key="MotionControl:DetectorSwing:Enabled" value="true" />
<add key="MotionControl:StageRotation:Min" value="-360" />
<add key="MotionControl:StageRotation:Max" value="360" />
<add key="MotionControl:StageRotation:Origin" value="0" />
<add key="MotionControl:StageRotation:SafePosition" value="0" />
<add key="MotionControl:StageRotation:Enabled" value="true" />
<add key="MotionControl:FixtureRotation:Min" value="-90" />
<add key="MotionControl:FixtureRotation:Max" value="90" />
<add key="MotionControl:FixtureRotation:Origin" value="0" />
<add key="MotionControl:FixtureRotation:SafePosition" value="0" />
<add key="MotionControl:FixtureRotation:Enabled" value="true" />
<!-- 几何原点(mm| Geometry origins (mm) -->
<add key="MotionControl:Geometry:SourceZOrigin" value="0" />
<add key="MotionControl:Geometry:DetectorZOrigin" value="600" />
<add key="MotionControl:Geometry:StageRotationCenterZ" value="300" />
<!-- 探测器摆动几何参数(mm| Detector swing geometry parameters (mm) -->
<!-- SwingPivotOffset: Pivot 相对于 DetectorZ 绝对坐标的 Z 方向偏移,正值表示 Pivot 在 DetectorZ_abs 上方 -->
<!-- SwingPivotOffset: Pivot Z offset relative to DetectorZ absolute, positive = above -->
<add key="MotionControl:Geometry:SwingPivotOffset" value="0" />
<!-- SwingRadius: Pivot 到探测器感光面中心的距离,为 0 时退化为无摆动模型 -->
<!-- SwingRadius: Distance from Pivot to detector active area center, 0 = no swing model -->
<add key="MotionControl:Geometry:SwingRadius" value="0" />
<!-- 探测器像素物理尺寸(mm),用于像素→载物台距离换算及坐标系补偿:mmPerPixel = PixelSize / M -->
<!-- Detector pixel physical size (mm), for pixel-to-stage mapping and coordinate compensation -->
<add key="MotionControl:Geometry:DetectorPixelSizeX" value="0.139" />
<add key="MotionControl:Geometry:DetectorPixelSizeY" value="0.139" />
<!-- 像素方向系数(+1 或 -1):对齐图像像素坐标方向与载物台运动方向 -->
<!-- Pixel direction coefficients (+1 or -1): align image pixel direction with stage movement -->
<add key="MotionControl:Geometry:PixelDirectionX" value="1" />
<add key="MotionControl:Geometry:PixelDirectionY" value="-1" />
<!-- 运行参数 | Runtime parameters -->
<add key="MotionControl:PollingInterval" value="100" />
<add key="MotionControl:DefaultVelocity" value="100" />
<!-- 射线源与探测器Z轴联动配置 | Source-Detector Z-axis linkage config -->
<add key="MotionControl:SourceDetectorZLinkage:Enabled" value="false" />
<add key="MotionControl:SourceDetectorZLinkage:TriggerThreshold" value="1.0" />
<add key="MotionControl:SourceDetectorZLinkage:SpeedPercent" value="100" />
</appSettings>
</configuration>