summaryrefslogtreecommitdiff
path: root/configs/sim/locking_indexer.hal
blob: e9aa08ebc7c71b707a4780ee0ee1104a9142b0f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
# simulate a locking rotary axis B

loadrt timedelay names=timedelay_unlock
addf timedelay_unlock servo-thread

net B-unlock axis.4.unlock => timedelay_unlock.in
net B-is-unlocked timedelay_unlock.out => axis.4.is-unlocked

setp timedelay_unlock.on-delay 0.75
setp timedelay_unlock.off-delay 0.5