From 8fce4bd69ad98c32db1fa49cf45083537e003229 Mon Sep 17 00:00:00 2001 From: Ollie Copping Date: Mon, 18 May 2026 13:37:44 +0100 Subject: [PATCH 1/2] Fix M macro in slits screens --- bob/slits/slit-4axis-individual-embed.bob | 9 ++++----- bob/slits/slit-4axis-size-center-embed.bob | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/bob/slits/slit-4axis-individual-embed.bob b/bob/slits/slit-4axis-individual-embed.bob index 45e2c7a..d08c0d6 100644 --- a/bob/slits/slit-4axis-individual-embed.bob +++ b/bob/slits/slit-4axis-individual-embed.bob @@ -1,5 +1,4 @@ - slit-4axis-individual-embed @@ -219,7 +218,7 @@ X Center

$(P)

- Y:POS + :Y:POS $(IOC)
../pmac/motor_embed.bob @@ -232,7 +231,7 @@ Y Size

$(P)

- Y:NEG + :Y:NEG $(IOC)
../pmac/motor_embed.bob @@ -245,7 +244,7 @@ X Size

$(P)

- X:NEG + :X:NEG $(IOC)
../pmac/motor_embed.bob @@ -257,7 +256,7 @@ Y Center

$(P)

- X:POS + :X:POS $(IOC)
../pmac/motor_embed.bob diff --git a/bob/slits/slit-4axis-size-center-embed.bob b/bob/slits/slit-4axis-size-center-embed.bob index e827594..7b1430c 100644 --- a/bob/slits/slit-4axis-size-center-embed.bob +++ b/bob/slits/slit-4axis-size-center-embed.bob @@ -1,5 +1,4 @@ - slit-4axis-size-center-embed 750 @@ -30,7 +29,7 @@ X Center

$(P)

- X:CENTER + :X:CENTER $(IOC)
../pmac/motor_embed.bob @@ -43,7 +42,7 @@ Y Center

$(P)

- Y:CENTER + :Y:CENTER $(IOC)
../pmac/motor_embed.bob @@ -56,7 +55,7 @@ Y Size

$(P)

- Y:SIZE + :Y:SIZE $(IOC)
../pmac/motor_embed.bob @@ -69,7 +68,7 @@ X Size

$(P)

- X:SIZE + :X:SIZE $(IOC)
../pmac/motor_embed.bob From 5a903952b6ab8fc03374367abe90745297ee9ebb Mon Sep 17 00:00:00 2001 From: Ollie Copping Date: Mon, 18 May 2026 13:45:21 +0100 Subject: [PATCH 2/2] Fix label macros for embedded motors --- bob/slits/slit-4axis-individual-embed.bob | 38 +++++++++++++++++----- bob/slits/slit-4axis-size-center-embed.bob | 14 +++++--- 2 files changed, 40 insertions(+), 12 deletions(-) diff --git a/bob/slits/slit-4axis-individual-embed.bob b/bob/slits/slit-4axis-individual-embed.bob index d08c0d6..5b277b9 100644 --- a/bob/slits/slit-4axis-individual-embed.bob +++ b/bob/slits/slit-4axis-individual-embed.bob @@ -4,9 +4,10 @@

$(P)

+ 0 750 500 - + @@ -16,15 +17,16 @@ 4-Axis Slits - Individual 720 470 - + + - + - + @@ -188,14 +190,22 @@ 87 22 22 - + - + + + + + + 0 + 0 + 0 + true Label_3 @@ -204,14 +214,22 @@ 23 22 22 - + - + + + + + + 0 + 0 + 0 + true @@ -220,6 +238,7 @@

$(P)

:Y:POS $(IOC) +
../pmac/motor_embed.bob 230 @@ -233,6 +252,7 @@

$(P)

:Y:NEG $(IOC) + ../pmac/motor_embed.bob 230 @@ -246,6 +266,7 @@

$(P)

:X:NEG $(IOC) + ../pmac/motor_embed.bob 160 @@ -258,6 +279,7 @@

$(P)

:X:POS $(IOC) + ../pmac/motor_embed.bob 460 diff --git a/bob/slits/slit-4axis-size-center-embed.bob b/bob/slits/slit-4axis-size-center-embed.bob index 7b1430c..a0a61b6 100644 --- a/bob/slits/slit-4axis-size-center-embed.bob +++ b/bob/slits/slit-4axis-size-center-embed.bob @@ -1,9 +1,10 @@ slit-4axis-size-center-embed + 0 750 500 - + @@ -13,15 +14,16 @@ 4-Axis Slits - Size and Center 710 470 - + + - + - + @@ -31,6 +33,7 @@

$(P)

:X:CENTER $(IOC) + ../pmac/motor_embed.bob 15 @@ -44,6 +47,7 @@

$(P)

:Y:CENTER $(IOC) + ../pmac/motor_embed.bob 435 @@ -57,6 +61,7 @@

$(P)

:Y:SIZE $(IOC) + ../pmac/motor_embed.bob 435 @@ -70,6 +75,7 @@

$(P)

:X:SIZE $(IOC) + ../pmac/motor_embed.bob 15