Stepper motor used for more than 360°
just a small problem concerning Manuel's short example with the whiskey-compass (used for turns with more than 360°). I tried the sioc for a small test. But the result I got : the motor turns until reaching 0° or 360°. Now it sprang back in opposite direction and starts again turning in the right direction depending on the fs.
Var 0001, Link USB_STEPPER, Device 3, Output 1, PosL 6, PosC 0, PosR 4, Type H
Var 0015, Link FSUIPC_IN, Offset $02CC, Length 8, Numbers 1 // Whiskey-Compas
L0 = V0015 / 10
L0 = L0 / 0.9
L1 = ROTATE 0 ,400 ,L0
V0001 = L0 // send degrees to stepper motor
any suggestions ?
Tags for this Thread