Nudging CY.POS with teletype

i’m trying to push (and pull) the position of an arc cycle with CY.POS:

X ADD 2 CY.POS 1
Y WRAP X 0 255
CY.POS 1 Y

this should push arc cycle 2 forward 2 steps with each ping but i’m seeing the value jump erratically between many seemingly random values and eventually stopping in one place (though ansible is still responsive and i can get things moving again with a touch of the arc).

something wrong with my code? can anyone else verify this behavior?

Reading and writing CY.POS is broken one works with 255 steps while the other used 64 steps. It is reported but not yet fixed.

Try reading one cycle and write the value to another one to understand the behaviour.

oooh i see. i guess i missed that.

well in the mean time i guess i’ll try using SCALE

1 Like

That looks like a 1 char change in the ansible code. Pretty easy to fix if you have the toolchain set up.

i can confirm that SCALE is a functional workaround :slight_smile:

X SCALE 0 255 0 64 CY.POS 1
Y ADD 2 WRAP X 0 64
CY.POS 1 Y
1 Like